Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dico |
8 |
PORTNAME= dico |
9 |
PORTVERSION= 2.1 |
9 |
PORTVERSION= 2.2 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= net textproc |
10 |
CATEGORIES= net textproc |
12 |
MASTER_SITES= ${MASTER_SITE_GNU} |
11 |
MASTER_SITES= ${MASTER_SITE_GNU} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 28-34
Link Here
|
28 |
|
27 |
|
29 |
OPTIONS= PYTHON "With PYTHON support" on \ |
28 |
OPTIONS= PYTHON "With PYTHON support" on \ |
30 |
GUILE "With GUILE support" on \ |
29 |
GUILE "With GUILE support" on \ |
|
|
30 |
PCRE "With PCRE support" on \ |
31 |
GSASL "With GSASL support" off \ |
31 |
GSASL "With GSASL support" off \ |
|
|
32 |
PAM "With PAM support" off \ |
32 |
LDAP "With LDAP support" off |
33 |
LDAP "With LDAP support" off |
33 |
|
34 |
|
34 |
.include <bsd.port.options.mk> |
35 |
.include <bsd.port.options.mk> |
Lines 49-54
Link Here
|
49 |
PLIST_SUB+= GUILE="@comment " |
50 |
PLIST_SUB+= GUILE="@comment " |
50 |
.endif |
51 |
.endif |
51 |
|
52 |
|
|
|
53 |
.if defined(WITH_PCRE) |
54 |
LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre |
55 |
PLIST_SUB+= PCRE="" |
56 |
.else |
57 |
CONFIGURE_ARGS+=--without-pcre |
58 |
.endif |
59 |
|
52 |
.if defined(WITH_GSASL) |
60 |
.if defined(WITH_GSASL) |
53 |
LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl |
61 |
LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl |
54 |
CONFIGURE_ARGS+=--with-gsasl |
62 |
CONFIGURE_ARGS+=--with-gsasl |
Lines 56-61
Link Here
|
56 |
CONFIGURE_ARGS+=--without-gsasl |
64 |
CONFIGURE_ARGS+=--without-gsasl |
57 |
.endif |
65 |
.endif |
58 |
|
66 |
|
|
|
67 |
.if defined(WITH_PAM) |
68 |
PLIST_SUB+= PAM="" |
69 |
CONFIGURE_ARGS+=--enable-pam |
70 |
.else |
71 |
CONFIGURE_ARGS+=--disable-pam |
72 |
.endif |
73 |
|
59 |
.if defined(WITH_LDAP) |
74 |
.if defined(WITH_LDAP) |
60 |
USE_OPENLDAP= yes |
75 |
USE_OPENLDAP= yes |
61 |
PLIST_SUB+= LDAP="" |
76 |
PLIST_SUB+= LDAP="" |
Lines 79-85
Link Here
|
79 |
USE_RC_SUBR= dicod.sh |
94 |
USE_RC_SUBR= dicod.sh |
80 |
|
95 |
|
81 |
post-patch: |
96 |
post-patch: |
82 |
@${REINPLACE_CMD} 's/ENODATA/EIO/' ${WRKSRC}/lib/utf8.c |
|
|
83 |
@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in |
97 |
@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in |
84 |
@${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in |
98 |
@${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in |
85 |
@${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in |
99 |
@${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in |