aboutsummaryrefslogtreecommitdiff
path: root/security/gpgme/Makefile
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-22 07:07:42 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-22 07:07:42 +0000
commitdcf209ebbf03953c95ded6ab4e4e33f9848b327c (patch)
treec9d60b813aa64ac4e1bf9f0f20982530b4778f62 /security/gpgme/Makefile
parent1e0521cde78a4beda53da2eca65c0c06af6273b4 (diff)
downloadports-dcf209ebbf03953c95ded6ab4e4e33f9848b327c.tar.gz
ports-dcf209ebbf03953c95ded6ab4e4e33f9848b327c.zip
Notes
Diffstat (limited to 'security/gpgme/Makefile')
-rw-r--r--security/gpgme/Makefile30
1 files changed, 4 insertions, 26 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 578ebf3508d5..b618e3fa388d 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -2,13 +2,9 @@
# $FreeBSD$
PORTNAME= gpgme
-PORTVERSION= 1.4.3
-PORTREVISION= 1
+PORTVERSION= 1.5.0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= gpgme
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= GNUPG/gpgme
MAINTAINER= jhale@FreeBSD.org
COMMENT= Library to make access to GnuPG easier
@@ -22,8 +18,7 @@ GNU_CONFIGURE= yes
USES= gmake libtool:keepla tar:bzip2
USE_LDCONFIG= yes
-CONFIGURE_ARGS= --includedir=${PREFIX}/include/gpgme \
- --with-g13=no
+CONFIGURE_ARGS= --includedir=${PREFIX}/include/gpgme
INFO= gpgme
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
@@ -36,32 +31,14 @@ OPTIONS_DEFAULT= GNUPG2 UISERVER
GNUPG1_DESC= Build gpgme library for GnuPG 1.x
GNUPG1_BUILD_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
GNUPG1_RUN_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
-GNUPG1_CONFIGURE_ON= --with-gpg=${LOCALBASE}/bin/gpg \
- --with-gpgconf=no \
- --with-gpgsm=no
GNUPG2_DESC= Build gpgme library for GnuPG 2.x
GNUPG2_BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
GNUPG2_RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
-GNUPG2_CONFIGURE_ON= --with-gpg=${LOCALBASE}/bin/gpg2 \
- --with-gpgconf=${LOCALBASE}/bin/gpgconf
UISERVER_DESC= GnuPG UI server support
UISERVER_CONFIGURE_ENABLE= fd-passing
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUPG2}
-.if exists(${LOCALBASE}/bin/gpgsm)
-CONFIGURE_ARGS+=--with-gpgsm=${LOCALBASE}/bin/gpgsm
-.else
-CONFIGURE_ARGS+=--with-gpgsm=no
-.endif
-.endif
-
-verify: checksum
- gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT} \
@@ -74,5 +51,6 @@ post-patch:
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgpgme*.so.*
.include <bsd.port.mk>