2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.87 2004/10/03 00:14:53 tv Exp $
|
1998-09-04 15:13:16 +02:00
|
|
|
#
|
|
|
|
|
2002-03-29 19:01:13 +01:00
|
|
|
DISTNAME= imlib-1.9.14
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 7
|
2000-06-09 13:06:20 +02:00
|
|
|
CATEGORIES= graphics
|
2002-10-19 12:54:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/imlib/1.9/}
|
1998-09-04 15:13:16 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tron@NetBSD.org
|
2000-12-06 22:29:17 +01:00
|
|
|
HOMEPAGE= http://www.nl.rasterman.com/imlib.html
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Image manipulation library for X11
|
1998-09-04 15:13:16 +02:00
|
|
|
|
2004-04-23 18:24:14 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-01-22 12:04:59 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2004-04-23 18:24:14 +02:00
|
|
|
USE_X11= yes
|
2000-06-09 13:06:20 +02:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= imlib.pc.in
|
2000-06-09 13:06:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-24 16:46:42 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-01-27 18:16:44 +01:00
|
|
|
UNLIMIT_RESOURCES= datasize
|
2001-06-19 06:32:29 +02:00
|
|
|
|
2001-06-16 21:57:12 +02:00
|
|
|
CPPFLAGS+= -DENABLE_NLS
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert"
|
|
|
|
CONFIGURE_ENV+= X_LDFLAGS="${X_LDFLAGS}"
|
2002-11-26 13:32:20 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= imlib
|
|
|
|
EGDIR= ${PREFIX}/share/examples/imlib
|
2004-01-22 12:04:59 +01:00
|
|
|
|
|
|
|
USE_PKGINSTALL= yes
|
2002-11-26 13:32:20 +01:00
|
|
|
CONF_FILES= ${EGDIR}/imrc ${PKG_SYSCONFDIR}/imrc
|
|
|
|
CONF_FILES+= ${EGDIR}/im_palette.pal \
|
|
|
|
${PKG_SYSCONFDIR}/im_palette.pal
|
|
|
|
CONF_FILES+= ${EGDIR}/im_palette-small.pal \
|
|
|
|
${PKG_SYSCONFDIR}/im_palette-small.pal
|
|
|
|
CONF_FILES+= ${EGDIR}/im_palette-tiny.pal \
|
|
|
|
${PKG_SYSCONFDIR}/im_palette-tiny.pal
|
2001-06-16 21:57:12 +02:00
|
|
|
|
|
|
|
# The following ensures that `imlib-config --libs' includes the correct
|
|
|
|
# linker flags for linking the X11 libs.
|
|
|
|
#
|
2003-03-14 20:37:30 +01:00
|
|
|
X_LDFLAGS= ${X11_LDFLAGS}
|
1998-09-04 15:13:16 +02:00
|
|
|
|
1999-10-09 22:12:10 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imlib
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.gif *.html \
|
|
|
|
${PREFIX}/share/doc/imlib
|
1999-09-05 15:41:14 +02:00
|
|
|
|
2004-01-22 12:04:59 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
|
|
.include "../../graphics/netpbm/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
1999-10-09 22:12:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|