pkgsrc/graphics/imlib/Makefile
tron f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.42 2001/02/05 09:00:58 tron Exp $
#
DISTNAME= imlib-1.9.8.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/imlib/}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.nl.rasterman.com/imlib.html
BUILD_DEPENDS+= ${LOCALBASE}/bin/${LOCALBASE}/bin/autoconf:../../devel/autoconf
BUILD_DEPENDS+= ${LOCALBASE}/bin/${LOCALBASE}/bin/automake:../../devel/automake
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= libungif-*:../../graphics/libungif
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= netpbm-*:../../graphics/netpbm
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= tiff>=3.5.4:../../graphics/tiff
USE_X11BASE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
USE_GMAKE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CPPFLAGS= -DENABLE_NLS
.endif
CPPFLAGS+= -I${LOCALBASE}/include
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf && ${LOCALBASE}/bin/automake
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 "../../mk/bsd.pkg.mk"