summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrodent <rodent>2013-05-26 22:57:53 +0000
committerrodent <rodent>2013-05-26 22:57:53 +0000
commit5b4ddd711546676b0b557c1701efe57ca82c6efa (patch)
treef8ed6f8a6d6c4cff08d491c1d67378eb2298a388 /comms
parentb8e892986ead81743643e39d2d661fbc5d4afd1a (diff)
downloadpkgsrc-5b4ddd711546676b0b557c1701efe57ca82c6efa.tar.gz
Import libticables2-1.3.3 as comms/libticables2.
"Tilp is a Linking Program" - The TiLP project aims to develop a multi-platform linking program for use with all TI graphing calculators (TI73 ... V200PLT). Supported link cables are: GrayLink, BlackLink, SilverLink, DirectLink Parallel Link, VTi (virtual) and TiEmu (virtual). Supported hand-helds are: TI73, TI82, TI83, TI83+, TI84+, TI85, TI86, TI89, Titanium, TI92, TI92+, V200, NSpire, NSpire-CAS. Capabilities: silent link, screendump, directory listing, send/recv of vars, send/Recv of backups, send/recv of FLASH apps, send of OS, ROM dumping, ID LIST, clock, create folder, delete var/app...
Diffstat (limited to 'comms')
-rw-r--r--comms/libticables2/DESCR12
-rw-r--r--comms/libticables2/Makefile26
-rw-r--r--comms/libticables2/PLIST8
-rw-r--r--comms/libticables2/buildlink3.mk30
-rw-r--r--comms/libticables2/distinfo5
-rw-r--r--comms/libticables2/options.mk24
6 files changed, 105 insertions, 0 deletions
diff --git a/comms/libticables2/DESCR b/comms/libticables2/DESCR
new file mode 100644
index 00000000000..53e02c82cb4
--- /dev/null
+++ b/comms/libticables2/DESCR
@@ -0,0 +1,12 @@
+"Tilp is a Linking Program" - The TiLP project aims to develop a multi-platform
+linking program for use with all TI graphing calculators (TI73 ... V200PLT).
+
+Supported link cables are: GrayLink, BlackLink, SilverLink, DirectLink Parallel
+Link, VTi (virtual) and TiEmu (virtual).
+
+Supported hand-helds are: TI73, TI82, TI83, TI83+, TI84+, TI85, TI86, TI89,
+Titanium, TI92, TI92+, V200, NSpire, NSpire-CAS.
+
+Capabilities: silent link, screendump, directory listing, send/recv of vars,
+send/Recv of backups, send/recv of FLASH apps, send of OS, ROM dumping, ID LIST,
+clock, create folder, delete var/app...
diff --git a/comms/libticables2/Makefile b/comms/libticables2/Makefile
new file mode 100644
index 00000000000..466f7595d46
--- /dev/null
+++ b/comms/libticables2/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/05/26 22:57:53 rodent Exp $
+#
+
+DISTNAME= libticables2-1.3.3
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tilp/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://lpg.ticalc.org/prj_tilp/
+COMMENT= Multi-platform linking program for TI graphing calculators
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= intltool msgfmt msgmerge pkg-config xgettext
+USE_PKGLOCALEDIR= yes
+
+PKGCONFIG_OVERRIDE+= ticables2.pc.in
+
+.include "options.mk"
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/libticables2/PLIST b/comms/libticables2/PLIST
new file mode 100644
index 00000000000..7f646fb6921
--- /dev/null
+++ b/comms/libticables2/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/26 22:57:53 rodent Exp $
+include/tilp2/export1.h
+include/tilp2/stdints1.h
+include/tilp2/ticables.h
+include/tilp2/timeout.h
+lib/libticables2.la
+lib/pkgconfig/ticables2.pc
+${PLIST.nls}share/locale/fr/LC_MESSAGES/libticables2.mo
diff --git a/comms/libticables2/buildlink3.mk b/comms/libticables2/buildlink3.mk
new file mode 100644
index 00000000000..ebc42cb4bea
--- /dev/null
+++ b/comms/libticables2/buildlink3.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/05/26 22:57:53 rodent Exp $
+
+BUILDLINK_TREE+= libticables2
+
+.if !defined(LIBTICABLES2_BUILDLINK3_MK)
+LIBTICABLES2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libticables2+= libticables2>=1.3.3
+BUILDLINK_PKGSRCDIR.libticables2?= ../../comms/libticables2
+
+pkgbase := libticables2
+.include "../../mk/pkg-build-options.mk"
+
+
+.if !empty(PKG_BUILD_OPTIONS.libticables2:Mlibusb)
+.if empty(PKG_BUILD_OPTIONS.libticables2:Mlibusb1)
+.include "../../devel/libusb/buildlink3.mk"
+.endif
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.libticables2:Mlibusb1)
+.include "../../devel/libusb1/buildlink3.mk"
+.endif
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.endif # LIBTICABLES2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libticables2
diff --git a/comms/libticables2/distinfo b/comms/libticables2/distinfo
new file mode 100644
index 00000000000..9c9786d39f1
--- /dev/null
+++ b/comms/libticables2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/05/26 22:57:53 rodent Exp $
+
+SHA1 (libticables2-1.3.3.tar.bz2) = 468fc783e07a6349f27185498f340f5ee6af565c
+RMD160 (libticables2-1.3.3.tar.bz2) = 0d8df15f82fe587caa235672c1ccf357e5066404
+Size (libticables2-1.3.3.tar.bz2) = 495883 bytes
diff --git a/comms/libticables2/options.mk b/comms/libticables2/options.mk
new file mode 100644
index 00000000000..c25f6a9ad09
--- /dev/null
+++ b/comms/libticables2/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1 2013/05/26 22:57:53 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libticables2
+PKG_SUPPORTED_OPTIONS= libusb libusb1 nls
+PKG_SUGGESTED_OPTIONS+= libusb nls
+PLIST_VARS+= nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlibusb)
+BUILDLINK_ABI_DEPENDS.libusb+= libusb>=0.1.12
+.include "../../devel/libusb/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlibusb1)
+.include "../../devel/libusb1/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-libusb10
+.endif
+
+.if !empty(PKG_OPTIONS:Mnls)
+PLIST.nls= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif