summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf/Makefile
blob: ebacc362efb001de806e6d46dff5dc2d78b144c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.19 2001/10/03 22:36:39 jlam Exp $
#

PKGNAME=	${DISTNAME}
COMMENT=	the GNOME image loading library

USE_BUILDLINK_ONLY=	# defined

.include "Makefile.common"

post-patch:
	${SED} -e 's/BUILD_CANVAS=yes/BUILD_CANVAS=no/g' \
	  ${WRKSRC}/configure.in >${WRKSRC}/.tmp && \
	${MV} ${WRKSRC}/.tmp ${WRKSRC}/configure.in

post-configure:
	${SED} -e 's/ doc$$//' ${WRKSRC}/Makefile >${WRKSRC}/.tmp && \
	${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile

post-install:
	${TEST} ${PREFIX} = ${LOCALBASE} || \
	${LN} -fs ${PREFIX}/share/aclocal/gdk-pixbuf.m4 \
		${LOCALBASE}/share/aclocal/gdk-pixbuf.m4
	${RM} ${PREFIX}/lib/gnomecanvaspixbufConf.sh

.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"