summaryrefslogtreecommitdiff
path: root/security/pgp6/Makefile
blob: b4e78b051de5ee236cf3915c315ae8255698a902 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	pgp6
# Date created:				25 Jan 2000
# Whom:					mike@fate.com
#
# $FreeBSD$
#

PORTNAME=	pgp
PORTVERSION=	6.5.8
CATEGORIES=	security
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

MAINTAINER=	mike@fate.com

WRKSRC=		${WRKDIR}/pgpsrc
USE_GMAKE=	yes

RESTRICTED=	"Crypto"

MAN1=		pgp.1

LATEST_LINK=	pgp6

# the distfile is actually a tar of three compressed tars and their
# signatures
post-extract:
	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

.include <bsd.port.mk>