* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs, graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted * mesa-libs has a new WAYLAND option that enables platform support in libEGL * mesa-dri now depends on graphics/s2tc for compressed texture support [1] * re-remove obsolete dependency on makedepends [2] * correct sed fix backported from 17.1 [3] PR: 218799 (exp-run), 212762 [1], 218552 [2], 218562 [3] Submitted by: dbn [1], jbeich [2,3] Reported by: afiskon@devzen.ru [1] Reviewed by: kwm, johalun0@gmail.com Approved by: portmgr, swills (mentor) Differential Revision: https://reviews.freebsd.org/D10448
33 lines
724 B
Makefile
33 lines
724 B
Makefile
# Created by: David Naylor <dbn@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= s2tc
|
|
PORTVERSION= 1.0+20151228
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= dbn@FreeBSD.org
|
|
COMMENT= Subset of a well-known texture compression scheme
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= mesa-libs>=0:graphics/mesa-libs
|
|
TEST_DEPENDS= convert:graphics/ImageMagick \
|
|
nvcompress:graphics/nvidia-texture-tools \
|
|
wget:ftp/wget
|
|
|
|
USES= autoreconf libtool pathfix
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GH_ACCOUNT= divVerent
|
|
GH_TAGNAME= f6ec862
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
do-test:
|
|
(cd ${WRKSRC}/tests; ${SETENV} use_external=false use_nvcompress=true ${SH} test.sh)
|
|
|
|
.include <bsd.port.mk>
|