ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gpgme/Makefile
Revision: 18055
Committed: Sat Mar 7 17:15:16 2015 UTC (9 years ago) by laffer1
File size: 1474 byte(s)
Log Message:
gpgme 1.5.3

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= gpgme
4 PORTVERSION= 1.5.3
5 CATEGORIES= security
6 MASTER_SITES= GNUPG/gpgme
7
8 MAINTAINER= ports@MidnightBSD.org
9 COMMENT= Library to make access to GnuPG easier
10
11 LICENSE= lgpl2.1
12
13 LIB_DEPENDS= libassuan.so:${PORTSDIR}/security/libassuan \
14 libgpg-error.so:${PORTSDIR}/security/libgpg-error
15
16 GNU_CONFIGURE= yes
17 USES= cpe gmake libtool tar:bzip2
18 USE_LDCONFIG= yes
19
20 CONFIGURE_ARGS= --includedir=${PREFIX}/include/gpgme
21 INSTALL_TARGET= install-strip
22
23 CPE_VENDOR= gnu
24
25 INFO= gpgme
26 PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
27
28 OPTIONS_DEFINE= DOCS UISERVER
29 OPTIONS_SINGLE= GNUPG
30 OPTIONS_SINGLE_GNUPG= GNUPG1 GNUPG2
31 OPTIONS_DEFAULT= GNUPG2 UISERVER
32
33 GNUPG1_DESC= Build gpgme library for GnuPG 1.x
34 GNUPG1_BUILD_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
35 GNUPG1_RUN_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
36
37 GNUPG2_DESC= Build gpgme library for GnuPG 2.x
38 GNUPG2_BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
39 GNUPG2_RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
40
41 UISERVER_DESC= GnuPG UI server support
42 UISERVER_CONFIGURE_ENABLE= fd-passing
43
44 .include <bsd.mport.options.mk>
45
46 .if !exists(${LOCALBASE}/bin/gpgsm)
47 CONFIGURE_ARGS+= --disable-gpgsm-test
48 .endif
49
50 post-patch:
51 @${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \
52 ${WRKSRC}/lang/cl/Makefile.in
53
54 post-install:
55 .if ${PORT_OPTIONS:MDOCS}
56 ${MKDIR} ${DOCSDIR}
57 ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
58 .endif
59
60 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H