Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= perdition |
8 |
PORTNAME= perdition |
9 |
PORTVERSION= 1.15 |
9 |
PORTVERSION= 1.17 |
10 |
CATEGORIES= mail net security |
10 |
CATEGORIES= mail net security |
11 |
MASTER_SITES= http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/ |
11 |
MASTER_SITES= http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/ |
12 |
|
12 |
|
Lines 28-51
Link Here
|
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3 |
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3 |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
30 |
MAKE_ENV+= DOCSDIR=${DOCSDIR} |
30 |
MAKE_ENV+= DOCSDIR=${DOCSDIR} |
31 |
CONFIGURE_ARGS+= --disable-daemon-map |
|
|
32 |
|
31 |
|
33 |
INSTALLS_SHLIB= yes |
32 |
INSTALLS_SHLIB= yes |
34 |
|
33 |
|
35 |
## |
34 |
OPTIONS = \ |
36 |
## Available knobs: |
35 |
BDB "Berkerley database backend" Off \ |
37 |
## WITH_BDB: Enable Berkerley database backend |
36 |
DAEMON_MAP "Daemon Map support" Off \ |
38 |
## WITH_DAEMON_MAP: Enable Daemon Map support |
37 |
GDBM "gdbm database backend" Off \ |
39 |
## WITH_GDBM: Enable gdbm database backend |
38 |
MYSQL "MySQL database backend" Off \ |
40 |
## WITH_MYSQL: Enable MySQL database backend |
39 |
NIS "NIS database backend" Off \ |
41 |
## WITH_NIS: Enable NIS database backend |
40 |
PGSQL "PostgreSQL database backend" Off \ |
42 |
## WITH_PGSQL: Enable PostgreSQL database backend |
41 |
ODBC "ODBC database backend" Off \ |
43 |
## WITH_ODBC: Enable ODBC database backend |
42 |
OPENLDAP "OpenLDAP database backend" Off \ |
44 |
## WITH_OPENLDAP: Enable OpenLDAP database backend |
43 |
SSL "OpenSSL support" On \ |
45 |
## |
44 |
POSIX_REGEX "native regex support" On \ |
46 |
## WITHOUT_SSL: Disable OpenSSL support |
45 |
|
47 |
## WITHOUT_POSIX_REGEX: Disable native regex support |
46 |
.include <bsd.port.pre.mk> |
48 |
## |
|
|
49 |
|
47 |
|
50 |
.if !defined(WITHOUT_SSL) |
48 |
.if !defined(WITHOUT_SSL) |
51 |
CONFIGURE_ARGS+= --enable-ssl |
49 |
CONFIGURE_ARGS+= --enable-ssl |
Lines 121-127
Link Here
|
121 |
|
119 |
|
122 |
.if defined(WITH_OPENLDAP) |
120 |
.if defined(WITH_OPENLDAP) |
123 |
USE_OPENLDAP= YES |
121 |
USE_OPENLDAP= YES |
124 |
CONFIGURE_ARGS+= --enable-ldap --with-ldap-schema-directory=${LOCALBASE}/etc/openldap/schema/ |
122 |
CONFIGURE_ARGS+= --enable-ldap --with-ldap-schema-directory=${LOCALBASE}/etc/openldap/schema/ --disable-ldap-doc |
125 |
PLIST_SUB+= OPENLDAP="" |
123 |
PLIST_SUB+= OPENLDAP="" |
126 |
MAN8+= perditiondb_ldap_makedb.8 |
124 |
MAN8+= perditiondb_ldap_makedb.8 |
127 |
.else |
125 |
.else |
Lines 139-149
Link Here
|
139 |
PLIST_SUB+= ODBC="@comment " |
137 |
PLIST_SUB+= ODBC="@comment " |
140 |
.endif |
138 |
.endif |
141 |
|
139 |
|
142 |
pre-everything:: show-options |
|
|
143 |
|
144 |
show-options: |
145 |
@${SED} -ne 's/^##//p' ${.CURDIR}/Makefile |
146 |
|
147 |
post-install: |
140 |
post-install: |
148 |
.if !defined(NOPORTDOCS) |
141 |
.if !defined(NOPORTDOCS) |
149 |
@${MKDIR} ${DOCSDIR} |
142 |
@${MKDIR} ${DOCSDIR} |
Lines 156-159
Link Here
|
156 |
@${ECHO_MSG} "" |
149 |
@${ECHO_MSG} "" |
157 |
.endif |
150 |
.endif |
158 |
|
151 |
|
159 |
.include <bsd.port.mk> |
152 |
.include <bsd.port.post.mk> |