mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
eb9e65fbfd
This change should have no effect on FreeBSD uses, but it allows a local patch to be removed from dports.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: ache
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pgp
|
|
PORTVERSION= 2.6.3i
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= PACKETSTORM/crypt/pgp/V5.0
|
|
DISTNAME= pgp263is
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PGP International version - Public-Key encryption for the masses
|
|
|
|
ONLY_FOR_ARCHS= i386 alpha amd64 sparc64
|
|
NO_STAGE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
MAKEFILE= makefile
|
|
ALL_TARGET= freebsd-${ARCH:S/x86_64/amd64/}
|
|
MAKE_ENV= OS_CFLAGS="${CFLAGS}"
|
|
PGPLIB= ${PREFIX}/share/pgp
|
|
MAN1= pgp.1 pgp2.1
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${INSTALL_PROGRAM} -c -o bin -g bin -m 555 pgp ${PREFIX}/bin
|
|
cd ${WRKSRC}/../doc; \
|
|
${INSTALL_MAN} -c -o bin -g bin -m 444 pgp.1 ${PREFIX}/man/man1
|
|
-${MKDIR} ${PGPLIB}
|
|
${CHMOD} 555 ${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/pgp > /dev/null 2>&1 # update .idx file
|
|
|
|
post-extract:
|
|
cd ${WRKDIR}; ${TAR} -xf pgp263ii.tar; \
|
|
${RM} -f pgp263ii.tar
|
|
|
|
post-install:
|
|
@${CP} ${PREFIX}/man/man1/pgp.1 ${PREFIX}/man/man1/pgp2.1
|
|
|
|
.include <bsd.port.mk>
|