2004-02-24 14:48:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2004/02/24 19:48:16 naddy Exp $
|
2001-03-23 11:30:16 -05:00
|
|
|
|
2003-05-27 10:54:43 -04:00
|
|
|
COMMENT= "GNU privacy guard - a free PGP replacement"
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2003-05-27 10:54:43 -04:00
|
|
|
DISTNAME= gnupg-1.2.2
|
2003-12-12 22:22:16 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1999-04-22 23:16:05 -04:00
|
|
|
CATEGORIES= security
|
2003-12-12 22:22:16 -05:00
|
|
|
|
2002-11-16 00:02:21 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \
|
2003-02-05 13:35:03 -05:00
|
|
|
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \
|
|
|
|
ftp://crypto.yashy.com/pub/cryptography/gnupg/ \
|
|
|
|
ftp://ftp.planetmirror.com/pub/gnupg/gnupg/ \
|
|
|
|
ftp://sunsite.dk/pub/security/gcrypt/gnupg/ \
|
1999-09-04 17:54:06 -04:00
|
|
|
ftp://ftp.linux.it/pub/mirrors/gnupg/gnupg/ \
|
2003-02-05 13:35:03 -05:00
|
|
|
ftp://pgp.iijlab.net/pub/pgp/gnupg/ \
|
|
|
|
ftp://ring.aist.go.jp/pub/net/gnupg/gnupg/
|
2001-07-12 12:07:17 -04:00
|
|
|
|
2003-06-03 06:21:33 -04:00
|
|
|
MASTER_SITES0= ftp://ftp.gnupg.dk/pub/contrib-dk/
|
|
|
|
|
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
|
|
|
|
2003-05-27 10:54:43 -04:00
|
|
|
# GPL
|
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
|
|
|
|
2003-05-27 10:54:43 -04:00
|
|
|
MODULES= gettext
|
2002-07-05 03:13:00 -04:00
|
|
|
|
2003-05-27 10:54:43 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.52
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/scripts
|
|
|
|
CONFIGURE_ARGS+= --disable-ldap
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-04-22 23:16:05 -04:00
|
|
|
|
2003-06-03 06:21:33 -04:00
|
|
|
FLAVORS= idea
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "idea"
|
|
|
|
PERMIT_PACKAGE_CDROM= "a patented algorithm"
|
|
|
|
PERMIT_DISTFILES_CDROM= "a patented algorithm"
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} idea.c.gz:0
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
ln -s ${WRKDIR}/idea.c ${WRKSRC}/cipher/idea.c
|
|
|
|
.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
|
|
|
|
2003-06-09 13:24:47 -04:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC}/checks && ${MAKE_PROGRAM}
|
|
|
|
|
1999-04-22 23:16:05 -04:00
|
|
|
.include <bsd.port.mk>
|