openbsd-ports/security/p5-Module-Signature/Makefile
ajacoutot df4e1203e4 Bump after recent cpan.port.mk change.
ok jasper@
(final commit)
2010-12-03 11:46:46 +00:00

43 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2010/12/03 11:46:47 ajacoutot Exp $
COMMENT = module signature file manipulation
DISTNAME = Module-Signature-0.66
REVISION = 0
CATEGORIES = security
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# CC0 creative commons
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = cpan
USE_GROFF = Yes
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = security/gnupg
# Enable signature check by the module itself during make regress.
# Thus the regression test only works on an unpatched port as it
# verifies the signatures of the files in wrkdist directory. The
# public keys for that are added to the key ring during make configure.
# This does not provide additional security as the keys are shipped
# together with the source. It just ensures that the port works fine.
GNUPGHOME = ${WRKDIR}/gnupg
CONFIGURE_ENV = GNUPGHOME=${GNUPGHOME}
MAKE_ENV = GNUPGHOME=${GNUPGHOME} TEST_SIGNATURE=1
pre-configure:
mkdir -p -m 0700 ${GNUPGHOME}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/p5-Module-Signature
.for f in *.pub
${INSTALL_DATA} ${WRKDIST}/${f} ${PREFIX}/share/p5-Module-Signature
.endfor
.include <bsd.port.mk>