update Sun Jun 13 18:37:00 PDT 2010
[pkgsrc.git] / graphics / gdk-pixbuf / Makefile
1 # $NetBSD: Makefile,v 1.40 2010/06/13 22:44:31 wiz Exp $
2 #
3 PKG_DESTDIR_SUPPORT=    user-destdir
4
5 .include "Makefile.common"
6
7 PKGREVISION=    12
8 COMMENT=        The GNOME image loading library
9
10 # XXX hopefully there is no x.gnome-config.x in PATH
11 post-patch:
12         ${SED} -e 's/gnome-config/x.gnome-config.x/g' \
13           ${WRKSRC}/configure >${WRKSRC}/.tmp && \
14         ${MV} ${WRKSRC}/.tmp ${WRKSRC}/configure
15         ${CHMOD} a+x ${WRKSRC}/configure
16
17 post-configure:
18         ${SED} -e 's/ doc$$//' ${WRKSRC}/Makefile >${WRKSRC}/.tmp && \
19         ${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile
20
21 post-install:
22         ${RM} ${DESTDIR}${PREFIX}/lib/gnomecanvaspixbufConf.sh
23
24 .include "../../mk/bsd.pkg.mk"