freebsd-ports/net/kippo/Makefile
Marcus von Appen 885b528f02 New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
    USE_TWISTED=        yes
    USE_TWISTED=        conch names
    USE_TWISTED_RUN=    yes
you now would write
    USES=       twisted
    USES=       twisted:conch,names
    USES=       twisted:run
2013-12-08 12:04:07 +00:00

44 lines
942 B
Makefile

# Created by: Frederic Culot <culot@FreeBSD.org>
# $FreeBSD$
PORTNAME= kippo
PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= culot@FreeBSD.org
COMMENT= Medium interaction ssh honeypot
LICENSE= BSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= 2.5+
USES= twisted:run,conch,web
NO_BUILD= yes
USE_RC_SUBR= kippo
USERS= kippo
GROUPS= kippo
SUB_FILES= pkg-message
SUB_LIST+= PYTHON=${PYTHON_CMD}
NO_STAGE= yes
do-install:
@${MKDIR} ${DATADIR}
.for f in kippo.cfg kippo.tac fs.pickle
@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.for d in doc honeyfs kippo txtcmds utils
@${MKDIR} ${DATADIR}/${d}
@(cd ${WRKSRC}/${d}/ && ${COPYTREE_SHARE} \* ${DATADIR}/${d})
.endfor
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>