aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-07-26 09:40:22 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-07-26 09:40:22 +0000
commite273d4d26b473f8ee7c505fe69572e27f15c0371 (patch)
treea3a451fd8c7c47e19ca65db762303ba575694bdd /graphics
parent91e91ce311664b4859e035790f855d2efad67a39 (diff)
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libtxc_dxtn/Makefile34
-rw-r--r--graphics/libtxc_dxtn/distinfo2
-rw-r--r--graphics/libtxc_dxtn/pkg-descr7
-rw-r--r--graphics/libtxc_dxtn/pkg-plist6
5 files changed, 50 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index cb9c7179b87c..337b64808a0c 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -538,6 +538,7 @@
SUBDIR += libspiro
SUBDIR += libsvg
SUBDIR += libsvg-cairo
+ SUBDIR += libtxc_dxtn
SUBDIR += libvisual
SUBDIR += libvisual04
SUBDIR += libvisual04-plugins
diff --git a/graphics/libtxc_dxtn/Makefile b/graphics/libtxc_dxtn/Makefile
new file mode 100644
index 000000000000..ae876f792d17
--- /dev/null
+++ b/graphics/libtxc_dxtn/Makefile
@@ -0,0 +1,34 @@
+# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libtxn_dxtn
+PORTVERSION= 20140604
+CATEGORIES= graphics
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Subset of a well-known texture compression scheme
+
+LICENSE= MIT
+
+BUILD_DEPENDS= libGL>=9.1.7:${PORTSDIR}/graphics/libGL
+
+USE_GITHUB= yes
+GH_ACCOUNT= divVerent
+GH_PROJECT= s2tc
+GH_COMMIT= 3d644da
+GH_TAGNAME= ${GH_COMMIT}
+
+USES= libtool pathfix pkgconfig
+PATHFIX_MAKEFILEIN=Makefile.am
+USE_AUTOTOOLS= aclocal autoconf libtoolize automake
+AUTOMAKE_ARGS= --add-missing --copy
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+CONFIGURE_ARGS+=--disable-tools
+
+CPPFLAGS+= -I${LOCALBASE}/include
+
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/graphics/libtxc_dxtn/distinfo b/graphics/libtxc_dxtn/distinfo
new file mode 100644
index 000000000000..a914c56a0c3a
--- /dev/null
+++ b/graphics/libtxc_dxtn/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libtxn_dxtn-20140604.tar.gz) = e6fe8827c68de7ba62f5e4996cec62ee3248bc6f98707d4a36425a537c179333
+SIZE (libtxn_dxtn-20140604.tar.gz) = 1397439
diff --git a/graphics/libtxc_dxtn/pkg-descr b/graphics/libtxc_dxtn/pkg-descr
new file mode 100644
index 000000000000..859f887fdd23
--- /dev/null
+++ b/graphics/libtxc_dxtn/pkg-descr
@@ -0,0 +1,7 @@
+S2TC is a patent-free S3TC compatible implementation and provides texture
+compression to Mesa.
+
+The library is automatically loaded if present and adds the OpenGL extensions
+GL_S3_s3tc and GL_EXT_texture_compression_s3tc.
+
+WWW: https://github.com/divVerent/s2tc
diff --git a/graphics/libtxc_dxtn/pkg-plist b/graphics/libtxc_dxtn/pkg-plist
new file mode 100644
index 000000000000..734e9783eec8
--- /dev/null
+++ b/graphics/libtxc_dxtn/pkg-plist
@@ -0,0 +1,6 @@
+include/txc_dxtn.h
+lib/libtxc_dxtn.a
+lib/libtxc_dxtn.so
+lib/libtxc_dxtn.so.0
+lib/libtxc_dxtn.so.0.0.0
+libdata/pkgconfig/txc_dxtn.pc