aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-01-12 02:33:58 +0800
committerjohans <johans@FreeBSD.org>2014-01-12 02:33:58 +0800
commitbff6598ff65c00a6bcb4ecdc7d4406adf82802c2 (patch)
tree7b56cfc3ea340c61d7e2ac2cf63277851d8e4029 /security
parentb70f510cf4d860add201de3b78883168e1a61c4c (diff)
downloadfreebsd-ports-graphics-bff6598ff65c00a6bcb4ecdc7d4406adf82802c2.tar.gz
freebsd-ports-graphics-bff6598ff65c00a6bcb4ecdc7d4406adf82802c2.tar.zst
freebsd-ports-graphics-bff6598ff65c00a6bcb4ecdc7d4406adf82802c2.zip
- Enable stage support
- Correct perl path - Bump PORTREVISION
Diffstat (limited to 'security')
-rw-r--r--security/signing-party/Makefile35
1 files changed, 15 insertions, 20 deletions
diff --git a/security/signing-party/Makefile b/security/signing-party/Makefile
index f2597fe89af..9fd5348d448 100644
--- a/security/signing-party/Makefile
+++ b/security/signing-party/Makefile
@@ -3,7 +3,7 @@
PORTNAME= signing-party
PORTVERSION= 1.1.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/signing-party/ \
${MASTER_SITE_DEBIAN}
@@ -26,26 +26,21 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//}
CONFLICTS_INSTALL=sig2dot-[0-9]* springgraph-[0-9]*
-REINPLACE_ARGS= -i ''
-USE_GMAKE= yes
-USES= perl5
+USES= perl5 gmake shebangfix
+SHEBANG_FILES= ${SCRIPTS}
+BINS= keyanalyze/keyanalyze keyanalyze/process_keys \
+ keyanalyze/pgpring/pgppubring
SCRIPTS= caff/caff caff/pgp-clean caff/pgp-fixkey gpglist/gpglist \
gpgsigs/gpgsigs gpg-key2ps/gpg-key2ps \
gpg-mailkeys/gpg-mailkeys keylookup/keylookup \
sig2dot/sig2dot springgraph/springgraph \
- gpgparticipants/gpgparticipants \
- keyanalyze/keyanalyze keyanalyze/process_keys \
- keyanalyze/pgpring/pgppubring
-MANUALS1= ${SCRIPTS:S/$/.1/}
+ gpgparticipants/gpgparticipants
+MANUALS1= ${SCRIPTS:S/$/.1/} ${BINS:S/$/.1/}
EXAMPLES= caff/caffrc.sample gpg-mailkeys/example.gpg-mailkeysrc
-PLIST_FILES= ${SCRIPTS:T:S|^|bin/|} ${EXAMPLES:T:S|^|%%EXAMPLESDIR%%/|}
-PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= *
-MAN1= ${MANUALS1:T}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/doc/signing-party/caff/caffrc\.sample|${EXAMPLESDIR}/caffrc.sample|' \
${WRKSRC}/caff/caff
@@ -61,13 +56,13 @@ post-patch:
@cd ${WRKSRC}/keyanalyze/pgpring && ${MV} pgpring.1 pgppubring.1
do-install:
- ${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${PREFIX}/bin
- ${INSTALL_MAN} ${MANUALS1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/caff
- ${INSTALL_DATA} ${WRKSRC}/caff/README* ${DOCSDIR}/caff
-.endif
+ @${INSTALL_PROGRAM} ${BINS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_MAN} ${MANUALS1:S|^|${WRKSRC}/|} \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/caff
+ @${INSTALL_DATA} ${WRKSRC}/caff/README* ${STAGEDIR}${DOCSDIR}/caff
.include <bsd.port.mk>