aboutsummaryrefslogtreecommitdiffstats
path: root/comms/owfs/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 00:29:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 00:29:55 +0800
commit4559b024c69ab4f0bf3776f3edddaf2a1a611024 (patch)
tree7104a723ac992270164eedf477deb1e1c94cda6b /comms/owfs/Makefile
parent8e3692a49135c202c219141d6eca6d2c471fa51d (diff)
downloadfreebsd-ports-gnome-4559b024c69ab4f0bf3776f3edddaf2a1a611024.tar.gz
freebsd-ports-gnome-4559b024c69ab4f0bf3776f3edddaf2a1a611024.tar.zst
freebsd-ports-gnome-4559b024c69ab4f0bf3776f3edddaf2a1a611024.zip
- Update to 3.1p0
PR: 200245 Submitted by: johan@stromnet.se (maintainer) Reported by: admin@lissyara.su
Diffstat (limited to 'comms/owfs/Makefile')
-rw-r--r--comms/owfs/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/comms/owfs/Makefile b/comms/owfs/Makefile
index 4ad1cf6b380e..6bf6f4a4c745 100644
--- a/comms/owfs/Makefile
+++ b/comms/owfs/Makefile
@@ -1,9 +1,8 @@
-# Created by: Johan Strom <johna@stromnet.se>
+# Created by: Johan Strom <johan@stromnet.se>
# $FreeBSD$
PORTNAME= owfs
-PORTVERSION= 2.9p8
-PORTREVISION= 2
+PORTVERSION= 3.1p0
CATEGORIES= comms
MASTER_SITES= SF/owfs/owfs/${PORTVERSION}
@@ -12,7 +11,7 @@ COMMENT= OWFS -- 1-Wire file system
LICENSE= GPLv2
-USES= autoreconf libtool gmake
+USES= autoreconf gmake libtool pkgconfig
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
@@ -66,7 +65,7 @@ OWTCL_USES= tcl
# XXX Broken due to -lgcc_p
PROFILING_CONFIGURE_ENABLE= profiling
-# XXX: Not tested, it compiles, but not sure if fusefs actually works
+# work on 10.1 amd64, USB DS9097, --passive=/dev/cuaU0
OWFS_CONFIGURE_ENABLE= owfs
OWFS_USES= fuse
@@ -113,16 +112,21 @@ CONFIGURE_ARGS+= --enable-owtcl --with-tcl=${TCL_LIBDIR}
# This takes a few seconds so give the user some notice
pre-configure:
- ${MKDIR} ${WRKSRC}/m4
+ @${MKDIR} ${WRKSRC}/m4
@echo "Preparing build using autotools..."
# Workarounds for different problems
post-install-OWPYTHON-on:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/ow/_OW.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
(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
+ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
+ (cd ${STAGEDIR}${PREFIX} \
+ && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
+
post-install-OWPERL-on:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so
.include <bsd.port.mk>