2002-07-19 15:27:42 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2002/07/19 19:27:42 fgsch Exp $
|
2001-03-23 11:30:16 -05:00
|
|
|
|
|
|
|
COMMENT= 'GNU privacy guard - a free PGP replacement'
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2002-07-05 03:13:00 -04:00
|
|
|
DISTNAME= gnupg-1.0.7
|
2001-05-23 11:28:49 -04:00
|
|
|
PKGNAME= ${DISTNAME}
|
1999-04-22 23:16:05 -04:00
|
|
|
CATEGORIES= security
|
1999-09-04 17:54:06 -04:00
|
|
|
MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/gnupg/ \
|
|
|
|
ftp://ftp.progsoc.uts.edu.au/pub/gnupg/gnupg/ \
|
2001-03-03 12:17:28 -05:00
|
|
|
ftp://openbsd.rug.ac.be/pub/gcrypt/gnupg/ \
|
1999-09-04 17:54:06 -04:00
|
|
|
ftp://sunsite.auc.dk/pub/security/gcrypt/gnupg/ \
|
|
|
|
ftp://ftp.linux.it/pub/mirrors/gnupg/gnupg/ \
|
|
|
|
ftp://pgp.iijlab.net/pub/gnupg/gnupg/ \
|
|
|
|
ftp://ring.aist.go.jp/pub/net/gnupg/gnupg/ \
|
|
|
|
ftp://sunsite.icm.edu.pl/pub/security/gcrypt/gnupg/ \
|
|
|
|
ftp://ftp.stacken.kth.se/pub/crypto/gnupg/gnupg/ \
|
2001-03-03 12:17:28 -05:00
|
|
|
ftp://ftp.net.lut.ac.uk/gcrypt/gnupg/ \
|
|
|
|
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/
|
2001-07-12 12:07:17 -04:00
|
|
|
|
2001-12-09 07:51:40 -05:00
|
|
|
MASTER_SITES0= ftp://ftp.ruhr-uni-bochum.de/mirrors/ftp.gnupg.org/pub/gcrypt/contrib/ \
|
2001-07-12 12:07:17 -04:00
|
|
|
ftp://ftp.uni-bielefeld.de/pub/crypto/replay/mirror/ftp.pgp.net/gnupgp/contrib/ \
|
2001-12-09 07:51:40 -05:00
|
|
|
ftp://ftp.hacktic.nl/pub/crypto/mirror/ftp.gnupg.org/contrib/ \
|
|
|
|
ftp://ftp.fh-schmalkalden.de/pub/dfncert/crypt/gcrypt/contrib/
|
|
|
|
|
2001-05-23 11:28:49 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2000-06-29 02:06:31 -04:00
|
|
|
HOMEPAGE= http://www.gnupg.org/
|
|
|
|
|
2001-12-09 07:51:40 -05:00
|
|
|
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2000-03-10 21:54:18 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-07-05 03:13:00 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
MODULES= gettext
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/scripts
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2001-12-09 07:51:40 -05:00
|
|
|
REGRESS_TARGET= check
|
|
|
|
|
2001-03-03 12:17:28 -05:00
|
|
|
FLAVORS= idea
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "idea"
|
2001-03-05 13:54:06 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "a patented algorithm"
|
|
|
|
PERMIT_PACKAGE_FTP= "a patented algorithm"
|
|
|
|
PERMIT_DISTFILES_CDROM= "a patented algorithm"
|
|
|
|
PERMIT_DISTFILES_FTP= "a patented algorithm"
|
2001-03-03 12:17:28 -05:00
|
|
|
# NB: idea.c is found in ${MASTER_SITES0}
|
2001-04-17 16:53:04 -04:00
|
|
|
DISTFILES+= idea.c:0
|
2002-07-19 15:27:42 -04:00
|
|
|
PATCH_LIST= idea-* patch-*
|
2001-03-03 12:17:28 -05:00
|
|
|
pre-patch:
|
|
|
|
@cp ${DISTDIR}/idea.c ${WRKSRC}/cipher
|
|
|
|
.endif
|
|
|
|
|
2001-03-05 13:54:06 -05:00
|
|
|
GNUPGDOCFILES= README AUTHORS COPYING THANKS TODO BUGS \
|
|
|
|
doc/DETAILS doc/FAQ doc/OpenPGP doc/HACKING doc/faq.html
|
|
|
|
|
1999-04-22 23:16:05 -04:00
|
|
|
post-install:
|
2001-03-05 13:54:06 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnupg
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${GNUPGDOCFILES} \
|
|
|
|
${PREFIX}/share/doc/gnupg
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2002-07-05 03:13:00 -04:00
|
|
|
# XXX workaround gcc bugs on sparc64
|
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
|
|
CFLAGS+=-O0
|
|
|
|
.endif
|
|
|
|
|
1999-04-22 23:16:05 -04:00
|
|
|
.include <bsd.port.mk>
|