diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-05 18:53:39 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-05 18:53:39 +0000 |
commit | e1fd60f326dbb2a60e58c90f5e3c3bfe09ffd234 (patch) | |
tree | 5e800cfce6b3b56fbbf75002e9e69d85d0b43820 /comms/libticables2 | |
parent | Update to 1.1.3 (diff) |
Update to 1.3.2
fix libusb dependency on FreeBSD 8
PR: ports/148014
Submitted by: Tijl Coosemans (maintainer)
Notes
Notes:
svn path=/head/; revision=260597
Diffstat (limited to 'comms/libticables2')
-rw-r--r-- | comms/libticables2/Makefile | 23 | ||||
-rw-r--r-- | comms/libticables2/distinfo | 6 | ||||
-rw-r--r-- | comms/libticables2/pkg-plist | 2 |
3 files changed, 14 insertions, 17 deletions
diff --git a/comms/libticables2/Makefile b/comms/libticables2/Makefile index a7bf95e58bd1..d251d0b69072 100644 --- a/comms/libticables2/Makefile +++ b/comms/libticables2/Makefile @@ -6,18 +6,15 @@ # PORTNAME= libticables2 -PORTVERSION= 1.2.0 -PORTREVISION= 2 +PORTVERSION= 1.3.2 CATEGORIES= comms -MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.10 -DISTNAME= tilibs2-20080110 +MASTER_SITES= http://tijl.fastmail.fm/mirror/ MAINTAINER= tijl@coosemans.org COMMENT= TI calculator link cables library -LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb - USE_AUTOTOOLS= libtool:22 +USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= glib20 gnomehack pkgconfig USE_LDCONFIG= yes @@ -33,12 +30,12 @@ PLIST_SUB= NLS="@comment " CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"\ LDFLAGS="-L${LOCALBASE}/lib" -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -post-extract: - @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKDIR}/tilibs2/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} +.include <bsd.port.pre.mk> -post-patch: - @${REINPLACE_CMD} 's/linux_check_libusb/bsd_check_libusb/' ${WRKSRC}/src/linux/link_usb.c +.if ${OSVERSION} >= 800069 +CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" +.else +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/comms/libticables2/distinfo b/comms/libticables2/distinfo index e5933e3f4b2d..58cfdd69a91a 100644 --- a/comms/libticables2/distinfo +++ b/comms/libticables2/distinfo @@ -1,3 +1,3 @@ -MD5 (tilibs2-20080110.tar.gz) = d4d3a783fab1106677c0c238ae6ad1b3 -SHA256 (tilibs2-20080110.tar.gz) = 652935cb991f0a4adfcb21b15acefec78eecfce1c3b9799e6a67d93b126a5070 -SIZE (tilibs2-20080110.tar.gz) = 2139455 +MD5 (libticables2-1.3.2.tar.bz2) = 1d7f69288aaa16322f0b24d65e17fcf6 +SHA256 (libticables2-1.3.2.tar.bz2) = 5a8a43f1ca8fb7662c5a13035a6daa78699eb413e2300f09aaa6e286d9cab5cd +SIZE (libticables2-1.3.2.tar.bz2) = 421098 diff --git a/comms/libticables2/pkg-plist b/comms/libticables2/pkg-plist index 54448fda9a3a..e42b249699c3 100644 --- a/comms/libticables2/pkg-plist +++ b/comms/libticables2/pkg-plist @@ -5,7 +5,7 @@ include/tilp2/timeout.h lib/libticables2.a lib/libticables2.la lib/libticables2.so -lib/libticables2.so.1 +lib/libticables2.so.4 libdata/pkgconfig/ticables2.pc %%NLS%%share/locale/fr/LC_MESSAGES/libticables2.mo @dirrmtry include/tilp2 |