Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= honeyd |
8 |
PORTNAME= honeyd |
9 |
PORTVERSION= 0.6a |
9 |
PORTVERSION= 0.7 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://niels.xtdnet.nl/honeyd/ |
11 |
MASTER_SITES= http://niels.xtdnet.nl/honeyd/ |
12 |
|
12 |
|
Lines 16-27
Link Here
|
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \ |
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \ |
17 |
${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent |
17 |
${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent |
18 |
|
18 |
|
|
|
19 |
USE_PYTHON= yes |
19 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
21 |
CONFIGURE_ARGS= --with-libdnet=${LOCALBASE} \ |
22 |
CONFIGURE_ARGS= --with-libdnet=${LOCALBASE} \ |
22 |
--with-libevent=${LOCALBASE} \ |
23 |
--with-libevent=${LOCALBASE} \ |
23 |
--with-pcap |
24 |
--with-pcap |
24 |
INSTALLS_SHLIB= yes |
25 |
INSTALLS_SHLIB= yes |
|
|
26 |
USE_REINPLACE= yes |
27 |
|
28 |
post-configure: |
29 |
@${REINPLACE_CMD} -e 's|LIBS = |LIBS = ${PTHREAD_LIBS}|' \ |
30 |
${WRKSRC}/Makefile |
31 |
|
32 |
post-install: |
33 |
@${MKDIR} ${DATADIR}/scripts/snmp |
34 |
.for FILES in proxy.pl router-telnet.pl smtp.pl test.sh web.sh |
35 |
@${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILES} \ |
36 |
${DATADIR}/scripts |
37 |
.endfor |
38 |
.for FILES in README buildSNMPConfig.pl default.snmp fake-snmp.pl \ |
39 |
linux-2.4.snmp.tpl windows2000.snmp.tpl |
40 |
@${INSTALL_DATA} ${WRKSRC}/scripts/snmp/${FILES} \ |
41 |
${DATADIR}/scripts/snmp |
42 |
.endfor |
43 |
|
25 |
MAN8= honeyd.8 |
44 |
MAN8= honeyd.8 |
26 |
|
45 |
|
27 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |