summaryrefslogtreecommitdiff
path: root/graphics/mgl
diff options
context:
space:
mode:
authorobache <obache>2007-12-05 13:36:02 +0000
committerobache <obache>2007-12-05 13:36:02 +0000
commit2ba0df7b4c851ea8c956a03d3d96ddae50b85c2d (patch)
tree9fcb12e5cce13e3e23562fd0a90f999c9d1bf4ea /graphics/mgl
parent26ef034f9ca3cb2a61865f3cfb7c365789d7366a (diff)
downloadpkgsrc-2ba0df7b4c851ea8c956a03d3d96ddae50b85c2d.tar.gz
Switch to SUBST framework.
Diffstat (limited to 'graphics/mgl')
-rw-r--r--graphics/mgl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/mgl/Makefile b/graphics/mgl/Makefile
index a6c03f89123..a0e55d82c8f 100644
--- a/graphics/mgl/Makefile
+++ b/graphics/mgl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/10/07 12:59:13 kano Exp $
+# $NetBSD: Makefile,v 1.28 2007/12/05 13:36:02 obache Exp $
#
DISTNAME= mgl2-alpha-020
@@ -34,10 +34,10 @@ ONLY_FOR_PLATFORM= *-*-arm *-*-i386 *-*-mipsel *-*-sh3el
.include "../../mk/bsd.prefs.mk"
-pre-configure:
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/utils/mglcons.sh \
- > ${WRKSRC}/utils/mglcons.sh.new
- ${MV} ${WRKSRC}/utils/mglcons.sh.new ${WRKSRC}/utils/mglcons.sh
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= utils/mglcons.sh
+SUBST_VARS.prefix= PREFIX
post-configure:
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "sh3el"