Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cfengine |
8 |
PORTNAME= cfengine |
9 |
PORTVERSION= 3.3.0 |
9 |
PORTVERSION= 3.3.1 |
10 |
CATEGORIES= sysutils |
10 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= http://cfengine.com/source-code/download?file= |
11 |
MASTER_SITES= http://cfengine.com/source-code/download?file= |
12 |
|
12 |
|
Lines 36-42
Link Here
|
36 |
OPTIONS= TOKYOCABINET "Enable TokyoCabinet support" on \ |
36 |
OPTIONS= TOKYOCABINET "Enable TokyoCabinet support" on \ |
37 |
QDBM "Enable QDBM support" off \ |
37 |
QDBM "Enable QDBM support" off \ |
38 |
PGSQL "Enable PostgreSQL connector" off \ |
38 |
PGSQL "Enable PostgreSQL connector" off \ |
39 |
MYSQL "Enable MySQL connector" off |
39 |
MYSQL "Enable MySQL connector" off \ |
|
|
40 |
LIBVIRT "Enable libvirt compatibility" off |
40 |
|
41 |
|
41 |
.include <bsd.port.pre.mk> |
42 |
.include <bsd.port.pre.mk> |
42 |
|
43 |
|
Lines 59-75
Link Here
|
59 |
.endif |
60 |
.endif |
60 |
|
61 |
|
61 |
.if defined(WITH_PGSQL) |
62 |
.if defined(WITH_PGSQL) |
|
|
63 |
USE_PGSQL= yes |
62 |
CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE} |
64 |
CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE} |
63 |
.else |
65 |
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client |
64 |
CONFIGURE_ARGS+= --with-postgresql=no |
|
|
65 |
.endif |
66 |
.endif |
66 |
|
67 |
|
67 |
.if defined(WITH_MYSQL) |
68 |
.if defined(WITH_MYSQL) |
|
|
69 |
USE_MYSQL= yes |
68 |
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} |
70 |
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} |
69 |
.else |
71 |
LIB_DEPENDS+= mysqlclient:${PORTSDIR}/${_MYSQL_CLIENT} |
70 |
CONFIGURE_ARGS+= --with-mysql=no |
72 |
LDFLAGS+= -L${LOCALBASE}/lib/mysql |
71 |
.endif |
73 |
.endif |
72 |
|
74 |
|
|
|
75 |
.if defined(WITH_LIBVIRT) |
76 |
CONFIGURE_ARGS+= --with-libvirt=${LOCALBASE} |
77 |
LIB_DEPENDS+= virt:${PORTSDIR}/devel/libvirt |
78 |
.endif |
73 |
|
79 |
|
74 |
MAN8= cf-agent.8 cf-key.8 cf-monitord.8 \ |
80 |
MAN8= cf-agent.8 cf-key.8 cf-monitord.8 \ |
75 |
cf-report.8 cf-serverd.8 cf-execd.8 \ |
81 |
cf-report.8 cf-serverd.8 cf-execd.8 \ |