1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/security/enchive/Makefile
2020-02-11 21:03:56 +00:00

33 lines
753 B
Makefile

# $FreeBSD$
PORTNAME= enchive
PORTVERSION= 3.5
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>