Changeset View
Changeset View
Standalone View
Standalone View
graphics/s2tc/Makefile
# Created by: David Naylor <dbn@FreeBSD.org> | # Created by: David Naylor <dbn@FreeBSD.org> | ||||
PORTNAME= s2tc | PORTNAME= s2tc | ||||
PORTVERSION= 1.0+20151228 | PORTVERSION= 1.0+20151228 | ||||
PORTREVISION= 2 | PORTREVISION= 2 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Subset of a well-known texture compression scheme | COMMENT= Subset of a well-known texture compression scheme | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd | BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd | ||||
TEST_DEPENDS= convert:graphics/ImageMagick6 \ | TEST_DEPENDS= nvcompress:graphics/nvidia-texture-tools \ | ||||
nvcompress:graphics/nvidia-texture-tools \ | |||||
wget:ftp/wget | wget:ftp/wget | ||||
USES= autoreconf libtool pathfix | USES= autoreconf libtool magick:6,test pathfix | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GH_ACCOUNT= divVerent | GH_ACCOUNT= divVerent | ||||
GH_TAGNAME= f6ec862 | GH_TAGNAME= f6ec862 | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
do-test: | do-test: | ||||
(cd ${WRKSRC}/tests; ${SETENV} use_external=false use_nvcompress=true ${SH} test.sh) | (cd ${WRKSRC}/tests; ${SETENV} use_external=false use_nvcompress=true ${SH} test.sh) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |