The squish library (abbreviated to libsquish) is an open
source DXT compression library written in C++. WWW: http://code.google.com/p/libsquish/ PR: ports/155712 Submitted by: Reinier de Blois <me at rdb.name>
This commit is contained in:
parent
ca03e96275
commit
ee57b82aa4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276333
4 changed files with 46 additions and 0 deletions
|
@ -889,6 +889,7 @@
|
|||
SUBDIR += solang
|
||||
SUBDIR += spcaview
|
||||
SUBDIR += springgraph
|
||||
SUBDIR += squish
|
||||
SUBDIR += sswf
|
||||
SUBDIR += stamp
|
||||
SUBDIR += stl2pov
|
||||
|
|
39
graphics/squish/Makefile
Normal file
39
graphics/squish/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# New ports collection makefile for: squish
|
||||
# Date created: 08 Mar 2011
|
||||
# Whom: Reinier de Blois <me@rdb.name>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= squish
|
||||
PORTVERSION= 1.10
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://libsquish.googlecode.com/files/
|
||||
|
||||
MAINTAINER= me@rdb.name
|
||||
COMMENT= Open source DXT compression library
|
||||
|
||||
LICENSE= MIT
|
||||
USE_GMAKE= YES
|
||||
PLIST_FILES= include/squish.h \
|
||||
lib/libsquish.a
|
||||
OPTIONS= ALTIVEC "Use Altivec instructions" off \
|
||||
SSE "Use SSE2 instructions" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_ALTIVEC) && defined(WITH_SSE)
|
||||
IGNORE= cannot build with both WITH_ALTIVEC and WITH_SSE
|
||||
.endif
|
||||
|
||||
CXXFLAGS+= -fPIC
|
||||
|
||||
.if defined(WITH_ALTIVEC)
|
||||
CXXFLAGS+= -DSQUISH_USE_ALTIVEC=1 -maltivec
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SSE)
|
||||
CXXFLAGS+= -DSQUISH_USE_SSE=2 -msse
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/squish/distinfo
Normal file
2
graphics/squish/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (squish-1.10.tar.gz) = aec3428badafdbb3b0ed1ea3a385a8029e65694282459f61b4a538963e8cada3
|
||||
SIZE (squish-1.10.tar.gz) = 45009
|
4
graphics/squish/pkg-descr
Normal file
4
graphics/squish/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
The squish library (abbreviated to libsquish) is an open
|
||||
source DXT compression library written in C++.
|
||||
|
||||
WWW: http://code.google.com/p/libsquish/
|
Loading…
Reference in a new issue