1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/kippo/Makefile
Mathieu Arnold 8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00

46 lines
1.0 KiB
Makefile

# Created by: Frederic Culot <culot@FreeBSD.org>
# $FreeBSD$
PORTNAME= kippo
PORTVERSION= 0.9
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= culot@FreeBSD.org
COMMENT= Medium interaction ssh honeypot
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= desaster
USES= python
NO_ARCH= yes
NO_BUILD= yes
USE_RC_SUBR= kippo
USERS= kippo
GROUPS= kippo
SUB_FILES= pkg-message
SUB_LIST+= PYTHON=${PYTHON_CMD}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in kippo.cfg.dist kippo.tac fs.pickle
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
.for d in data doc honeyfs kippo txtcmds utils
@${MKDIR} ${STAGEDIR}${DATADIR}/${d}
@(cd ${WRKSRC}/${d}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${d})
.endfor
.include <bsd.port.mk>