summaryrefslogtreecommitdiff
path: root/security/pgp6/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-02-16 15:39:51 +0000
committerMark Murray <markm@FreeBSD.org>1998-02-16 15:39:51 +0000
commit6d329d3f445be6404453e959da4b8b1d33b21927 (patch)
tree4b38e6b7eae041f873081b6a7cb08057cd29055d /security/pgp6/Makefile
parentpppload has been moved to ports/net. (diff)
PGP v5.0i (international version). I cannot get the USA code, so if
you NA.Citizens want to make a USA version, please go ahead and frob this port. :-)
Notes
Notes: svn path=/head/; revision=9761
Diffstat (limited to '')
-rw-r--r--security/pgp6/Makefile94
1 files changed, 19 insertions, 75 deletions
diff --git a/security/pgp6/Makefile b/security/pgp6/Makefile
index d039196ae4c2..d102f3f1a78c 100644
--- a/security/pgp6/Makefile
+++ b/security/pgp6/Makefile
@@ -1,83 +1,27 @@
-# New ports collection makefile for: pgp
-# Version required: MIT 2.6.2 / International 2.6.3ia
+# New ports collection makefile for: pgp5
+# Version required: International PGP 5.0
# International PGP homepage is http://www.ifi.uio.no/pgp/
#
-# Date created: 8 Jul 1995
-# Whom: ache
+# Date created: 10 Feb 1998
+# Whom: markm
#
-# $Id: Makefile,v 1.19 1997/02/02 21:45:31 ache Exp $
+# $Id$
#
-# Pick an initial default, else it doesn't get set in the INDEX.
-DISTNAME= pgp262s
+DISTNAME= pgp50i
+PKGNAME= pgp-5.0i
CATEGORIES= security
-
-MAINTAINER= ache@FreeBSD.ORG
-
-# Need to define USA_RESIDENT to YES or NO
-IS_INTERACTIVE= YES
-RESTRICTED= "Crypto"
-MAKEFILE= makefile
-ALL_TARGET= freebsd
-PGPLIB= ${PREFIX}/lib/pgp
-MAN1= pgp.1
-
-do-install:
- cd ${WRKSRC}; install -c -o bin -g bin -m 555 pgp ${PREFIX}/bin
- cd ${WRKSRC}/../doc; \
- install -c -o bin -g bin -m 444 pgp.1 ${PREFIX}/man/man1
- -mkdir -p ${PGPLIB}
- chown bin.bin ${PGPLIB}
- chmod 555 ${PGPLIB}
- cd ${WRKSRC}/..; \
- install -c -o bin -g bin -m 444 pgp.hlp \
- doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}; \
- [ -f ${PGPLIB}/language.txt ] || \
- install -c -o bin -g bin -m 444 language.txt ${PGPLIB}; \
- [ -f ${PGPLIB}/config.txt ] || \
- install -c -o bin -g bin -m 444 config.txt ${PGPLIB}
- -${PREFIX}/bin/pgp > /dev/null 2>&1 # update .idx file
-
-.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
-pre-fetch:
- @echo
- @echo You must set variable USA_RESIDENT to YES, if you are USA resident
- @echo or to NO, if you aren\'t USA resident to build this package
- @false
-.elif defined(USA_RESIDENT)
-.if ${USA_RESIDENT} == YES
-DISTNAME= pgp262s
-PKGNAME= pgp-2.6.2
-MASTER_SITES= ftp://utopia.hacktic.nl/pub/replay/pub/pgp/unix/ \
- ftp://sable.ox.ac.uk/pub/crypto/pgp/unix/
-EXTRACT_SUFX= .zip
-WRKSRC= ${WRKDIR}/src
-BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
-BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
-LIB_DEPENDS+= rsaref\\.2\\.0:${PORTSDIR}/security/rsaref
-EXTRACT_CMD= unzip
-EXTRACT_ARGS= -q
-FILESDIR= ${.CURDIR}/files.usa
-PATCHDIR= ${.CURDIR}/patches.usa
-
-post-extract:
- cd ${WRKDIR}; $(EXTRACT_CMD) $(EXTRACT_ARGS) -aa $(DISTNAME)i
- cd ${WRKDIR}; rm -f *.zip
-
-.else
-DISTNAME= pgp263is
-PKGNAME= pgp-2.6.3ia
-MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \
- ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
-WRKSRC= ${WRKDIR}/src
-FILESDIR= ${.CURDIR}/files.non_usa
-PATCHDIR= ${.CURDIR}/patches.non_usa
-
-post-extract:
- cd ${WRKDIR}; $(EXTRACT_CMD) -xf pgp263ii.tar; \
- rm -f pgp263ii.tar
-
-.endif
-.endif
+MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/5.0/international/unix/ \
+ ftp.doc.ic.ac.uk/pub/Mirrors/ftp.ifi.uio.no/pub/pgp/5.0/international/unix/
+EXTRACT_SUFX= -unix-src.tar.gz
+
+MAINTAINER= markm@FreeBSD.ORG
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+MAN1= pgp.1 pgpe.1 pgpk.1 pgps.1 pgpv.1
+MAN5= pgp.cfg.5
+MAN7= pgp-integration.7 pgp-intro.7
.include <bsd.port.mk>