Lines 1-21
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= signify |
3 |
PORTNAME= signify |
4 |
PORTVERSION= 1 |
4 |
PORTVERSION= 0.4.2 |
|
|
5 |
DISTVERSIONPREFIX= v |
6 |
PORTEPOCH= 1 |
5 |
CATEGORIES= security |
7 |
CATEGORIES= security |
6 |
MASTER_SITES= http://www.fefe.de/signify/ |
|
|
7 |
DISTNAME= ${PORTNAME} |
8 |
|
8 |
|
9 |
MAINTAINER= pi@FreeBSD.org |
9 |
MAINTAINER= t@tobik.me |
10 |
COMMENT= OpenBSD signify ported by Felix von Leitner |
10 |
COMMENT= Create and verify cryptographic signatures |
11 |
|
11 |
|
12 |
LICENSE= BSD2CLAUSE |
12 |
# outils includes signify from OpenBSD's base system which is under an |
|
|
13 |
# ISC license. The parts of liboutils that signify uses are licensed |
14 |
# under ISCL/BSD3/BSD4. |
15 |
LICENSE= ISCL BSD4CLAUSE BSD3CLAUSE |
16 |
LICENSE_COMB= multi |
17 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
18 |
|
14 |
USES= gmake compiler:c11 |
19 |
# gmake is required on FreeBSD 9.3, on FreeBSD >= 10 we get away with |
|
|
20 |
# regular make with tiny changes in the Makefile. |
21 |
USES= gmake |
22 |
USE_GITHUB= yes |
23 |
GH_ACCOUNT= chneukirchen |
24 |
GH_PROJECT= outils |
15 |
|
25 |
|
16 |
PLIST_FILES= bin/signify |
26 |
ALL_TARGET= src/usr.bin/signify/signify |
17 |
|
27 |
|
|
|
28 |
post-patch: |
29 |
# sys/cdefs.h and sys/limits.h override is not needed on FreeBSD |
30 |
${RM} ${WRKSRC}/src/liboutils/include/sys/cdefs.h |
31 |
${RM} ${WRKSRC}/src/liboutils/include/sys/limits.h |
32 |
# Replace /etc/signify paths in man page and signify's safe path to |
33 |
# point to /usr/local/etc/signify |
34 |
${REINPLACE_CMD} 's|/etc/signify/|${ETCDIR}/|g' \ |
35 |
${WRKSRC}/src/usr.bin/signify/signify.c \ |
36 |
${WRKSRC}/src/usr.bin/signify/signify.1 |
37 |
|
18 |
do-install: |
38 |
do-install: |
19 |
${INSTALL_PROGRAM} ${WRKSRC}/signify ${STAGEDIR}${PREFIX}/bin |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/src/usr.bin/signify/signify \ |
|
|
40 |
${STAGEDIR}${PREFIX}/bin |
41 |
${INSTALL_DATA} ${WRKSRC}/src/usr.bin/signify/signify.1 \ |
42 |
${STAGEDIR}${PREFIX}/man/man1 |
43 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
44 |
${INSTALL_DATA} ${FILESDIR}/openbsd-*.pub \ |
45 |
${STAGEDIR}${ETCDIR} |
20 |
|
46 |
|
21 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |