summaryrefslogtreecommitdiffstats
path: root/comms/owfs/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committermat <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/owfs/Makefile
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadFreeBSD-ports-9d30f78a00bed11384c7259f662e9352754275db.zip
FreeBSD-ports-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'comms/owfs/Makefile')
-rw-r--r--comms/owfs/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/comms/owfs/Makefile b/comms/owfs/Makefile
index b49b601..4ad1cf6 100644
--- a/comms/owfs/Makefile
+++ b/comms/owfs/Makefile
@@ -117,15 +117,12 @@ pre-configure:
@echo "Preparing build using autotools..."
# Workarounds for different problems
-post-install:
-.if ${PORT_OPTIONS:MOWPYTHON}
+post-install-OWPYTHON-on:
(cd ${STAGEDIR}${PREFIX} \
&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/ow/_OW.so
-.endif
-.if ${PORT_OPTIONS:MOWPERL}
+post-install-OWPERL-on:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so
-.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud