ports/155712: New port: graphics/squish DXT compression library
Reinier de Blois
me at rdb.name
Sun Mar 20 07:10:01 UTC 2011
>Number: 155712
>Category: ports
>Synopsis: New port: graphics/squish DXT compression library
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 20 07:10:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Reinier de Blois
>Release: FreeBSD 8.1-RELEASE amd64
>Organization:
n/a
>Environment:
System: FreeBSD amnesia 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I wasn't sure on whether to name the port libsquish or squish, I didn't find any policy on this.
The squish library (abbreviated to libsquish) is an open
source DXT compression library written in C++.
wWW: http://code.google.com/p/libsquish/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# squish
# squish/Makefile
# squish/distinfo
# squish/pkg-descr
#
echo c - squish
mkdir -p squish > /dev/null 2>&1
echo x - squish/Makefile
sed 's/^X//' >squish/Makefile << '44fa76f0179384968266f038c2b87abe'
X# New ports collection makefile for: squish
X# Date created: 08 Mar 2011
X# Whom: Reinier de Blois <me at rdb.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME= squish
XPORTVERSION= 1.10
XCATEGORIES= graphics
XMASTER_SITES= http://libsquish.googlecode.com/files/
X
XMAINTAINER= me at rdb.name
XCOMMENT= Open source DXT compression library
X
XLICENSE= MIT
XUSE_GMAKE= YES
XPLIST_FILES= include/squish.h \
X lib/libsquish.a
XOPTIONS= ALTIVEC "Use Altivec instructions" off \
X SSE "Use SSE2 instructions" off
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_ALTIVEC) && defined(WITH_SSE)
XIGNORE= cannot build with both WITH_ALTIVEC and WITH_SSE
X.endif
X
XCXXFLAGS+= -fPIC
X
X.if defined(WITH_ALTIVEC)
XCXXFLAGS+= -DSQUISH_USE_ALTIVEC=1 -maltivec
X.endif
X
X.if defined(WITH_SSE)
XCXXFLAGS+= -DSQUISH_USE_SSE=2 -msse
X.endif
X
X.include <bsd.port.mk>
44fa76f0179384968266f038c2b87abe
echo x - squish/distinfo
sed 's/^X//' >squish/distinfo << 'd30d3cac6b1114bdb0a50cda8d20c951'
XSHA256 (squish-1.10.tar.gz) = aec3428badafdbb3b0ed1ea3a385a8029e65694282459f61b4a538963e8cada3
XSIZE (squish-1.10.tar.gz) = 45009
d30d3cac6b1114bdb0a50cda8d20c951
echo x - squish/pkg-descr
sed 's/^X//' >squish/pkg-descr << '9850b723103d72f479119eeb1a8f6fbd'
XThe squish library (abbreviated to libsquish) is an open
Xsource DXT compression library written in C++.
X
XWWW: http://code.google.com/p/libsquish/
9850b723103d72f479119eeb1a8f6fbd
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list