Lines 25-31
Link Here
|
25 |
USE_PHP= session pcre sockets |
25 |
USE_PHP= session pcre sockets |
26 |
NO_BUILD= yes |
26 |
NO_BUILD= yes |
27 |
NO_ARCH= yes |
27 |
NO_ARCH= yes |
|
|
28 |
NFSENOWN?= www |
28 |
PLIST_SUB+= PORTNAME=${PORTNAME} |
29 |
PLIST_SUB+= PORTNAME=${PORTNAME} |
|
|
30 |
PLIST_SUB+= NFSENOWN=${NFSENOWN} |
29 |
USE_RC_SUBR= nfsen |
31 |
USE_RC_SUBR= nfsen |
30 |
perl_OLD_CMD= %%PERL%% |
32 |
perl_OLD_CMD= %%PERL%% |
31 |
SHEBANG_FILES= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend libexec/NfSenRRD.pm \ |
33 |
SHEBANG_FILES= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend libexec/NfSenRRD.pm \ |
Lines 40-45
Link Here
|
40 |
SUB_LIST+= "PREFIX=${PREFIX}" |
42 |
SUB_LIST+= "PREFIX=${PREFIX}" |
41 |
SUB_LIST+= "WWWDIR=${WWWDIR}" |
43 |
SUB_LIST+= "WWWDIR=${WWWDIR}" |
42 |
SUB_LIST+= "PORTNAME=${PORTNAME}" |
44 |
SUB_LIST+= "PORTNAME=${PORTNAME}" |
|
|
45 |
SUB_LIST+= "NFSENOWN=${NFSENOWN}" |
43 |
|
46 |
|
44 |
post-patch: |
47 |
post-patch: |
45 |
.for nfsenfile in ${REINPLACE_LIST} |
48 |
.for nfsenfile in ${REINPLACE_LIST} |
Lines 52-57
Link Here
|
52 |
@${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/conf.php |
55 |
@${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/conf.php |
53 |
@${REINPLACE_CMD} "s|/usr/bin/perl|${perl_CMD}|" ${WRKSRC}/libexec/Nfcomm.pm |
56 |
@${REINPLACE_CMD} "s|/usr/bin/perl|${perl_CMD}|" ${WRKSRC}/libexec/Nfcomm.pm |
54 |
|
57 |
|
|
|
58 |
FIND_EXPR= ! -name \._* -prune |
59 |
|
55 |
do-install: |
60 |
do-install: |
56 |
${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-data/live |
61 |
${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-data/live |
57 |
${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-stat/live |
62 |
${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-stat/live |
Lines 62-71
Link Here
|
62 |
${INSTALL} -d ${STAGEDIR}/${WWWDIR}/plugins |
67 |
${INSTALL} -d ${STAGEDIR}/${WWWDIR}/plugins |
63 |
(cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/bin/) |
68 |
(cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/bin/) |
64 |
${INSTALL_DATA} ${WRKSRC}/etc/nfsen-dist.conf ${STAGEDIR}/${PREFIX}/etc/ |
69 |
${INSTALL_DATA} ${WRKSRC}/etc/nfsen-dist.conf ${STAGEDIR}/${PREFIX}/etc/ |
65 |
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/) |
70 |
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/ "${FIND_EXPR}") |
66 |
(cd ${WRKSRC}/plugins/frontend/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/plugins/) |
71 |
(cd ${WRKSRC}/plugins/frontend/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/plugins/ "${FIND_EXPR}") |
67 |
(cd ${WRKSRC}/libexec && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/) |
72 |
(cd ${WRKSRC}/libexec && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/) |
68 |
(cd ${WRKSRC}/plugins/backend && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/plugins/) |
73 |
(cd ${WRKSRC}/plugins/backend && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/plugins/ "${FIND_EXPR}") |
69 |
${INSTALL_DATA} ${WRKSRC}/installer-items/CopyRecursive.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ |
74 |
${INSTALL_DATA} ${WRKSRC}/installer-items/CopyRecursive.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ |
70 |
${INSTALL_DATA} ${WRKSRC}/installer-items/RRDconvertv1.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ |
75 |
${INSTALL_DATA} ${WRKSRC}/installer-items/RRDconvertv1.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ |
71 |
${INSTALL_DATA} ${WRKSRC}/conf.php ${STAGEDIR}/${WWWDIR} |
76 |
${INSTALL_DATA} ${WRKSRC}/conf.php ${STAGEDIR}/${WWWDIR} |