f25f9d2824
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and *.pc.
27 lines
724 B
Makefile
27 lines
724 B
Makefile
# $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"
|