summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-09-05 11:03:22 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-09-05 11:03:22 +0000
commit0b3a5922205881f2ad3e8984529368ffc41b4a61 (patch)
tree8035a72382f481738f7f913b9eaf90f0a81254d6 /comms
parent- Update to 2.4.124 (diff)
- Update to 1.0.8.
PR: ports/115970 Submitted by: Tijl Coosemans <tijl@ulyssis.org> (maintainer) Approved by: stas (mentor)
Notes
Notes: svn path=/head/; revision=198814
Diffstat (limited to 'comms')
-rw-r--r--comms/libticables2/Makefile16
-rw-r--r--comms/libticables2/distinfo6
2 files changed, 15 insertions, 7 deletions
diff --git a/comms/libticables2/Makefile b/comms/libticables2/Makefile
index 79a53406cf73..425c2725c679 100644
--- a/comms/libticables2/Makefile
+++ b/comms/libticables2/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= libticables2
-PORTVERSION= 1.0.5
+PORTVERSION= 1.0.8
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= gtktiemu
+MASTER_SITE_SUBDIR= tilp
+DISTFILES= tilibs2-20070829${EXTRACT_SUFX}
MAINTAINER= tijl@ulyssis.org
COMMENT= TI calculator link cables library
@@ -17,7 +18,6 @@ COMMENT= TI calculator link cables library
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
-USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack pkgconfig
USE_LDCONFIG= yes
@@ -33,4 +33,12 @@ PLIST_SUB= NLS="@comment "
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"\
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKDIR}/tilibs2/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
+
+post-patch:
+ @${REINPLACE_CMD} 's/linux_check_libusb/bsd_check_libusb/' ${WRKSRC}/src/linux/link_slv.c
+
+.include <bsd.port.post.mk>
diff --git a/comms/libticables2/distinfo b/comms/libticables2/distinfo
index 381d251643cf..42ed00ccf2c3 100644
--- a/comms/libticables2/distinfo
+++ b/comms/libticables2/distinfo
@@ -1,3 +1,3 @@
-MD5 (libticables2-1.0.5.tar.bz2) = 9eb6e91764e0de32a48edfe0878e0f87
-SHA256 (libticables2-1.0.5.tar.bz2) = 43a7cbf424ceed8c5d0b1e25bb80da3b9d5c654c380a857b0990e96656ed3775
-SIZE (libticables2-1.0.5.tar.bz2) = 506274
+MD5 (tilibs2-20070829.tar.gz) = 6acaccfc29c241f4be899cc08d7cee3d
+SHA256 (tilibs2-20070829.tar.gz) = a9228570789980620aa2570fb3c46f536934f4b834701480e9d33b31284f3461
+SIZE (tilibs2-20070829.tar.gz) = 2080155