diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-09-23 14:26:35 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-09-23 14:26:35 +0000 |
commit | 178d24416edbcab4715cc157c77a58638926b062 (patch) | |
tree | d7ffccc0ce852e37163ec8c32a429c8d97845cfd /security | |
parent | efaa5bdecec593528ce065a58fd78f6bcdba4990 (diff) | |
download | pkgsrc-178d24416edbcab4715cc157c77a58638926b062.tar.gz |
Provide a catman page where mdoc pages are not supported. PKGREVISION++
Diffstat (limited to 'security')
-rw-r--r-- | security/stud/Makefile | 22 | ||||
-rw-r--r-- | security/stud/PLIST | 3 |
2 files changed, 20 insertions, 5 deletions
diff --git a/security/stud/Makefile b/security/stud/Makefile index de2275575df..8fa3b47be63 100644 --- a/security/stud/Makefile +++ b/security/stud/Makefile @@ -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 HOMEPAGE= http://github.com/bumptech/stud @@ -13,10 +13,12 @@ MASTER_SITES= http://rohara.fedorapeople.org/stud/ 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 @@ RCD_SCRIPTS= stud 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 @@ CONF_FILES+= ${EGDIR}/stud.conf ${PKG_SYSCONFDIR}/stud.conf 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 --git a/security/stud/PLIST b/security/stud/PLIST index 54ee8c19aba..de5756903d3 100644 --- a/security/stud/PLIST +++ b/security/stud/PLIST @@ -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 |