freebsd-ports/security/signing-party/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

74 lines
2.5 KiB
Makefile

# New ports collection makefile for: signing-party
# Date created: 13 September 2005
# Whom: johans
#
# $FreeBSD$
#
PORTNAME= signing-party
PORTVERSION= 1.1.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/signing-party/ \
${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/s/signing-party
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHFILES= ${PORTNAME}_${PORTVERSION}-1.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= johans@FreeBSD.org
COMMENT= Various OpenPGP related tools
RUN_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1 \
${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
${SITE_PERL}/GnuPG/Interface.pm:${PORTSDIR}/security/p5-GnuPG-Interface \
${SITE_PERL}/Mail/Util.pm:${PORTSDIR}/mail/p5-Mail-Tools \
${SITE_PERL}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Convert/Recode.pm:${PORTSDIR}/converters/p5-Convert-Recode \
${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//}
REINPLACE_ARGS= -i ''
USE_GMAKE= yes
USE_PERL5= yes
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/pgpring
MANUALS1= ${SCRIPTS: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}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/doc/signing-party/caff/caffrc\.sample|${EXAMPLESDIR}/caffrc.sample|' \
${WRKSRC}/caff/caff
@${REINPLACE_CMD} -e 's|/usr/bin/pinentry-gtk-2|${LOCALBASE}/bin/pinentry-gtk-2|' \
${WRKSRC}/caff/README.gpg-agent
@${REINPLACE_CMD} -e 's|make|${GMAKE}|' \
${WRKSRC}/gpgwrap/Makefile \
${WRKSRC}/keyanalyze/Makefile
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
.include <bsd.port.mk>