pkgsrc/graphics/imlib/Makefile
rh c2934c968e Track directory layout change at MASTER_SITE_GNOME.
Patch provided in PR pkg/18701 by Julio Merino <jmmv@menta.net>
2002-10-19 10:54:42 +00:00

48 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2002/10/19 10:54:53 rh Exp $
#
DISTNAME= imlib-1.9.14
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/imlib/1.9/}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.nl.rasterman.com/imlib.html
COMMENT= image manipulation library for X11
USE_X11BASE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE= yes
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
USE_GMAKE= yes
UNLIMIT_RESOURCES= datasize
USE_BUILDLINK2= yes
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.
#
X_LDFLAGS= -Wl,-R${X11BASE}/lib -L${X11BASE}/lib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imlib
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.gif *.html \
${PREFIX}/share/doc/imlib
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/imlib.m4 \
${LOCALBASE}/share/aclocal/imlib.m4
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/netpbm/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"