e273d4d26b
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. Submitted by: dumbbell@
34 lines
710 B
Makefile
34 lines
710 B
Makefile
# 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>
|