Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 May 2014 11:44:55 +0200 (CEST)
From:      Johan Strom <johan@stromnet.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189222: New port: comms/owfs, software for communicating with Dallas/Maxim 1-Wire network
Message-ID:  <20140502094455.4167647FB@back-1.stromnet.se>
Resent-Message-ID: <201405020950.s429o8IS027464@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189222
>Category:       ports
>Synopsis:       New port: comms/owfs, software for communicating with Dallas/Maxim 1-Wire network
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 09:50:07 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johan Ström
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
Stromnet
>Environment:
System: FreeBSD back-1.stromnet.se 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	OWFS -- 1-Wire file system.
	OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim.

	OWFS is a simple and flexible program to monitor and control the physical
	environment. You can write scripts to read temperature, flash lights, write
	to an LCD, log and graph, ...

	WWW: http://www.owfs.org/

Build succesfull on at least FreeBSD 8.4, 9.2, 10.0. Not actually tested on 10.0 though.
Some options are known not to build at all, those are marked BROKEN.

>How-To-Repeat:
>Fix:

--- owfs.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	owfs
#	owfs/pkg-plist
#	owfs/distinfo
#	owfs/Makefile.options
#	owfs/Makefile
#	owfs/pkg-descr
#
echo c - owfs
mkdir -p owfs > /dev/null 2>&1
echo x - owfs/pkg-plist
sed 's/^X//' >owfs/pkg-plist << '5088e4b1bec25b51f12a498bdf84adff'
X%%OWSHELL%%bin/owdir
X%%OWSHELL%%bin/owexist
Xbin/owexternal
X%%OWFS%%bin/owfs
X%%OWFTPD%%bin/owftpd
X%%OWSHELL%%bin/owget
X%%OWHTTPD%%bin/owhttpd
X%%OWMON%%bin/owmon
X%%OWSHELL%%bin/owpresent
X%%OWSHELL%%bin/owread
X%%OWSERVER%%bin/owserver
X%%OWTAP%%bin/owtap
X%%OWSHELL%%bin/owwrite
X%%OWCAPI%%include/owcapi.h
Xinclude/owfs_config.h
X%%OWNET%%include/ownetapi.h
Xlib/libow-2.9.so
Xlib/libow-2.9.so.4
Xlib/libow.la
Xlib/libow.so
X%%OWCAPI%%lib/libowcapi-2.9.so
X%%OWCAPI%%lib/libowcapi-2.9.so.4
X%%OWCAPI%%lib/libowcapi.la
X%%OWCAPI%%lib/libowcapi.so
X%%OWNET%%lib/libownet-2.9.so
X%%OWNET%%lib/libownet-2.9.so.4
X%%OWNET%%lib/libownet.la
X%%OWNET%%lib/libownet.so
X%%OWTCL%%lib/owtcl-1.0/ow-1.0.so
X%%OWTCL%%lib/owtcl-1.0/ow.la
X%%OWTCL%%lib/owtcl-1.0/ow.so
X%%OWTCL%%lib/owtcl-1.0/ow.tcl
X%%OWTCL%%lib/owtcl-1.0/pkgIndex.tcl
X%%OWTCL%%@dirrm lib/owtcl-1.0/pkgIndex.tcl
X%%OWPYTHON%%%%PYTHON_SITELIBDIR%%/ow-2.9p4-py2.7.egg-info
X%%OWPYTHON%%%%PYTHON_SITELIBDIR%%/ow/_OW.so
X%%OWPYTHON%%%%PYTHON_SITELIBDIR%%/ow/__init__.py
X%%OWPYTHON%%%%PYTHON_SITELIBDIR%%/ow/__init__.pyc
X%%OWNETPYTHON%%%%PYTHON_SITELIBDIR%%/ownet-0.3-py2.7.egg-info
X%%OWNETPYTHON%%%%PYTHON_SITELIBDIR%%/ownet/__init__.py
X%%OWNETPYTHON%%%%PYTHON_SITELIBDIR%%/ownet/__init__.pyc
X%%OWNETPYTHON%%%%PYTHON_SITELIBDIR%%/ownet/connection.py
X%%OWNETPYTHON%%%%PYTHON_SITELIBDIR%%/ownet/connection.pyc
X%%OWNETPYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%/ownet
X%%OWPYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%/ow
X%%OWPYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
X%%OWPYTHON%%@dirrmtry %%PYTHON_LIBDIR%%
X
X%%OWPERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OW.pm
X%%OWPERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OW/.packlist
X%%OWPERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OW/OW.bs
X%%OWPERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OW/OW.so
X%%OWPERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/OW
X%%OWPERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
X%%OWPERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
X
X%%OWNETPERL%%%%PERL5_MAN3%%/OWNet.3.gz
X%%OWNETPERL%%%%SITE_PERL%%/OWNet.pm
X%%OWNETPERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OWNet/.packlist
X
X%%OWNETPERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/OWNet
X%%OWNETPERL%%@dirrmtry lib/perl5/%%PERL_VER%%/man
X%%OWNETPERL%%@dirrmtry lib/perl5/%%PERL_VER%%/mach
X%%OWNETPERL%%@dirrmtry lib/perl5/%%PERL_VER%%
X%%OWNETPERL%%@dirrmtry lib/perl5
X%%OWNETPERL%%@dirrmtry %%PERL5_MAN3%%
X
X%%OWPERL%%@dirrmtry %%SITE_PERL%%
X%%OWPERL%%@dirrmtry lib/perl5/site_perl
X
Xman/man1/libowcapi.1.gz
Xman/man1/libownet.1.gz
Xman/man1/owcapi.1.gz
Xman/man1/owdir.1.gz
Xman/man1/owfs.1.gz
Xman/man1/owftpd.1.gz
Xman/man1/owget.1.gz
Xman/man1/owhttpd.1.gz
Xman/man1/owmon.1.gz
Xman/man1/ownet.1.gz
Xman/man1/ownetapi.1.gz
Xman/man1/ownetlib.1.gz
Xman/man1/owpresent.1.gz
Xman/man1/owread.1.gz
Xman/man1/owserver.1.gz
Xman/man1/owshell.1.gz
Xman/man1/owtap.1.gz
Xman/man1/owwrite.1.gz
Xman/man3/DS1427.3.gz
Xman/man3/DS1821.3.gz
Xman/man3/DS1822.3.gz
Xman/man3/DS1825.3.gz
Xman/man3/DS18B20.3.gz
Xman/man3/DS18S20.3.gz
Xman/man3/DS1904.3.gz
Xman/man3/DS1920.3.gz
Xman/man3/DS1921.3.gz
Xman/man3/DS1963L.3.gz
Xman/man3/DS1963S.3.gz
Xman/man3/DS1971.3.gz
Xman/man3/DS1977.3.gz
Xman/man3/DS1982.3.gz
Xman/man3/DS1982U.3.gz
Xman/man3/DS1985.3.gz
Xman/man3/DS1985U.3.gz
Xman/man3/DS1986.3.gz
Xman/man3/DS1986U.3.gz
Xman/man3/DS1990A.3.gz
Xman/man3/DS1991.3.gz
Xman/man3/DS1992.3.gz
Xman/man3/DS1993.3.gz
Xman/man3/DS1994.3.gz
Xman/man3/DS1995.3.gz
Xman/man3/DS1996.3.gz
Xman/man3/DS2401.3.gz
Xman/man3/DS2404.3.gz
Xman/man3/DS2404S.3.gz
Xman/man3/DS2405.3.gz
Xman/man3/DS2406.3.gz
Xman/man3/DS2407.3.gz
Xman/man3/DS2408.3.gz
Xman/man3/DS2409.3.gz
Xman/man3/DS2411.3.gz
Xman/man3/DS2413.3.gz
Xman/man3/DS2415.3.gz
Xman/man3/DS2417.3.gz
Xman/man3/DS2423.3.gz
Xman/man3/DS2430A.3.gz
Xman/man3/DS2431.3.gz
Xman/man3/DS2433.3.gz
Xman/man3/DS2436.3.gz
Xman/man3/DS2437.3.gz
Xman/man3/DS2438.3.gz
Xman/man3/DS2450.3.gz
Xman/man3/DS2502-E48.3.gz
Xman/man3/DS2502-UNW.3.gz
Xman/man3/DS2502.3.gz
Xman/man3/DS2505-UNW.3.gz
Xman/man3/DS2505.3.gz
Xman/man3/DS2506-UNW.3.gz
Xman/man3/DS2506.3.gz
Xman/man3/DS2720.3.gz
Xman/man3/DS2740.3.gz
Xman/man3/DS2751.3.gz
Xman/man3/DS2755.3.gz
Xman/man3/DS2756.3.gz
Xman/man3/DS2760.3.gz
Xman/man3/DS2761.3.gz
Xman/man3/DS2762.3.gz
Xman/man3/DS2770.3.gz
Xman/man3/DS2780.3.gz
Xman/man3/DS2781.3.gz
Xman/man3/DS2788.3.gz
Xman/man3/DS2804.3.gz
Xman/man3/DS2890.3.gz
Xman/man3/DS28E04.3.gz
Xman/man3/DS28EA00.3.gz
Xman/man3/DS28EC20.3.gz
Xman/man3/EDS.3.gz
Xman/man3/EDS0064.3.gz
Xman/man3/EDS0065.3.gz
Xman/man3/EDS0066.3.gz
Xman/man3/EDS0067.3.gz
Xman/man3/EDS0068.3.gz
Xman/man3/EDS0071.3.gz
Xman/man3/EDS0072.3.gz
Xman/man3/EDS0070.3.gz
Xman/man3/EDS0080.3.gz
Xman/man3/EDS0082.3.gz
Xman/man3/EDS0083.3.gz
Xman/man3/EDS0085.3.gz
Xman/man3/EDS0090.3.gz
Xman/man3/MAX31820.3.gz
Xman/man3/MAX31850.3.gz
Xman/man3/MAX31851.3.gz
Xman/man3/EEEF.3.gz
Xman/man3/LCD.3.gz
Xman/man3/MAX31826.3.gz
Xman/man3/OWNet.3.gz
Xman/man3/Thermachron.3.gz
Xman/man3/UVI.3.gz
Xman/man3/mAM001.3.gz
Xman/man3/mCM001.3.gz
Xman/man3/mDI001.3.gz
Xman/man3/mRS001.3.gz
Xman/man3/owperl.3.gz
Xman/man5/owfs.5.gz
Xman/man5/owfs.conf.5.gz
Xman/mann/ow.n.gz
Xman/mann/owtcl.n.gz
5088e4b1bec25b51f12a498bdf84adff
echo x - owfs/distinfo
sed 's/^X//' >owfs/distinfo << '1dec9eef3594f19912bab51e88353781'
XSHA256 (owfs-2.9p4.tar.gz) = 69e659c596fced9fb457d5c81640f270f562385ee0994b20199b2a3a3ff217b9
XSIZE (owfs-2.9p4.tar.gz) = 1444264
1dec9eef3594f19912bab51e88353781
echo x - owfs/Makefile.options
sed 's/^X//' >owfs/Makefile.options << '5ea0e8e8eb89310d8f9e06877d22e9de'
XOPTIONS_DEFINE = DEBUG \
X	OWSHELL \
X	OWNETLIB \
X	I2C \
X	OWHTTPD \
X	OWFTPD \
X	OWSERVER \
X	OWTAP \
X	OWMALLOC \
X	OWTRAFFIC \
X	OWMON \
X	OWCAPI \
X	OWPERL \
X	OWPHP \
X	OWPYTHON \
X	OWTCL \
X	PROFILING \
X	OWFS \
X	ZERO \
X	USB
X
X# Options disabled
X#	PARPORT	- linux/parport.h not available
X#	W1			- no support on FreeBSD
X
X
XDEBUG_DESC=		Enable debug-output
XOWSHELL_DESC=		Enable owshell support
XOWNETLIB_DESC=		Enable ownetlib support
XI2C_DESC=		Enable i2c (DS2482-x00) support
XOWHTTPD_DESC=		Enable owhttpd module
XOWFTPD_DESC=		Enable owftpd module
XOWSERVER_DESC=		Enable owserver module
XOWMALLOC_DESC=		Enable owmalloc checking
XOWTRAFFIC_DESC=		Enable bus traffic reports
XOWTAP_DESC=		Enable owtap module (X11)
XOWMON_DESC=		Enable owmon module (X11)
XOWCAPI_DESC=		Enable owcapi module
XOWPERL_DESC=		Enable owperl module
XOWPHP_DESC=		Enable owphp module (BROKEN)
XOWPYTHON_DESC=		Enable owpython module
XOWTCL_DESC=		Enable owtcl module
XPROFILING_DESC=		Enable profiling (BROKEN)
XOWFS_DESC=		Enable owfs module (FUSE support)
XZERO_DESC=		Enable zeroconf/bonjour
XUSB_DESC=		Enable 1-Wire usb DS2490 support
X
X# Options disabled
X#PARPORT_DESC=		Enable 1-Wire parallel port DS1410E support
X#W1_DESC=Enable w1 support
X
XOPTIONS_DEFAULT=DEBUG\
X	OWSHELL\
X	OWNETLIB\
X	OWHTTPD\
X	OWFTPD\
X	OWSERVER\
X	OWCAPI\
X	USB
5ea0e8e8eb89310d8f9e06877d22e9de
echo x - owfs/Makefile
sed 's/^X//' >owfs/Makefile << '78f60c1d940cc68c11d6f085bcf88943'
X# Created by: Johan Strom <johna@stromnet.se>
X# $FreeBSD$
X
XPORTNAME=      owfs
XPORTVERSION=   2.9p4
XCATEGORIES=    comms
XMASTER_SITES=  SF/owfs/owfs/${PORTVERSION}
X
XMAINTAINER=    johan@stromnet.se
XCOMMENT=       OWFS -- 1-Wire file system
X
XLICENSE=			GPLv2
X
XLIBTOOLIZE_ARGS=-c -f -i
XACLOCAL_ARGS= -I${LOCALBASE}/share/aclocal
X
XUSE_AUTOTOOLS=libtoolize aclocal autoheader autoconf automake
XAUTOMAKE_ARGS=--add-missing
XGNU_CONFIGURE=On
X
X# This takes a few seconds so give the user some notice
Xpre-configure:
X	${MKDIR} ${WRKSRC}/m4
X	@echo "Preparing build using autotools..."
X
X# Mimic bsd.port.mk Magic as per http://lists.freebsd.org/pipermail/freebsd-perl/2005-June/000666.html
X# This is to avoid a perllocal.pod file
X#post-configure:
X#	cd ${CONFIGURE_WRKSRC}/module/swig/perl5/OW && \
X#		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
X
XPLIST_SUB=		OWFS_VERSION=${PORTVERSION}
X
XMAN1=          owfs.1 libowcapi.1 libownet.1 owcapi.1 owdir.1 \
X					owftpd.1 owget.1 owhttpd.1 owmon.1 \
X					ownet.1 ownetapi.1 ownetlib.1 owpresent.1 \
X					owread.1 owserver.1 owshell.1 owtap.1 owwrite.1
XMAN3=				DS1427.3 DS1821.3 DS1822.3 DS1825.3 DS18B20.3 \
X					DS18S20.3 DS1904.3 DS1920.3 DS1921.3 DS1963L.3 DS1963S.3 \
X					DS1971.3 DS1977.3 DS1982.3 DS1982U.3 DS1985.3 DS1985U.3 \
X					DS1986.3 DS1986U.3 DS1990A.3 DS1991.3 DS1992.3 DS1993.3 \
X					DS1994.3 DS1995.3 DS1996.3 DS2401.3 DS2404.3 DS2404S.3 \
X					DS2405.3 DS2406.3 DS2407.3 DS2408.3 DS2409.3 DS2411.3 \
X					DS2413.3 DS2415.3 DS2417.3 DS2423.3 DS2430A.3 DS2431.3 \
X					DS2433.3 DS2436.3 DS2437.3 DS2438.3 DS2450.3 DS2502-E48.3 \
X					DS2502-UNW.3 DS2502.3 DS2505-UNW.3 DS2505.3 DS2506-UNW.3 \
X					DS2506.3 DS2720.3 DS2740.3 DS2751.3 DS2755.3 DS2756.3 \
X					DS2760.3 DS2761.3 DS2762.3 DS2770.3 DS2780.3 DS2781.3 \
X					DS2788.3 DS2804.3 DS2890.3 DS28E04.3 DS28EA00.3 DS28EC20.3 \
X					EDS.3 EDS0064.3 EDS0065.3 EDS0066.3 EDS0067.3 EDS0068.3 \
X					EDS0071.3 EDS0072.3 EEEF.3 LCD.3 OWNet.3 Thermachron.3 \
X					UVI.3 owperl.3
X
XMAN5=			owfs.5 owfs.conf.5
XMANN=			ow.n owtcl.n
X
X.include "Makefile.options"
X
X.include <bsd.port.options.mk>
X
XCONFIGURE_ARGS+=		--enable-owlib
X
X.if ${PORT_OPTIONS:MDEBUG}
XCONFIGURE_ARGS+=    --enable-debug
X.else
XCONFIGURE_ARGS+=    --disable-debug
X.endif
X
X.if ${PORT_OPTIONS:MOWSHELL}
XCONFIGURE_ARGS+=		--enable-owshell
XPLIST_SUB+=	OWSHELL=""
X.else
XCONFIGURE_ARGS+=		--disable-owshell
XPLIST_SUB+=	OWSHELL="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWNETLIB}
XCONFIGURE_ARGS+=		--enable-ownetlib \
X							--enable-ownet
XPLIST_SUB+=	OWNET=""
X.else
XCONFIGURE_ARGS+=		--disable-ownetlib \
X							--disable-ownet
XPLIST_SUB+=	OWNET="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MI2C}
XCONFIGURE_ARGS+=		--enable-i2c
X.else
XCONFIGURE_ARGS+=		--disable-i2c
X.endif
X
X# Linux specific kernel driver
X#.if ${PORT_OPTIONS:MW1}
X#CONFIGURE_ARGS+=		--enable-w1
X#.else
XCONFIGURE_ARGS+=		--disable-w1
X#.endif
X
X.if ${PORT_OPTIONS:MOWHTTPD}
XCONFIGURE_ARGS+=		--enable-owhttpd
XPLIST_SUB+=	OWHTTPD=""
X.else
XCONFIGURE_ARGS+=		--disable-owhttpd
XPLIST_SUB+=	OWHTTPD="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWFTPD}
XCONFIGURE_ARGS+=		--enable-owftpd
XPLIST_SUB+=	OWFTPD=""
X.else
XCONFIGURE_ARGS+=		--disable-owftpd
XPLIST_SUB+=	OWFTPD="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWSERVER}
XCONFIGURE_ARGS+=		--enable-owserver
XPLIST_SUB+=	OWSERVER=""
X.else
XCONFIGURE_ARGS+=		--disable-owserver
XPLIST_SUB+=	OWSERVER="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWTAP}
XUSE_TK=yes
XUSE_TK_WRAPPER=yes
XCONFIGURE_ARGS+=		--enable-owtap
XPLIST_SUB+=	OWTAP=""
X.else
XCONFIGURE_ARGS+=		--disable-owtap
XPLIST_SUB+=	OWTAP="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWMALLOC}
XCONFIGURE_ARGS+=		--enable-owmalloc
X.else
XCONFIGURE_ARGS+=		--disable-owmalloc
X.endif
X
X.if ${PORT_OPTIONS:MOWTRAFFIC}
XCONFIGURE_ARGS+=		--enable-owtraffic
X.else
XCONFIGURE_ARGS+=		--disable-owtraffic
X.endif
X
X.if ${PORT_OPTIONS:MOWMON}
XUSE_TK=yes
XUSE_TK_WRAPPER=yes
XCONFIGURE_ARGS+=		--enable-owmon
XPLIST_SUB+=	OWMON=""
X.else
XCONFIGURE_ARGS+=		--disable-owmon
XPLIST_SUB+=	OWMON="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MOWCAPI}
XCONFIGURE_ARGS+=		--enable-owcapi
XPLIST_SUB+=	OWCAPI=""
X.else
XCONFIGURE_ARGS+=		--disable-owcapi
XPLIST_SUB+=	OWCAPI="@comment "
X.endif
X
XSWIG=0
X
X.if ${PORT_OPTIONS:MOWPERL}
XUSES+=perl5
XSWIG=1
XCONFIGURE_ARGS+=		--enable-owperl
XPLIST_SUB+=	OWPERL=""
X
X.if ${PORT_OPTIONS:MOWNETLIB}
XPLIST_SUB+=	OWNETPERL=""
X.else
XPLIST_SUB+=	OWNETPERL="@comment "
X.endif
X
X.else
XCONFIGURE_ARGS+=		--disable-owperl
XPLIST_SUB+=	OWPERL="@comment "
XPLIST_SUB+=	OWNETPERL="@comment "
X.endif
X
X# BROKEN
X.if ${PORT_OPTIONS:MOWPHP}
XSWIG=1
XCONFIGURE_ARGS+=		--enable-owphp
X.else
XCONFIGURE_ARGS+=		--disable-owphp
X.endif
X
X.if ${PORT_OPTIONS:MOWPYTHON}
XUSE_PYTHON=yes
X.include "${PORTSDIR}/Mk/bsd.python.mk"
XSWIG=1
XCONFIGURE_ARGS+=		--enable-owpython
XPLIST_SUB+=	OWPYTHON=""
X
X.if ${PORT_OPTIONS:MOWNETLIB}
XPLIST_SUB+=	OWNETPYTHON=""
X.else
XPLIST_SUB+=	OWNETPYTHON="@comment "
X.endif
X
X.else
XCONFIGURE_ARGS+=		--disable-owpython
XPLIST_SUB+=	OWPYTHON="@comment "
XPLIST_SUB+=	OWNETPYTHON="@comment "
X.endif
X
X.if ${SWIG}
XBUILD_DEPENDS+=${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20
XCONFIGURE_ARGS+=		--enable-swig SWIG=${LOCALBASE}/bin/swig2.0
X.else
XCONFIGURE_ARGS+=		--disable-swig
X.endif
X
X.if ${PORT_OPTIONS:MOWTCL}
XUSE_TCL=yes
X.include "${PORTSDIR}/Mk/bsd.tcl.mk"
XCONFIGURE_ARGS+=		--enable-owtcl --with-tcl=${TCL_LIBDIR}
XPLIST_SUB+=	OWTCL=""
X.else
XPLIST_SUB+=	OWTCL="@comment "
XCONFIGURE_ARGS+=		--disable-owtcl
X.endif
X
X.if ${PORT_OPTIONS:MPROFILING}
XCONFIGURE_ARGS+=		--enable-profiling
X# XXX Broken due to -lgcc_p
X.else
XCONFIGURE_ARGS+=		--disable-profiling
X.endif
X
X.if ${PORT_OPTIONS:MOWFS}
XCONFIGURE_ARGS+=		--enable-owfs
XPLIST_SUB+=	OWFS=""
X# xxx: Not tested, it compiles and all but not sure if fusefs actually works on freebsd:
XLIB_DEPENDS+=libfuse.so:${PORTSDIR}/sysutils/fusefs-libs
X.else
XCONFIGURE_ARGS+=		--disable-owfs
XPLIST_SUB+=	OWFS="@comment "
X.endif
X
X.if ${PORT_OPTIONS:MZERO}
XCONFIGURE_ARGS+=		--enable-zero
X.else
XCONFIGURE_ARGS+=		--disable-zero
X.endif
X
X.if ${PORT_OPTIONS:MUSB}
XCONFIGURE_ARGS+=		--enable-usb
XLDFLAGS+=				-lusb
X.else
XCONFIGURE_ARGS+=		--disable-usb
X.endif
X
X#.if ${PORT_OPTIONS:MPARPORT}
X#CONFIGURE_ARGS+=		--enable-parport
X#.else
XCONFIGURE_ARGS+=		--disable-parport
X#.endif
X
X.include <bsd.port.mk>
78f60c1d940cc68c11d6f085bcf88943
echo x - owfs/pkg-descr
sed 's/^X//' >owfs/pkg-descr << 'fa5a957eb56e5fde7ffc9fbd48ab6ba4'
XOWFS -- 1-Wire file system.
XOWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim.
X
XOWFS is a simple and flexible program to monitor and control the physical
Xenvironment. You can write scripts to read temperature, flash lights, write
Xto an LCD, log and graph, ...
X
XWWW: http://www.owfs.org/
fa5a957eb56e5fde7ffc9fbd48ab6ba4
exit
--- owfs.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140502094455.4167647FB>