diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-08 18:49:58 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-08 18:49:58 +0800 |
commit | 1beba5657e1604b74b17ee4671fc926cd34bf6f0 (patch) | |
tree | f1cb9c713e19b5a4089b0b8c4cd00f168e037477 /comms | |
parent | 90a7499fd195de1ba00a097aff9705e61b0d502e (diff) | |
download | freebsd-ports-gnome-1beba5657e1604b74b17ee4671fc926cd34bf6f0.tar.gz freebsd-ports-gnome-1beba5657e1604b74b17ee4671fc926cd34bf6f0.tar.zst freebsd-ports-gnome-1beba5657e1604b74b17ee4671fc926cd34bf6f0.zip |
[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>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/libticables/Makefile | 45 | ||||
-rw-r--r-- | comms/libticables/distinfo | 1 | ||||
-rw-r--r-- | comms/libticables/files/patch-configure | 10 | ||||
-rw-r--r-- | comms/libticables/pkg-descr | 8 | ||||
-rw-r--r-- | comms/libticables/pkg-plist | 16 |
6 files changed, 81 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index b8dd4b3a465f..40551a597c53 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -27,6 +27,7 @@ SUBDIR += kallers SUBDIR += kermit SUBDIR += kpsk + SUBDIR += libticables SUBDIR += lrzsz SUBDIR += ltmdm SUBDIR += mgetty+sendfax 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 |