diff options
Diffstat (limited to 'comms/owfs/Makefile')
-rw-r--r-- | comms/owfs/Makefile | 24 |
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> |