Lines 21-26
Link Here
|
21 |
LIB_DEPENDS= assuan.0:${PORTSDIR}/security/libassuan \ |
21 |
LIB_DEPENDS= assuan.0:${PORTSDIR}/security/libassuan \ |
22 |
gpg-error.0:${PORTSDIR}/security/libgpg-error |
22 |
gpg-error.0:${PORTSDIR}/security/libgpg-error |
23 |
|
23 |
|
|
|
24 |
OPTIONS_DEFINE= DOCS UISERVER |
25 |
OPTIONS_SINGLE= GNUPG |
26 |
OPTIONS_SINGLE_GNUPG= GNUPG1 GNUPG2 |
27 |
OPTIONS_DEFAULT= GNUPG2 |
28 |
|
29 |
GNUPG1_DESC= Build gpgme library for GnuPG 1.x |
30 |
GNUPG2_DESC= Build gpgme library for GnuPG 2.x |
31 |
UISERVER_DESC= Enable GnuPG UI server support |
32 |
|
24 |
USE_BZIP2= yes |
33 |
USE_BZIP2= yes |
25 |
USE_AUTOTOOLS= libtool |
34 |
USE_AUTOTOOLS= libtool |
26 |
USE_GMAKE= yes |
35 |
USE_GMAKE= yes |
Lines 34-51
Link Here
|
34 |
PORTDOCS= AUTHORS ChangeLog COPYING COPYING.LESSER INSTALL \ |
43 |
PORTDOCS= AUTHORS ChangeLog COPYING COPYING.LESSER INSTALL \ |
35 |
NEWS README THANKS TODO |
44 |
NEWS README THANKS TODO |
36 |
|
45 |
|
37 |
OPTIONS= GNUPG1 "Use GNUPG 1.x instead of GNUPG 2.x" off \ |
46 |
.include <bsd.port.options.mk> |
38 |
UISERVER "Enable the GNUPG UI Server support" off |
|
|
39 |
|
40 |
.include <bsd.port.pre.mk> |
41 |
|
47 |
|
42 |
.if defined(WITH_GNUPG1) |
48 |
.if ${PORT_OPTIONS:MGNUPG1} |
43 |
BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 |
49 |
BUILD_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1 |
44 |
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 |
50 |
RUN_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1 |
45 |
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg \ |
51 |
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg \ |
46 |
--with-gpgsm=no \ |
52 |
--with-gpgsm=no \ |
47 |
--with-gpgconf=no |
53 |
--with-gpgconf=no |
48 |
.else |
54 |
.endif |
|
|
55 |
|
56 |
.if ${PORT_OPTIONS:MGNUPG2} |
49 |
BUILD_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg |
57 |
BUILD_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg |
50 |
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg |
58 |
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg |
51 |
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \ |
59 |
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \ |
Lines 57-63
Link Here
|
57 |
.endif |
65 |
.endif |
58 |
.endif |
66 |
.endif |
59 |
|
67 |
|
60 |
.if defined(WITH_UISERVER) |
68 |
.if ${PORT_OPTIONS:MUISERVER} |
61 |
CONFIGURE_ARGS+=--enable-fd-passing |
69 |
CONFIGURE_ARGS+=--enable-fd-passing |
62 |
.endif |
70 |
.endif |
63 |
|
71 |
|
Lines 74-82
Link Here
|
74 |
${WRKSRC}/lang/cl/Makefile.in |
82 |
${WRKSRC}/lang/cl/Makefile.in |
75 |
|
83 |
|
76 |
post-install: |
84 |
post-install: |
77 |
.if !defined(NOPORTDOCS) |
85 |
.if ${PORT_OPTIONS:MDOCS} |
78 |
${MKDIR} ${DOCSDIR} |
86 |
${MKDIR} ${DOCSDIR} |
79 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
87 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
80 |
.endif |
88 |
.endif |
81 |
|
89 |
|
82 |
.include <bsd.port.post.mk> |
90 |
.include <bsd.port.mk> |