Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/comms/owfs/Makefile 380688 2015-03-07 13:19:46Z antoine $ |
2 |
# $FreeBSD: head/comms/owfs/Makefile 380688 2015-03-07 13:19:46Z antoine $ |
3 |
|
3 |
|
4 |
PORTNAME= owfs |
4 |
PORTNAME= owfs |
5 |
PORTVERSION= 2.9p8 |
5 |
PORTVERSION= 3.1p0 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= comms |
6 |
CATEGORIES= comms |
8 |
MASTER_SITES= SF/owfs/owfs/${PORTVERSION} |
7 |
MASTER_SITES= SF/owfs/owfs/${PORTVERSION} |
9 |
|
8 |
|
Lines 12-18
Link Here
|
12 |
|
11 |
|
13 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
14 |
|
13 |
|
15 |
USES= autoreconf libtool gmake |
14 |
USES= autoreconf gmake libtool pkgconfig |
16 |
|
15 |
|
17 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
18 |
INSTALL_TARGET= install-strip |
17 |
INSTALL_TARGET= install-strip |
Lines 66-72
Link Here
|
66 |
# XXX Broken due to -lgcc_p |
65 |
# XXX Broken due to -lgcc_p |
67 |
PROFILING_CONFIGURE_ENABLE= profiling |
66 |
PROFILING_CONFIGURE_ENABLE= profiling |
68 |
|
67 |
|
69 |
# XXX: Not tested, it compiles, but not sure if fusefs actually works |
68 |
# work on 10.1 amd64, USB DS9097, --passive=/dev/cuaU0 |
70 |
OWFS_CONFIGURE_ENABLE= owfs |
69 |
OWFS_CONFIGURE_ENABLE= owfs |
71 |
OWFS_USES= fuse |
70 |
OWFS_USES= fuse |
72 |
|
71 |
|
Lines 113-131
Link Here
|
113 |
|
112 |
|
114 |
# This takes a few seconds so give the user some notice |
113 |
# This takes a few seconds so give the user some notice |
115 |
pre-configure: |
114 |
pre-configure: |
116 |
${MKDIR} ${WRKSRC}/m4 |
115 |
@${MKDIR} ${WRKSRC}/m4 |
117 |
@echo "Preparing build using autotools..." |
116 |
@echo "Preparing build using autotools..." |
118 |
|
117 |
|
119 |
# Workarounds for different problems |
118 |
# Workarounds for different problems |
|
|
119 |
do-build: |
120 |
.if ${PORT_OPTIONS:MOWPYTHON} |
121 |
@${PYTHON_CMD} -m compileall ${WRKSRC} |
122 |
@${PYTHON_CMD} -O -m compileall ${WRKSRC} |
123 |
.endif |
124 |
|
120 |
post-install: |
125 |
post-install: |
121 |
.if ${PORT_OPTIONS:MOWPYTHON} |
126 |
.if ${PORT_OPTIONS:MOWPYTHON} |
122 |
(cd ${STAGEDIR}${PREFIX} \ |
127 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/ow/_OW.so |
123 |
&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ |
128 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* |
124 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) |
|
|
125 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/ow/_OW.so |
126 |
.endif |
129 |
.endif |
127 |
.if ${PORT_OPTIONS:MOWPERL} |
130 |
.if ${PORT_OPTIONS:MOWPERL} |
128 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so |
131 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so |
129 |
.endif |
132 |
.endif |
130 |
|
133 |
|
131 |
.include <bsd.port.mk> |
134 |
.include <bsd.port.mk> |