diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-10-27 22:29:46 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-10-27 22:29:46 +0000 |
commit | 338eecf23761d8a27351a0657ead88ab54a8f9da (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /security/pgpin | |
parent | 2078f2a7ae31de5a4474e59c2d813276c225277f (diff) | |
download | ports-338eecf23761d8a27351a0657ead88ab54a8f9da.tar.gz ports-338eecf23761d8a27351a0657ead88ab54a8f9da.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
Notes
Notes:
svn path=/head/; revision=331810
Diffstat (limited to 'security/pgpin')
-rw-r--r-- | security/pgpin/Makefile | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile index 34217fff9f58..737b265eedce 100644 --- a/security/pgpin/Makefile +++ b/security/pgpin/Makefile @@ -11,37 +11,21 @@ EXTRACT_SUFX= .tgz MAINTAINER= dinoex@FreeBSD.org COMMENT= PGP International version - improved for use in IN-CA -NO_STAGE= yes - +USES= manpages WRKSRC= ${WRKDIR}/pgp263in/src MAKEFILE= makefile ALL_TARGET= freebsd-${ARCH} OS_CFLAGS="${CFLAGS}" -PGPLIB= ${PREFIX}/lib/pgpin +PGPLIB= ${STAGEDIR}${PREFIX}/lib/pgpin MAN1= pgpin.1 do-install: - cd ${WRKSRC}; ${INSTALL_PROGRAM} -c -o bin -g bin -m 555 \ - pgp ${PREFIX}/bin/pgpin - cd ${WRKSRC}/../doc; \ - ${INSTALL_MAN} -c -o bin -g bin -m 444 \ - pgp.1 ${PREFIX}/man/man1/pgpin.1 + ${INSTALL_PROGRAM} ${WRKSRC}/pgp ${STAGEDIR}${PREFIX}/bin/pgpin + ${INSTALL_MAN} ${WRKSRC}/../doc/pgp.1 ${STAGEDIR}${PREFIX}/man/man1/pgpin.1 -${MKDIR} ${PGPLIB} - ${CHMOD} 555 ${PGPLIB} - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - ${FILESDIR}/CHANGES ${PGPLIB} - cd ${WRKSRC}/..; \ - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - pgp.hlp doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}; \ - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - language.txt ${PGPLIB}/language.txt-dist; \ - [ -f ${PGPLIB}/language.txt ] || \ - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - language.txt ${PGPLIB}; \ - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - config.txt ${PGPLIB}/config.txt-dist; \ - [ -f ${PGPLIB}/config.txt ] || \ - ${INSTALL_DATA} -c -o bin -g bin -m 444 \ - config.txt ${PGPLIB} - -${PREFIX}/bin/pgpin > /dev/null 2>&1 # update .idx file + ${INSTALL_DATA} ${FILESDIR}/CHANGES ${PGPLIB}/ + cd ${WRKSRC}/.. && \ + ${INSTALL_DATA} pgp.hlp doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}/ + ${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt-dist + ${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt-dist .include <bsd.port.mk> |