diff options
-rw-r--r-- | graphics/xpaint/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index dc1234a8038..ec232ca5a5e 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2004/01/03 18:49:45 reed Exp $ +# $NetBSD: Makefile,v 1.39 2004/04/24 21:54:11 xtraeme Exp $ DISTNAME= xpaint-2.7.0 PKGREVISION= 1 @@ -10,23 +10,22 @@ MAINTAINER= hubertf@NetBSD.org HOMEPAGE= http://sf-xpaint.sourceforge.net/ COMMENT= Simple paint program -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make USE_IMAKE= YES -USE_RMAN= YES -USE_X11BASE= YES ALL_TARGET= xaw95static MAKE_ENV+= XMKMF="${XMKMF}" -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}|${BUILDLINK_PREFIX.xpm}|g' \ - ${WRKSRC}/Local.config.save > ${WRKSRC}/Local.config +SUBST_CLASSES= foo +SUBST_STAGE.foo= post-patch +SUBST_FILES.foo= Local.config +SUBST_SED.foo= -e "s|\$${LOCALBASE}|${LOCALBASE}|g" \ + -e "s|\$${X11BASE}|${X11BASE}|g" \ + -e "s|\$${XPMDIR}|${BUILDLINK_PREFIX.xpm}|g" -.include "../../graphics/jpeg/buildlink2.mk" -.include "../../graphics/png/buildlink2.mk" -.include "../../graphics/tiff/buildlink2.mk" -.include "../../graphics/xpm/buildlink2.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../graphics/xpm/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |