2000-11-03 09:18:09 +01:00
|
|
|
# New ports collection makefile for: imlib2
|
|
|
|
# Date created: 16 Oct 2000
|
2000-11-07 15:32:57 +01:00
|
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
1997-06-04 01:39:10 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1997-06-04 01:39:10 +02:00
|
|
|
#
|
|
|
|
|
2000-11-03 09:18:09 +01:00
|
|
|
PORTNAME= imlib2
|
2002-08-12 09:23:35 +02:00
|
|
|
PORTVERSION= 1.0.6
|
2002-09-20 09:25:59 +02:00
|
|
|
PORTREVISION= 1
|
1997-06-04 01:39:10 +02:00
|
|
|
CATEGORIES= graphics
|
2002-01-27 18:12:03 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-11-07 15:32:57 +01:00
|
|
|
MASTER_SITE_SUBDIR= enlightenment
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2002-06-04 03:38:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= The next generation graphic library for enlightenment package
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2001-10-08 22:09:03 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2003-06-27 00:58:32 +02:00
|
|
|
ltdl.4:${PORTSDIR}/devel/libltdl \
|
2001-10-08 22:09:03 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
1999-09-07 12:45:31 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2001-10-08 22:09:03 +02:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif
|
1997-09-19 05:45:57 +02:00
|
|
|
|
2002-07-08 12:41:30 +02:00
|
|
|
USE_REINPLACE= yes
|
1998-08-05 11:31:52 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-11-03 09:18:09 +01:00
|
|
|
USE_FREETYPE= yes
|
1999-05-29 06:02:00 +02:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-03-14 12:16:45 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1 \
|
|
|
|
-I${LOCALBASE}/include" \
|
1999-01-21 21:00:49 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2000-11-03 09:18:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-03-03 21:38:30 +01:00
|
|
|
|
2000-11-03 09:18:09 +01:00
|
|
|
.if defined(WITH_MMX) && (${ARCH} == "i386")
|
|
|
|
CONFIGURE_ARGS= --enable-mmx
|
|
|
|
.endif
|
|
|
|
|
2000-11-07 15:32:57 +01:00
|
|
|
post-configure:
|
2002-07-08 12:41:30 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
2000-11-07 15:32:57 +01:00
|
|
|
|
2000-11-03 09:18:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|