openbsd-ports/security/gnupg/Makefile
mark e05b6552dc gnupg-1.2.1 update
tested on macppc, i386

ok reinhard@
2002-11-16 05:02:21 +00:00

55 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.36 2002/11/16 05:02:21 mark Exp $
COMMENT= 'GNU privacy guard - a free PGP replacement'
DISTNAME= gnupg-1.2.1
PKGNAME= ${DISTNAME}
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \
ftp://ftp.progsoc.uts.edu.au/pub/gnupg/gnupg/ \
ftp://openbsd.rug.ac.be/pub/gcrypt/gnupg/ \
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/ \
ftp://ftp.net.lut.ac.uk/gcrypt/gnupg/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
HOMEPAGE= http://www.gnupg.org/
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.own.mk>
MODULES= gettext
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/scripts
REGRESS_TARGET= check
GNUPGDOCFILES= README AUTHORS COPYING THANKS TODO BUGS \
doc/DETAILS doc/FAQ doc/OpenPGP doc/HACKING doc/faq.html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnupg
cd ${WRKSRC}; ${INSTALL_DATA} ${GNUPGDOCFILES} \
${PREFIX}/share/doc/gnupg
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+=-O0
.endif
.include <bsd.port.mk>