svn commit: r331307 - head/graphics/squish
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 22 19:11:58 UTC 2013
Author: amdmi3
Date: Tue Oct 22 19:11:57 2013
New Revision: 331307
URL: http://svnweb.freebsd.org/changeset/ports/331307
Log:
- 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
Modified:
head/graphics/squish/Makefile
Modified: head/graphics/squish/Makefile
==============================================================================
--- head/graphics/squish/Makefile Tue Oct 22 19:02:06 2013 (r331306)
+++ head/graphics/squish/Makefile Tue Oct 22 19:11:57 2013 (r331307)
@@ -10,20 +10,20 @@ MAINTAINER= me at 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
More information about the svn-ports-all
mailing list