2002-03-19 17:16:08 +01:00
|
|
|
# $NetBSD: Makefile,v 1.65 2002/03/19 16:16:08 wiz Exp $
|
1998-09-04 15:13:16 +02:00
|
|
|
#
|
|
|
|
|
2002-03-19 17:16:08 +01:00
|
|
|
DISTNAME= imlib-1.9.13
|
2000-06-09 13:06:20 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/imlib/}
|
1998-09-04 15:13:16 +02:00
|
|
|
|
2000-06-09 13:06:20 +02:00
|
|
|
MAINTAINER= tron@netbsd.org
|
2000-12-06 22:29:17 +01:00
|
|
|
HOMEPAGE= http://www.nl.rasterman.com/imlib.html
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= image manipulation library for X11
|
1998-09-04 15:13:16 +02:00
|
|
|
|
2000-06-09 13:06:20 +02:00
|
|
|
USE_X11BASE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
|
2000-06-27 03:13:47 +02:00
|
|
|
USE_GMAKE= yes
|
2002-01-27 18:16:44 +01:00
|
|
|
UNLIMIT_RESOURCES= datasize
|
2001-06-19 06:32:29 +02:00
|
|
|
|
|
|
|
USE_BUILDLINK_ONLY= yes
|
1999-10-28 02:23:08 +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}"
|
|
|
|
|
|
|
|
# The following ensures that `imlib-config --libs' includes the correct
|
|
|
|
# linker flags for linking the X11 libs.
|
|
|
|
#
|
2001-08-30 00:41:00 +02:00
|
|
|
X_LDFLAGS= -Wl,-R${X11BASE}/lib -L${BUILDLINK_X11_DIR}/lib
|
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
|
2000-02-12 04:24:15 +01:00
|
|
|
${TEST} ${PREFIX} = ${LOCALBASE} || \
|
|
|
|
${LN} -fs ${PREFIX}/share/aclocal/imlib.m4 \
|
|
|
|
${LOCALBASE}/share/aclocal/imlib.m4
|
1999-09-05 15:41:14 +02:00
|
|
|
|
2001-06-29 06:54:49 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink.mk"
|
|
|
|
.include "../../graphics/libungif/buildlink.mk"
|
|
|
|
.include "../../graphics/netpbm/buildlink.mk"
|
|
|
|
.include "../../graphics/png/buildlink.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink.mk"
|
|
|
|
.include "../../x11/gtk/buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
1999-10-09 22:12:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|