Lines 11-16
PKGNAMESUFFIX?= -common
Link Here
|
11 |
MAINTAINER?= pdagog@gmail.com |
11 |
MAINTAINER?= pdagog@gmail.com |
12 |
COMMENT?= Netmagis common infrastructure |
12 |
COMMENT?= Netmagis common infrastructure |
13 |
|
13 |
|
|
|
14 |
# Portlint barfs about a MASTERDIR variable if the LICENSE block is defined (black magic?) |
15 |
#LICENSE= CECILL-B |
16 |
#LICENSE_NAME= CeCILL-B Free Software License Agreement |
17 |
#LICENSE_FILE= ${WRKSRC}/LICENSE |
18 |
#LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
19 |
|
14 |
USES= tcl:85+ |
20 |
USES= tcl:85+ |
15 |
|
21 |
|
16 |
USE_PGSQL= pgtcl |
22 |
USE_PGSQL= pgtcl |
Lines 28-40
USE_PGSQL+= server pltcl
Link Here
|
28 |
.endif |
34 |
.endif |
29 |
|
35 |
|
30 |
.if ${PKGNAMESUFFIX} == -www |
36 |
.if ${PKGNAMESUFFIX} == -www |
31 |
USE_APACHE= 22+ |
|
|
32 |
USE_TEX= tex |
37 |
USE_TEX= tex |
33 |
RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \ |
38 |
RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \ |
34 |
pwgen:${PORTSDIR}/sysutils/pwgen \ |
39 |
pwgen:${PORTSDIR}/sysutils/pwgen |
35 |
${LOCALBASE}/libexec/apache22/mod_auth_pgsql.so:${PORTSDIR}/www/mod_auth_pgsql2 |
|
|
36 |
# FIXME compile apache22 with option mod_auth_ldap |
37 |
# FIXME add ap22-mod_auth_cas |
38 |
.endif |
40 |
.endif |
39 |
|
41 |
|
40 |
.if ${PKGNAMESUFFIX} == -topo |
42 |
.if ${PKGNAMESUFFIX} == -topo |
Lines 51-60
RUN_DEPENDS+= p5-DBD-Pg>0:${PORTSDIR}/databases/p5-DBD-Pg \
Link Here
|
51 |
p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ |
53 |
p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ |
52 |
p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
54 |
p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
53 |
p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO |
55 |
p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO |
|
|
56 |
|
57 |
USES+= shebangfix |
58 |
SHEBANG_FILES= bin/metrocreatedb bin/metropoller bin/metropoller-run |
54 |
.endif |
59 |
.endif |
55 |
|
60 |
|
56 |
# Variables used in netmagis Makefiles |
61 |
# Variables used in netmagis Makefiles |
57 |
MAKE_ARGS+= DESTDIR=${DESTDIR} PREFIX=${PREFIX} |
62 |
MAKE_ARGS+= DESTDIR=${STAGEDIR}${DESTDIR} PREFIX=${PREFIX} |
58 |
MAKE_ARGS+= TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh |
63 |
MAKE_ARGS+= TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh |
59 |
|
64 |
|
60 |
.if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www |
65 |
.if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www |