summaryrefslogtreecommitdiffstats
path: root/graphics/libtxc_dxtn/Makefile
blob: ae876f792d170dc1cbc65021421c2a19d1d77725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>