blob: ee322305f4abba73d01209ced724c5f6d1e983d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $FreeBSD$
PORTNAME= enchive
PORTVERSION= 3.2
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
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
.include <bsd.port.mk>
|