aboutsummaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/nvidia-texture-tools/Makefile
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'graphics/nvidia-texture-tools/Makefile')
-rw-r--r--graphics/nvidia-texture-tools/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile
index 5f7e02ca0e4f..33ea6a0bae80 100644
--- a/graphics/nvidia-texture-tools/Makefile
+++ b/graphics/nvidia-texture-tools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nvidia-texture-tools
DISTVERSION= 2.0.8-1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE \
http://mirror.amdmi3.ru/distfiles/
@@ -14,7 +15,7 @@ MASTER_SITES= GOOGLE_CODE \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Texture Tools with support for DirectX 10 texture formats
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
IlmImf.6:${PORTSDIR}/graphics/OpenEXR
@@ -23,8 +24,8 @@ USE_CMAKE= yes
CMAKE_ARGS= -DNVTT_SHARED=TRUE
MAKE_JOBS_SAFE= yes
-CFLAGS+= -fPIC
-CXXFLAGS+= -fPIC
+CFLAGS+= -fPIC -I${LOCALBASE}/include/libpng15
+CXXFLAGS+= -fPIC -I${LOCALBASE}/include/libpng15
WRKSRC= ${WRKDIR}/${PORTNAME}