1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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:
Martin Wilke 2011-06-25 07:53:49 +00:00
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

View File

@ -889,6 +889,7 @@
SUBDIR += solang
SUBDIR += spcaview
SUBDIR += springgraph
SUBDIR += squish
SUBDIR += sswf
SUBDIR += stamp
SUBDIR += stl2pov

39
graphics/squish/Makefile Normal file
View 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
View File

@ -0,0 +1,2 @@
SHA256 (squish-1.10.tar.gz) = aec3428badafdbb3b0ed1ea3a385a8029e65694282459f61b4a538963e8cada3
SIZE (squish-1.10.tar.gz) = 45009

View 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/