summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libgta/Makefile34
-rw-r--r--devel/libgta/distinfo2
-rw-r--r--devel/libgta/pkg-descr14
-rw-r--r--devel/libgta/pkg-plist17
5 files changed, 68 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fd3e348907ac..4530bb4cbaca 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -903,6 +903,7 @@
SUBDIR += libgpc
SUBDIR += libgsf
SUBDIR += libgsf-gnome
+ SUBDIR += libgta
SUBDIR += libgtop
SUBDIR += libgutenfetch
SUBDIR += libhash
diff --git a/devel/libgta/Makefile b/devel/libgta/Makefile
new file mode 100644
index 000000000000..a46e01eb59ea
--- /dev/null
+++ b/devel/libgta/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libgta
+# Date created: 2012-06-10
+# Whom: lbartoletti <coder@tuxfamily.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgta
+PORTVERSION= 1.0.2
+CATEGORIES= devel
+MASTER_SITES= SAVANNAH/gta
+
+MAINTAINER= coder@tuxfamily.org
+COMMENT= Libgta is a portable library that implements the GTA file format
+
+OPTIONS_DEFINE= DOCS
+
+USE_XZ= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+
+.include <bsd.port.options.mk>
+
+post-patch:
+.if empty(PORT_OPTIONS:MDOCS)
+ @${REINPLACE_CMD} -e '/^SUBDIRS = / s|doc||' ${WRKSRC}/Makefile.in
+.endif
+
+regression-test test: build
+ cd ${WRKSR}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check
+
+.include <bsd.port.mk>
diff --git a/devel/libgta/distinfo b/devel/libgta/distinfo
new file mode 100644
index 000000000000..dd22056f61f7
--- /dev/null
+++ b/devel/libgta/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libgta-1.0.2.tar.xz) = ec33cffedb216e604788b3c7b9b24b2e1bcbdaa9284d0c7d940cb1feca80d260
+SIZE (libgta-1.0.2.tar.xz) = 296424
diff --git a/devel/libgta/pkg-descr b/devel/libgta/pkg-descr
new file mode 100644
index 000000000000..84e1ce3e33ac
--- /dev/null
+++ b/devel/libgta/pkg-descr
@@ -0,0 +1,14 @@
+Libgta is a portable library that implements the Generic Tagged Array (GTA) file
+format. This file format has the following features:
+- GTAs can store any kind of data in multidimensional arrays
+- GTAs can optionally use simple tags to store rich metadata
+- GTAs are streamable, which allows direct reading from and writing to pipes,
+ network sockets, and other non-seekable media
+- GTAs can use ZLIB, BZIP2, or XZ compression, allowing a tradeoff between
+ compression/decompression speed and compression ratio
+- Uncompressed GTA files allow easy out-of-core data access for very large
+ arrays
+
+See http://gta.nongnu.org/ for more information.
+
+WWW: http://gta.nongnu.org/libgta.html
diff --git a/devel/libgta/pkg-plist b/devel/libgta/pkg-plist
new file mode 100644
index 000000000000..0c504af94900
--- /dev/null
+++ b/devel/libgta/pkg-plist
@@ -0,0 +1,17 @@
+include/gta/gta.h
+include/gta/gta.hpp
+include/gta/gta_version.h
+lib/libgta.a
+lib/libgta.so
+lib/libgta.so.0
+libdata/pkgconfig/gta.pc
+%%PORTDOCS%%%%DOCSDIR%%/example-basic.c
+%%PORTDOCS%%%%DOCSDIR%%/example-basic.cpp
+%%PORTDOCS%%%%DOCSDIR%%/example-block-io.c
+%%PORTDOCS%%%%DOCSDIR%%/example-block-io.cpp
+%%PORTDOCS%%%%DOCSDIR%%/example-stream-io.c
+%%PORTDOCS%%%%DOCSDIR%%/example-stream-io.cpp
+%%PORTDOCS%%%%DOCSDIR%%/example-tags.c
+%%PORTDOCS%%%%DOCSDIR%%/example-tags.cpp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/gta