pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/stud Provide a catman page where mdoc pages a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/09fd0f9b2f29
branches: trunk
changeset: 639696:09fd0f9b2f29
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Tue Sep 23 14:26:35 2014 +0000
description:
Provide a catman page where mdoc pages are not supported. PKGREVISION++
diffstat:
security/stud/Makefile | 22 ++++++++++++++++++----
security/stud/PLIST | 3 ++-
2 files changed, 20 insertions(+), 5 deletions(-)
diffs (68 lines):
diff -r bd6a28cb2b1a -r 09fd0f9b2f29 security/stud/Makefile
--- a/security/stud/Makefile Tue Sep 23 13:55:00 2014 +0000
+++ b/security/stud/Makefile Tue Sep 23 14:26:35 2014 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:37 tron Exp $
+# $NetBSD: Makefile,v 1.3 2014/09/23 14:26:35 fhajny Exp $
#
PKGNAME= stud-0.3p53
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MAINTAINER= jym%NetBSD.org@localhost
HOMEPAGE= http://github.com/bumptech/stud
@@ -13,10 +13,12 @@
DISTNAME= bumptech-stud-0.3-51-g0b88039
WRKSRC= ${WRKDIR}/bumptech-stud-0b88039
-USE_TOOLS+= gmake pax:run
+USE_TOOLS+= gmake nroff pax:run
BUILD_DEFS+= STUD_USER STUD_GROUP VARBASE
+.include "../../mk/bsd.prefs.mk"
+
STUD_USER?= stud
STUD_GROUP?= stud
# Default file that should contain the X509 certificates PEM file
@@ -32,7 +34,7 @@
EGDIR= ${PREFIX}/share/examples/stud
OWN_DIRS= ${STUD_HOME}
-INSTALLATION_DIRS+= bin ${EGDIR}
+INSTALLATION_DIRS+= bin ${EGDIR} ${PKGMANDIR}/cat8
FILES_SUBST+= STUD_HOME=${STUD_HOME:Q}
@@ -55,8 +57,20 @@
post-extract:
${CP} ${FILESDIR}/stud.conf ${WRKSRC}/stud.conf
+post-build:
+.if !empty(MANINSTALL:Mcatinstall)
+ cd ${WRKSRC} && nroff -mdoc stud.8 > stud.cat8
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/stud.conf ${DESTDIR}${EGDIR}/stud.conf
+.if !empty(MANINSTALL:Mcatinstall)
+. if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
+ ${INSTALL_MAN} ${WRKSRC}/stud.cat8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/stud.8
+. else
+ ${INSTALL_MAN} ${WRKSRC}/stud.cat8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/stud.0
+. endif
+.endif
.include "../../devel/libev/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff -r bd6a28cb2b1a -r 09fd0f9b2f29 security/stud/PLIST
--- a/security/stud/PLIST Tue Sep 23 13:55:00 2014 +0000
+++ b/security/stud/PLIST Tue Sep 23 14:26:35 2014 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2014/03/11 14:05:14 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/09/23 14:26:35 fhajny Exp $
bin/stud
+man/cat8/stud.0
man/man8/stud.8
share/examples/stud/stud.conf
Home |
Main Index |
Thread Index |
Old Index