1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add LICENSE

- Use USES=twisted
- Cosmetic change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-29 15:44:45 +00:00
parent 13b7799f1c
commit 6637b41d3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363345

View File

@ -5,30 +5,31 @@ PORTNAME= splatd
PORTVERSION= 1.2 PORTVERSION= 1.2
PORTREVISION= 5 PORTREVISION= 5
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Splat is the Scalable Periodic LDAP Attribute Transmogrifier COMMENT= Splat is the Scalable Periodic LDAP Attribute Transmogrifier
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig \ BUILD_DEPENDS= ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig \
${PYTHON_PKGNAMEPREFIX}ldap2>=2.3.1:${PORTSDIR}/net/py-ldap2 \ ${PYTHON_PKGNAMEPREFIX}ldap2>=2.3.1:${PORTSDIR}/net/py-ldap2
${PYTHON_SITELIBDIR}/twisted:${PORTSDIR}/devel/py-twistedCore
RUN_DEPENDS:= ${BUILD_DEPENDS} RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS
USE_PYTHON= yes USE_PYTHON= yes
USE_PYDISTUTILS= yes USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= splat PYDISTUTILS_PKGNAME= splat
USE_RC_SUBR= splatd USE_RC_SUBR= splatd
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
USES= twisted
OPTIONS_DEFINE= DOCS
post-install: post-install:
${INSTALL_DATA} ${WRKSRC}/splat.conf ${STAGEDIR}${PREFIX}/etc/splat.conf.sample ${INSTALL_DATA} ${WRKSRC}/splat.conf ${STAGEDIR}${PREFIX}/etc/splat.conf.sample
${MV} -f ${STAGEDIR}${PREFIX}/bin/splatd ${STAGEDIR}${PREFIX}/sbin/splatd ${MV} -f ${STAGEDIR}${PREFIX}/bin/splatd ${STAGEDIR}${PREFIX}/sbin/splatd
${INSTALL_MAN} ${WRKSRC}/docs/man/splat.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/docs/man/splat.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/docs/man/splatd.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/docs/man/splatd.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml ${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml