diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
commit | a9ff4b49c10701f4d22eb1a173e03064089672bb (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /security/pgpin | |
parent | aa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff) | |
download | freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
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> |