1998-02-18 16:36:14 +01:00
|
|
|
# New ports collection makefile for: imlib
|
|
|
|
# Date created: 10 June 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
1997-06-04 01:39:10 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/graphics/imlib/Makefile,v 1.2 2006/09/10 00:51:11 mezz Exp $
|
2006-11-30 22:56:08 +01:00
|
|
|
#
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= imlib
|
2004-11-12 18:10:19 +01:00
|
|
|
PORTVERSION= 1.9.15
|
2010-08-24 19:50:04 +02:00
|
|
|
PORTREVISION= 12
|
1997-06-04 01:39:10 +02:00
|
|
|
CATEGORIES= graphics
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2002-03-15 08:12:55 +01:00
|
|
|
DIST_SUBDIR= gnome
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A graphic library for enlightenment package
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2010-03-28 08:47:48 +02:00
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
1999-09-07 12:45:31 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2000-10-05 08:36:23 +02:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif
|
1997-09-19 05:45:57 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2002-03-15 08:12:55 +01:00
|
|
|
USE_BZIP2= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= sm xext x11
|
1997-06-04 01:39:10 +02:00
|
|
|
USE_GMAKE= yes
|
2004-11-12 18:10:19 +01:00
|
|
|
USE_GNOME= gtk12 gnomehack
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-11-12 18:10:19 +01:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib --disable-modules
|
2000-02-16 01:56:04 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-01-21 21:00:49 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1997-06-04 01:39:10 +02:00
|
|
|
|
2001-08-03 09:23:58 +02:00
|
|
|
MAN1= imlib-config.1 imlib_config.1
|
|
|
|
|
2000-03-03 21:38:30 +01:00
|
|
|
pre-configure:
|
2004-11-12 18:10:19 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|10:15:9|5:0:0|" ${WRKSRC}/*/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e "s|glib-config|${GLIB_CONFIG}|" ${WRKSRC}/configure
|
2004-11-16 00:07:11 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|@SUPPORT_LIBS@|-L${LOCALBASE}/lib @SUPPORT_LIBS@|" ${WRKSRC}/imlib-config.in
|
2000-03-03 21:38:30 +01:00
|
|
|
|
1997-06-04 01:39:10 +02:00
|
|
|
.include <bsd.port.mk>
|