Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= ndpmon |
4 |
PORTNAME= ndpmon |
5 |
PORTVERSION= 1.4.0 |
5 |
PORTVERSION= 1.4.0 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= net-mgmt ipv6 |
7 |
CATEGORIES= net-mgmt ipv6 |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/ |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/ |
9 |
EXTRACT_SUFX= .tgz |
9 |
EXTRACT_SUFX= .tgz |
Lines 18-24
Link Here
|
18 |
OPTIONS_DEFAULT= |
18 |
OPTIONS_DEFAULT= |
19 |
|
19 |
|
20 |
PY4SUITE_DESC= Depend on py-4suite-xml (for generating HTML) |
20 |
PY4SUITE_DESC= Depend on py-4suite-xml (for generating HTML) |
21 |
MACRESOLV_DESC= Enable MAC Manufacturer Resolution |
21 |
MACRESOLV_DESC= Enable MAC Manufacturer Resolution (use p5-libwww) |
22 |
|
22 |
|
23 |
.include <bsd.port.options.mk> |
23 |
.include <bsd.port.options.mk> |
24 |
|
24 |
|
Lines 45-52
Link Here
|
45 |
|
45 |
|
46 |
.if ${PORT_OPTIONS:MMACRESOLV} |
46 |
.if ${PORT_OPTIONS:MMACRESOLV} |
47 |
CONFIGURE_ARGS+=--enable-mac-resolv |
47 |
CONFIGURE_ARGS+=--enable-mac-resolv |
|
|
48 |
BUILD_DEPENDS+= p5-libwww>=6.05:${PORTSDIR}/www/p5-libwww |
49 |
RUN_DEPENDS+= p5-libwww>=6.05:${PORTSDIR}/www/p5-libwww |
50 |
PLIST_SUB+= MACRESOLV="" |
48 |
.else |
51 |
.else |
49 |
CONFIGURE_ARGS+=--disable-mac-resolv |
52 |
PLIST_SUB+= MACRESOLV="@comment " |
50 |
.endif |
53 |
.endif |
51 |
|
54 |
|
52 |
post-patch: |
55 |
post-patch: |
Lines 69-74
Link Here
|
69 |
.if ${PORT_OPTIONS:MPY4SUITE} |
72 |
.if ${PORT_OPTIONS:MPY4SUITE} |
70 |
${INSTALL_SCRIPT} ${WRKSRC}/create_html_table.py ${DATADIR} |
73 |
${INSTALL_SCRIPT} ${WRKSRC}/create_html_table.py ${DATADIR} |
71 |
.endif |
74 |
.endif |
|
|
75 |
.if ${PORT_OPTIONS:MMACRESOLV} |
76 |
${MKDIR} ${DATADIR}/plugins/mac_resolv |
77 |
${INSTALL_SCRIPT} ${WRKSRC}/plugins/mac_resolv/make-manuf ${DATADIR}/plugins/mac_resolv |
78 |
${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/*.tmpl ${DATADIR}/plugins/mac_resolv |
79 |
${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/manuf ${DATADIR}/plugins/mac_resolv |
80 |
.endif |
72 |
|
81 |
|
73 |
${MKDIR} ${ETCDIR} |
82 |
${MKDIR} ${ETCDIR} |
74 |
${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${ETCDIR}/config_ndpmon.xml-dist |
83 |
${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${ETCDIR}/config_ndpmon.xml-dist |
Lines 81-85
Link Here
|
81 |
${MKDIR} ${DOCSDIR} |
90 |
${MKDIR} ${DOCSDIR} |
82 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
91 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
83 |
.endif |
92 |
.endif |
|
|
93 |
.if ${PORT_OPTIONS:MMACRESOLV} |
94 |
@${CAT} ${PKGMESSAGE}.MACRESOLV |
95 |
.endif |
84 |
|
96 |
|
85 |
.include <bsd.port.mk> |
97 |
.include <bsd.port.mk> |