1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/security/enchive/Makefile
2018-04-21 00:36:33 +00:00

33 lines
753 B
Makefile

# $FreeBSD$
PORTNAME= enchive
PORTVERSION= 3.4
CATEGORIES= security
MAINTAINER= acm@FreeBSD.org
COMMENT= Tool to encrypt files to yourself for long-term archival
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/UNLICENSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= skeeto
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/UNLICENSE \
man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|^CC|CC?|g' -e 's|^CFLAGS|CFLAGS?|g' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}/${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/UNLICENSE ${STAGEDIR}/${DATADIR}/UNLICENSE
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${MANPREFIX}/man/man1
.include <bsd.port.mk>