Lines 32-38
Link Here
|
32 |
PKGINSTALL= ${WRKDIR}/pkg-install |
32 |
PKGINSTALL= ${WRKDIR}/pkg-install |
33 |
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall |
33 |
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall |
34 |
SUB_FILES= pkg-install pkg-deinstall |
34 |
SUB_FILES= pkg-install pkg-deinstall |
35 |
PLIST_SUB+= PYTHON=${PYTHON} |
35 |
PLIST_SUB+= PYTHON=${PYTHON} MUNIN=${MUNIN} |
36 |
OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \ |
36 |
OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \ |
37 |
THREADS "build with threads support" on \ |
37 |
THREADS "build with threads support" on \ |
Lines 58-63
Link Here
|
58 |
CONFIGURE_ARGS+= --disable-gost |
58 |
CONFIGURE_ARGS+= --disable-gost |
59 |
.endif |
59 |
.endif |
|
|
60 |
.if defined(WITH_MUNIN) |
61 |
ALL= hits queue memory by_type by_class\ |
62 |
by_opcode by_rcode by_flags histogram |
63 |
SUB_FILES+= pkg-message |
64 |
MUNIN= |
65 |
.else |
66 |
MUNIN= "@comment " |
67 |
.endif |
68 |
|
60 |
.include <bsd.port.pre.mk> |
69 |
.include <bsd.port.pre.mk> |
61 |
# OpenSSL on 6.x has no sha256 functions |
70 |
# OpenSSL on 6.x has no sha256 functions |
Lines 89-94
Link Here
|
89 |
post-install: |
98 |
post-install: |
90 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
99 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
|
|
100 |
.if defined(WITH_MUNIN) |
101 |
@${MKDIR} ${PREFIX}/share/munin/plugins |
102 |
@${MKDIR} ${PREFIX}/etc/munin/plugins |
103 |
@${INSTALL_DATA} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_\ |
104 |
${PREFIX}/share/munin/plugins/ |
105 |
@for i in ${ALL}; do\ |
106 |
${LN} -fs ${PREFIX}/share/munin/plugins/unbound_munin_\ |
107 |
${PREFIX}/etc/munin/plugins/unbound_munin_$$i ;\ |
108 |
done |
109 |
@${ECHO_MSG} |
110 |
@${ECHO_MSG} "=============================================================" |
111 |
@${CAT} ${WRKDIR}/pkg-message |
112 |
@${ECHO_MSG} "=============================================================" |
113 |
.endif |
91 |
.if !defined(NOPORTDOCS) |
114 |
.if !defined(NOPORTDOCS) |
92 |
@${MKDIR} ${DOCSDIR}; \ |
115 |
@${MKDIR} ${DOCSDIR}; \ |
93 |
for f in ${PORTDOCS}; do \ |
116 |
for f in ${PORTDOCS}; do \ |