2002-09-18 14:01:03 +00:00
|
|
|
# New ports collection makefile for: simage
|
|
|
|
# Date created: 10 May 2002
|
2003-05-09 11:31:57 +00:00
|
|
|
# Whom: roland.jesse@gmx.net
|
2002-09-18 14:01:03 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= simage
|
|
|
|
PORTVERSION= 1.2.2
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://ftp.coin3d.org/pub/coin/src/
|
|
|
|
|
2003-05-09 11:31:57 +00:00
|
|
|
MAINTAINER= roland.jesse@gmx.net
|
2003-02-21 12:17:17 +00:00
|
|
|
COMMENT= Library with image format loaders and front-ends
|
2002-09-18 14:01:03 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= guile:${PORTSDIR}/lang/guile
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif
|
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2002-09-18 17:49:58 +00:00
|
|
|
USE_XLIB= yes
|
2002-09-18 14:01:03 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-05-09 11:31:57 +00:00
|
|
|
CONFIGURE_ARGS= --program-transform-name="s/x/x/" --with-ungif=${LOCALBASE} \
|
|
|
|
--with-jpeg --with-png --with-tiff --with-mpeg2enc
|
2002-09-18 14:01:03 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/src/resize.c
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|