1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Support STAGING

Convert to new LIB_DEPENDS format
Define License
This commit is contained in:
Steven Kreuzer 2014-05-14 02:12:19 +00:00
parent 73113c1988
commit b0a6989295
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354015
2 changed files with 13 additions and 15 deletions

View File

@ -11,9 +11,11 @@ MASTER_SITES= http://www.honeyd.org/uploads/ \
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simulate virtual network hosts (honeypots)
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent \
dnet.1:${PORTSDIR}/net/libdnet
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
LICENSE= GPLv2
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent \
libdnet.so:${PORTSDIR}/net/libdnet \
libpcre.so:${PORTSDIR}/devel/pcre
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
@ -27,12 +29,6 @@ CONFIGURE_ARGS+= --with-python
CONFIGURE_ARGS+= --without-python
.endif
LICENSE= GPLv2
MAN1= honeydctl.1
MAN8= honeyd.8
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if !defined(WITH_PYTHON)
@ -50,17 +46,17 @@ post-configure:
# Have to make this directory, the Makefile is stupid and tries to
# install stuff here without making it.
pre-install:
@${MKDIR} ${DATADIR}/webserver
@${MKDIR} ${STAGEDIR}${DATADIR}/webserver
post-install:
@${MKDIR} ${DATADIR}/scripts/snmp
@${MKDIR} ${STAGEDIR}${DATADIR}/scripts/snmp
@cd ${WRKSRC}/scripts && \
${INSTALL_DATA} README* INSTALL* kuang2.conf \
${DATADIR}/scripts && \
${INSTALL_SCRIPT} *.pl *.sh ${DATADIR}/scripts
${STAGEDIR}${DATADIR}/scripts && \
${INSTALL_SCRIPT} *.pl *.sh ${STAGEDIR}${DATADIR}/scripts
@cd ${WRKSRC}/scripts/snmp && \
${INSTALL_DATA} README default.snmp *.tpl \
${DATADIR}/scripts/snmp && \
${INSTALL_SCRIPT} *.pl ${DATADIR}/scripts/snmp
${STAGEDIR}${DATADIR}/scripts/snmp && \
${INSTALL_SCRIPT} *.pl ${STAGEDIR}${DATADIR}/scripts/snmp
.include <bsd.port.post.mk>

View File

@ -7,6 +7,8 @@ include/honeyd/hooks.h
include/honeyd/plugins.h
include/honeyd/plugins_config.h
lib/honeyd/libhoneyd.so
man/man1/honeydctl.1.gz
man/man8/honeyd.8.gz
%%DATADIR%%/README
%%DATADIR%%/config.ethernet
%%DATADIR%%/config.sample