aboutsummaryrefslogtreecommitdiff
path: root/graphics/squish
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-22 19:11:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-22 19:11:57 +0000
commit064cbf1f1e17c0201cfaea518eeba4c6d637b52a (patch)
tree83c9e5f37bf63c96a715017974973e0d8b836e28 /graphics/squish
parent172360a1fa146b760fd656278517db1ae0861097 (diff)
downloadports-064cbf1f1e17c0201cfaea518eeba4c6d637b52a.tar.gz
ports-064cbf1f1e17c0201cfaea518eeba4c6d637b52a.zip
- Respect PREFIX/LOCALBASE (always installs into /usr/local otherwise)
- Support staging - Convert USE_GMAKE to USES - Pet portlint by reordering stuff a bit PR: 183062 Submitted by: amdmi3 Approved by: maintainer email bounces
Notes
Notes: svn path=/head/; revision=331307
Diffstat (limited to 'graphics/squish')
-rw-r--r--graphics/squish/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/squish/Makefile b/graphics/squish/Makefile
index 667c26578398..da0740eab377 100644
--- a/graphics/squish/Makefile
+++ b/graphics/squish/Makefile
@@ -10,20 +10,20 @@ MAINTAINER= me@rdb.name
COMMENT= Open source DXT compression library
LICENSE= MIT
-USE_GMAKE= YES
+
+USES= gmake
+MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX}
PLIST_FILES= include/squish.h \
lib/libsquish.a
+CXXFLAGS+= -fPIC
OPTIONS_RADIO= RG1
OPTIONS_RADIO_RG1= ALTIVEC SSE
ALTIVEC_DESC= Use Altivec instructions
RG1_DESC= Optimizations Selection
-NO_STAGE= yes
.include <bsd.port.options.mk>
-CXXFLAGS+= -fPIC
-
.if ${PORT_OPTIONS:MALTIVEC}
CXXFLAGS+= -DSQUISH_USE_ALTIVEC=1 -maltivec
.endif