ports/166826: New port: misc/libphidget The driver for Phidgets device
Tz-Huan Huang
tzhuan at gmail.com
Tue Apr 10 16:40:05 UTC 2012
>Number: 166826
>Category: ports
>Synopsis: New port: misc/libphidget The driver for Phidgets device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 10 16:40:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Tz-Huan Huang
>Release: 9.0-CURRENT
>Organization:
National Taiwan University
>Environment:
FreeBSD tzhuan.csie.org 9.0-CURRENT FreeBSD 9.0-CURRENT #9 r223076M: Thu Jun 16 00:07:14 CST 2011 root at tzhuan.csie.org:/usr/obj/usr/src/sys/TZHUAN amd64
>Description:
The driver for Phidgets device.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# libphidget
# libphidget/pkg-descr
# libphidget/pkg-plist
# libphidget/distinfo
# libphidget/Makefile
#
echo c - libphidget
mkdir -p libphidget > /dev/null 2>&1
echo x - libphidget/pkg-descr
sed 's/^X//' >libphidget/pkg-descr << '87248c109bc074358460124327f762f0'
XPhidgets are a set of "plug and play" building blocks for low cost USB sensing
Xand control from your PC. This port is the driver for FreeBSD.
X
XWWW: http://www.phidgets.com/drivers.php
87248c109bc074358460124327f762f0
echo x - libphidget/pkg-plist
sed 's/^X//' >libphidget/pkg-plist << '10dc58a95c3896cc26717023c1a340d1'
Xinclude/phidget21.h
Xlib/libphidget21.a
Xlib/libphidget21.la
Xlib/libphidget21.so
Xlib/libphidget21.so.0
10dc58a95c3896cc26717023c1a340d1
echo x - libphidget/distinfo
sed 's/^X//' >libphidget/distinfo << 'fc2b5b4b6b644ea2344436a9ea3f1858'
XSHA256 (libphidget_2.1.8.20120216.tar.gz) = 8edd96930323de309bc91635d7fa717d599b8c49e92bd75692d2e1f4ce9c2f10
XSIZE (libphidget_2.1.8.20120216.tar.gz) = 759756
fc2b5b4b6b644ea2344436a9ea3f1858
echo x - libphidget/Makefile
sed 's/^X//' >libphidget/Makefile << '3db3ccf891a5d7f83e787ecbcbfa528f'
X# New ports collection makefile for: libphidget
X# Date created: 2012-04-10
X# Whom: Tz-Huan Huang <tzhuan at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= libphidget
XPORTVERSION= 2.1.8.20120216
XCATEGORIES= misc
XMASTER_SITES= http://www.phidgets.com/downloads/libraries/
XDISTFILES= libphidget_2.1.8.20120216.tar.gz
X
XMAINTAINER= tzhuan at gmail.com
XCOMMENT= The driver for Phidgets device.
X
XLIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= --disable-ldconfig
X
XUSE_LDCONFIG= yes
X
XOPTIONS= JNI "Compile in Java support" On
X#AVAHI "Turn on zeroconf (avahi)" Off \
X#BONJOUR "Turn on zeroconf and use bonjour instead of avahi" Off \
X#LOOKUP "Turn on zeroconf lookup" Off
X#LIBVIEW "Turn on Labview support" Off
X
X.if defined(WITHOUT_JNI)
XCONFIGURE_ARGS+=--disable-jni
X.else
XCONFIGURE_ARGS+=--enable-jni
XUSE_JAVA=yes
X.endif
X
X#.if defined(WITH_LOOKUP)
X#CONFIGURE_ARGS+=--enable-zeroconf-lookup
X#.else
X#CONFIGURE_ARGS+=--disable-zeroconf-lookup
X#.endif
X
X#.if defined(WITH_LIBVIEW)
X#CONFIGURE_ARGS+=--enable-labview
X#.else
X#CONFIGURE_ARGS+=--disable-labview
X#.endif
X
X#.if defined(WITH_BONJOUR)
X#CONFIGURE_ARGS+=--enable-zeroconf=bonjour
X#.elif defined(WITH_AVAHI)
X#CONFIGURE_ARGS+=--enable-zeroconf=avahi
X#.else
X#CONFIGURE_ARGS+=--disable-zeroconf
X#.endif
X
X.include <bsd.port.mk>
3db3ccf891a5d7f83e787ecbcbfa528f
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list