View | Details | Raw Unified | Return to bug 75567
Collapse All | Expand All

(-)Makefile Tue Dec 28 11:07:29 2004 (-9 / +19 lines)
Lines 20-33 Link Here
20
LIB_DEPENDS=   gcrypt.12:${PORTSDIR}/security/libgcrypt \
20
LIB_DEPENDS=   gcrypt.12:${PORTSDIR}/security/libgcrypt \
21
               gpg-error.1:${PORTSDIR}/security/libgpg-error
21
               gpg-error.1:${PORTSDIR}/security/libgpg-error
22
22
23
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.8)
24
LIB_DEPENDS+=  opencdk.8:${PORTSDIR}/security/opencdk
25
.endif
26
27
.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.2)
28
LIB_DEPENDS+=  tasn1.2:${PORTSDIR}/security/libtasn1
29
.endif
30
31
CONFLICTS=     gnutls-devel-[0-9]*
23
CONFLICTS=     gnutls-devel-[0-9]*
32
24
33
USE_GPG?=      yes
25
USE_GPG?=      yes
Lines 47-52 Link Here
47
DOCS=          AUTHORS NEWS README THANKS doc/tex/*.ps
39
DOCS=          AUTHORS NEWS README THANKS doc/tex/*.ps
48
EXAMPLES=      doc/examples/*.c
40
EXAMPLES=      doc/examples/*.c
49
41
42
.include <bsd.port.pre.mk>
43
44
.if exists(${LOCALBASE}/lib/libopencdk.so) && !defined(WITHOUT_OPENCDK)
45
WITH_OPENCDK=  yes
46
.endif
47
48
.if exists(${LOCALBASE}/lib/libtasn1.so) && !defined(WITHOUT_LIBTASN1)
49
WITH_LIBTASN1= yes
50
.endif
51
52
.if defined(WITH_OPENCDK)
53
LIB_DEPENDS+=  opencdk.8:${PORTSDIR}/security/opencdk
54
.endif
55
56
.if defined(WITH_LIBTASN1)
57
LIB_DEPENDS+=  tasn1.2:${PORTSDIR}/security/libtasn1
58
.endif
59
50
post-install:
60
post-install:
51
       @${MKDIR} ${EXAMPLESDIR}
61
       @${MKDIR} ${EXAMPLESDIR}
52
       cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
62
       cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
Lines 55-58 Link Here
55
       cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
65
       cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
56
.endif
66
.endif
57
67
58
.include <bsd.port.mk>
68
.include <bsd.port.post.mk>

Return to bug 75567