summaryrefslogtreecommitdiff
path: root/security/enchive/Makefile
blob: 19bee2719c498dbb446e92b7e80954ccfe08900c (plain)
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
31

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>