aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:59:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:59:07 +0000
commit3502a4ac398a05741afdbe8e2b4102ace2b1732a (patch)
tree3c4dc2d714eeab06d9079fb2d572af540e60ba5b
parentd70cfbd001977af42f1d09e490bf74d51629304e (diff)
downloadports-3502a4ac398a05741afdbe8e2b4102ace2b1732a.tar.gz
ports-3502a4ac398a05741afdbe8e2b4102ace2b1732a.zip
Notes
-rw-r--r--net/splatd/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/net/splatd/Makefile b/net/splatd/Makefile
index cb5f33d77e8e..fceacc56a7ff 100644
--- a/net/splatd/Makefile
+++ b/net/splatd/Makefile
@@ -11,25 +11,30 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Splat is the Scalable Periodic LDAP Attribute Transmogrifier
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig \
${PYTHON_PKGNAMEPREFIX}ldap>=2.3.1:${PORTSDIR}/net/py-ldap
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-OPTIONS_DEFINE= DOCS
+RUN_DEPENDS= ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig \
+ ${PYTHON_PKGNAMEPREFIX}ldap>=2.3.1:${PORTSDIR}/net/py-ldap
+USES= python twisted
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= splat
USE_RC_SUBR= splatd
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
-USES= python twisted
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${WRKSRC}/splat.conf ${STAGEDIR}${PREFIX}/etc/splat.conf.sample
${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/splatd.8 ${STAGEDIR}${MANPREFIX}/man/man8
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
- ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
+ ${INSTALL_DATA} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml
.include <bsd.port.mk>