summaryrefslogtreecommitdiff
path: root/comms/libticables
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 10:49:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 10:49:58 +0000
commit48dc1f0a8a93d49f21e5dfe3e61da113a2a98b70 (patch)
tree0b3e4976e300d1bb0b6a94932ee0f55607297c99 /comms/libticables
parentUpgrade to -> 4.0.2 (diff)
[new port] libticables: TI calculator link cables
Libticables is part of TiLP, a program to connect a TI calculator to your computer. This lib manages several types of cables (serial, parallel, usb). PR: ports/56134 Submitted by: Tijl Coosemans <tijl@ulyssis.org>
Notes
Notes: svn path=/head/; revision=88784
Diffstat (limited to 'comms/libticables')
-rw-r--r--comms/libticables/Makefile45
-rw-r--r--comms/libticables/distinfo1
-rw-r--r--comms/libticables/files/patch-configure10
-rw-r--r--comms/libticables/pkg-descr8
-rw-r--r--comms/libticables/pkg-plist16
5 files changed, 80 insertions, 0 deletions
diff --git a/comms/libticables/Makefile b/comms/libticables/Makefile
new file mode 100644
index 000000000000..10f056133da8
--- /dev/null
+++ b/comms/libticables/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: libticables
+# Date created: 27 August 2003
+# Whom: Tijl Coosemans <tijl@ulyssis.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libticables
+PORTVERSION= 3.7.7
+CATEGORIES= comms
+COMMENT= TI calculator link cables library
+MAINTAINER= tijl@ulyssis.org
+
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= tilp
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"\
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= ticables-config.1
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBUSB) || exists(${LOCALBASE}/bin/libusb-config)
+LIB_DEPENDS+= usb-0.1.7:${PORTSDIR}/devel/libusb
+.else
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "======================================================="
+ @${ECHO_MSG} "If you want to compile with USB support, hit Ctrl-C"
+ @${ECHO_MSG} "right now and use \"make WITH_LIBUSB=yes\""
+ @${ECHO_MSG} "======================================================="
+ @${ECHO_MSG}
+.endif #WITH_LIBUSB
+
+.include <bsd.port.post.mk>
diff --git a/comms/libticables/distinfo b/comms/libticables/distinfo
new file mode 100644
index 000000000000..06b969a3a859
--- /dev/null
+++ b/comms/libticables/distinfo
@@ -0,0 +1 @@
+MD5 (libticables-3.7.7.tar.gz) = d47c54228fb883a3cf1d5f779a926471
diff --git a/comms/libticables/files/patch-configure b/comms/libticables/files/patch-configure
new file mode 100644
index 000000000000..92ebfdd00652
--- /dev/null
+++ b/comms/libticables/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Wed Aug 27 21:54:38 2003
++++ configure Wed Aug 27 21:55:32 2003
+@@ -24767,6 +24767,7 @@
+
+
+
++LDFLAGS="$LDFLAGS $INTLLIBS"
+
+
+
diff --git a/comms/libticables/pkg-descr b/comms/libticables/pkg-descr
new file mode 100644
index 000000000000..9a5b124d4f3b
--- /dev/null
+++ b/comms/libticables/pkg-descr
@@ -0,0 +1,8 @@
+The ticables library is a multi-platform library which handles all
+Texas Instruments calculator link cables through a set of functions
+which constitutes a common API.
+
+WWW: http://tilp.info/
+
+- Tijl Coosemans
+tijl@ulyssis.org
diff --git a/comms/libticables/pkg-plist b/comms/libticables/pkg-plist
new file mode 100644
index 000000000000..19ad697c496e
--- /dev/null
+++ b/comms/libticables/pkg-plist
@@ -0,0 +1,16 @@
+bin/ticables-config
+include/tilp/cabl_def.h
+include/tilp/cabl_err.h
+include/tilp/cabl_int.h
+include/tilp/cabl_ver.h
+include/tilp/export.h
+include/tilp/intl.h
+include/tilp/ticables.h
+include/tilp/timeout.h
+lib/libticables.la
+lib/libticables.so
+lib/libticables.so.10
+libdata/pkgconfig/ticables.pc
+share/aclocal/ticables.m4
+share/locale/fr/LC_MESSAGES/libticables.mo
+@unexec rmdir %D/include/tilp 2>/dev/null || true