2000-11-03 08:18:09 +00:00
|
|
|
# New ports collection makefile for: imlib2
|
|
|
|
# Date created: 16 Oct 2000
|
2000-11-07 14:32:57 +00:00
|
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
1997-06-03 23:39:10 +00:00
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1997-06-03 23:39:10 +00:00
|
|
|
#
|
|
|
|
|
2000-11-03 08:18:09 +00:00
|
|
|
PORTNAME= imlib2
|
|
|
|
PORTVERSION= 1.0.0
|
2000-11-07 14:32:57 +00:00
|
|
|
PORTREVISION= 1
|
1997-06-03 23:39:10 +00:00
|
|
|
CATEGORIES= graphics
|
2000-11-07 14:32:57 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= enlightenment
|
1997-06-03 23:39:10 +00:00
|
|
|
|
2000-11-07 14:32:57 +00:00
|
|
|
MAINTAINER= ishmael27@home.com
|
1997-06-03 23:39:10 +00:00
|
|
|
|
2000-07-04 07:13:35 +00:00
|
|
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
1999-09-07 10:45:31 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2000-11-03 08:18:09 +00:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
edb.1:${PORTSDIR}/databases/edb
|
1997-09-19 03:45:57 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-11-03 08:18:09 +00:00
|
|
|
USE_FREETYPE= yes
|
1999-05-29 04:02:00 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-02-16 00:56:04 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-01-21 20:00:49 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1997-06-03 23:39:10 +00:00
|
|
|
|
2000-11-03 08:18:09 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-03-03 20:38:30 +00:00
|
|
|
|
2000-11-03 08:18:09 +00:00
|
|
|
.if defined(WITH_MMX) && (${ARCH} == "i386")
|
|
|
|
CONFIGURE_ARGS= --enable-mmx
|
|
|
|
.endif
|
|
|
|
|
2000-11-07 14:32:57 +00:00
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
|
|
|
|
2000-11-03 08:18:09 +00:00
|
|
|
post-install:
|
2000-11-07 14:32:57 +00:00
|
|
|
@strip ${PREFIX}/lib/libImlib2.so.1
|
|
|
|
.for i in bump_map colormod testfilter
|
|
|
|
@strip ${PREFIX}/lib/loaders/filter/${i}.so
|
|
|
|
.endfor
|
|
|
|
.for i in argb bmp db gif jpeg png pnm tga tiff xpm
|
|
|
|
@strip ${PREFIX}/lib/loaders/image/${i}.so
|
|
|
|
.endfor
|
|
|
|
|
2000-11-03 08:18:09 +00:00
|
|
|
.include <bsd.port.post.mk>
|