2011-08-30 02:43:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/08/30 06:43:07 ajacoutot Exp $
|
2001-07-29 14:27:26 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= GnuPG Made Easy
|
2001-07-29 14:27:26 -04:00
|
|
|
|
2011-08-30 02:43:07 -04:00
|
|
|
DISTNAME= gpgme-1.3.1
|
2001-07-29 14:27:26 -04:00
|
|
|
CATEGORIES= security devel
|
2011-08-30 02:43:07 -04:00
|
|
|
|
|
|
|
SHARED_LIBS += gpgme 18.0 # 19.0
|
|
|
|
SHARED_LIBS += gpgme-pthread 18.0 # 19.0
|
2001-07-29 14:27:26 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnupg.org/gpgme.html
|
|
|
|
|
2011-08-30 02:43:07 -04:00
|
|
|
# GPLv2 - LGPLv2.1
|
2001-07-29 14:27:26 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-08-30 02:43:07 -04:00
|
|
|
|
|
|
|
WANTLIB += assuan gpg-error
|
2001-07-29 14:27:26 -04:00
|
|
|
|
2002-12-15 09:48:09 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/
|
2011-08-30 02:43:07 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-07-29 14:27:26 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2011-08-30 02:43:07 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gpg=${LOCALBASE}/bin/gpg \
|
|
|
|
--with-gpgsm=no \
|
|
|
|
--with-gpgconf=no \
|
|
|
|
--with-g13=no \
|
|
|
|
--without-pth \
|
|
|
|
--without-pth-test
|
2001-07-29 14:27:26 -04:00
|
|
|
|
2005-03-13 08:01:26 -05:00
|
|
|
MODULES= devel/gettext
|
2010-11-26 02:51:00 -05:00
|
|
|
RUN_DEPENDS= security/gnupg
|
2004-06-26 03:35:05 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2011-08-30 02:43:07 -04:00
|
|
|
LIB_DEPENDS= security/libgpg-error>=1.4 \
|
|
|
|
security/libassuan
|
|
|
|
|
|
|
|
# needed for the regression tests
|
|
|
|
USE_GMAKE= Yes
|
2001-07-29 14:27:26 -04:00
|
|
|
|
2005-12-24 17:32:53 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2011-08-30 02:43:07 -04:00
|
|
|
pre-configure:
|
|
|
|
perl -pi -e 's,-lpthread,-pthread,g' \
|
|
|
|
${WRKSRC}/{configure,src/Makefile.in,src/gpgme-config.in}
|
|
|
|
|
2001-07-29 14:27:26 -04:00
|
|
|
.include <bsd.port.mk>
|