2000-05-29 08:17:54 +02:00
|
|
|
# New ports collection makefile for: pgp6
|
|
|
|
# Date created: 25 Jan 2000
|
|
|
|
# Whom: mike@fate.com
|
1995-07-08 01:50:10 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1995-07-08 01:50:10 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= pgp
|
2001-01-25 20:41:23 +01:00
|
|
|
PORTVERSION= 6.5.8
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
1996-11-17 08:58:10 +01:00
|
|
|
CATEGORIES= security
|
2001-01-25 20:41:23 +01:00
|
|
|
MASTER_SITES= ftp://ftp.no.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.fi.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.se.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.de.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.dk.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.nl.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.ch.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.jp.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.ru.pgpi.org/pub/pgp/${PORTVERSION:R}/${PORTVERSION}/
|
|
|
|
DISTNAME= pgpsrc658unix
|
1998-02-16 16:39:51 +01:00
|
|
|
|
2004-01-22 08:53:53 +01:00
|
|
|
MAINTAINER= rabbi@abditum.com
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Public-Key encryption for the masses
|
1998-02-16 16:39:51 +01:00
|
|
|
|
2001-01-25 20:41:23 +01:00
|
|
|
WRKSRC= ${WRKDIR}/pgpsrc
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_GMAKE= yes
|
1999-01-15 15:23:31 +01:00
|
|
|
|
2000-06-05 08:58:14 +02:00
|
|
|
MAN1= pgp.1
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/pgp
|
2000-06-05 08:58:14 +02:00
|
|
|
|
2001-11-07 09:32:49 +01:00
|
|
|
LATEST_LINK= pgp6
|
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-23 06:46:04 +01:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
|
|
|
.endif
|
|
|
|
|
2001-01-25 20:41:23 +01:00
|
|
|
# the distfile is actually a tar of three compressed tars and their
|
|
|
|
# signatures
|
2000-05-29 08:17:54 +02:00
|
|
|
post-extract:
|
2001-01-25 20:41:23 +01:00
|
|
|
cd ${WRKDIR} && \
|
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTNAME}.tar.gz \
|
|
|
|
${EXTRACT_AFTER_ARGS} && \
|
|
|
|
${RM} ${DISTNAME}.tar.gz ${DISTNAME}.tar.gz.sig
|
|
|
|
.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
|
|
|
|
if [ `id -u` = 0 ]; then \
|
|
|
|
${CHMOD} -R ug-s ${WRKDIR}; \
|
|
|
|
${CHOWN} -R 0:0 ${WRKDIR}; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
${CP} ${FILESDIR}/build.Makefile ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/clients/pgp/cmdline ; ${GMAKE} install ; \
|
|
|
|
${INSTALL_MAN} packaging/pgp-6.0/man/man1/pgp.1 ${PREFIX}/man/man1
|
1995-07-08 01:50:10 +02:00
|
|
|
|
2003-05-18 14:18:54 +02:00
|
|
|
.include <bsd.port.post.mk>
|