diff options
author | wiz <wiz> | 2002-10-21 12:24:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-10-21 12:24:11 +0000 |
commit | c81622a524a8be49d33d21c0add479f5ab34523f (patch) | |
tree | 0e8c6579aed580f786abe3b0714903f1a6fd2525 /graphics | |
parent | 163439d2138848baf59c208b1511100c76a03dae (diff) | |
download | pkgsrc-c81622a524a8be49d33d21c0add479f5ab34523f.tar.gz |
Convert to buildlink2.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/wmphoto/Makefile | 5 | ||||
-rw-r--r-- | graphics/xpaint/Makefile | 17 |
2 files changed, 11 insertions, 11 deletions
diff --git a/graphics/wmphoto/Makefile b/graphics/wmphoto/Makefile index f3573f7237b..1245f7fc4e0 100644 --- a/graphics/wmphoto/Makefile +++ b/graphics/wmphoto/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 13:35:09 agc Exp $ +# $NetBSD: Makefile,v 1.2 2002/10/21 12:24:11 wiz Exp $ # DISTNAME= wmphoto-0.3a @@ -10,7 +10,7 @@ HOMEPAGE= http://www.dcc.uchile.cl/~amartoq/wmphoto/ COMMENT= dock-app that can show you a photo USE_X11BASE= YES -USE_XPM= YES +USE_BUILDLINK2= YES USE_GMAKE= YES WRKSRC= ${WRKDIR}/${PKGNAME}/wmphoto MAKE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE} @@ -20,4 +20,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/wmphoto ${INSTALL_DATA} ${WRKSRC}/../HINTS ${PREFIX}/share/doc/wmphoto +.include "../../graphics/xpm/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index 34ca0b763ba..9e3e17b28b0 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.32 2002/03/13 17:37:19 fredb Exp $ -# FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp +# $NetBSD: Makefile,v 1.33 2002/10/21 12:26:29 wiz Exp $ +# DISTNAME= xpaint-2.6.2 PKGREVISION= 1 @@ -11,22 +11,17 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://home.worldonline.dk/~torsten/xpaint/ COMMENT= Simple paint program -DEPENDS+= tiff-[0-9]*:../../graphics/tiff -DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png>=1.2.1:../../graphics/png - +USE_BUILDLINK2= YES USE_IMAKE= YES -USE_XPM= YES USE_RMAN= YES -EVAL_PREFIX= XPMDIR=xpm PLIST_SRC= ${WRKDIR}/PLIST pre-configure: ${MV} -f ${WRKSRC}/Local.config ${WRKSRC}/Local.config.save @${SED} -e 's|\$${LOCALBASE}|${LOCALBASE}|g' \ -e 's|\$${X11BASE}|${X11BASE}|g' \ - -e 's|\$${XPMDIR}|${XPMDIR}|g' \ + -e 's|\$${XPMDIR}|${BUILDLINK_PREFIX.xpm}|g' \ ${WRKSRC}/Local.config.save > ${WRKSRC}/Local.config post-install: @@ -35,4 +30,8 @@ post-install: ${ECHO} lib/X11/doc/html/xpaint.1.html >>${PLIST_SRC}; \ fi +.include "../../graphics/jpeg/buildlink2.mk" +.include "../../graphics/png/buildlink2.mk" +.include "../../graphics/tiff/buildlink2.mk" +.include "../../graphics/xpm/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |