1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/splatd/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Landon Fuller <landonf@opendarwin.org>
# $FreeBSD$
PORTNAME= splatd
PORTVERSION= 1.2
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= snb@FreeBSD.org
COMMENT= Splat is the Scalable Periodic LDAP Attribute Transmogrifier
BUILD_DEPENDS= ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig \
${PYTHON_PKGNAMEPREFIX}ldap2>=2.3.1:${PORTSDIR}/net/py-ldap2 \
${PYTHON_SITELIBDIR}/twisted:${PORTSDIR}/devel/py-twistedCore
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= splat
USE_RC_SUBR= splatd
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
MAN5= splat.conf.5
MAN8= splatd.8
NO_STAGE= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/splat.conf ${PREFIX}/etc/splat.conf.sample
${MV} -f ${PREFIX}/bin/splatd ${PREFIX}/sbin/splatd
${INSTALL_MAN} ${WRKSRC}/docs/man/splat.conf.5 ${MANPREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/docs/man/splatd.8 ${MANPREFIX}/man/man8
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/xhtml
${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml
.endif
.include <bsd.port.mk>