diff options
author | rillig <rillig@pkgsrc.org> | 2006-03-11 18:22:22 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-03-11 18:22:22 +0000 |
commit | accf741bb7f567039592f9ae265b022828428516 (patch) | |
tree | 1ce9ac4a19704fb811555630b6b6d7ba88d61960 /x11/xteddy2/Makefile | |
parent | 1244d43c852e6938037d3ef28298b43358858f17 (diff) | |
download | pkgsrc-accf741bb7f567039592f9ae265b022828428516.tar.gz |
Converted to the SUBST framework.
Diffstat (limited to 'x11/xteddy2/Makefile')
-rw-r--r-- | x11/xteddy2/Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/x11/xteddy2/Makefile b/x11/xteddy2/Makefile index f78b0250578..23771ae7d49 100644 --- a/x11/xteddy2/Makefile +++ b/x11/xteddy2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2006/03/11 10:07:50 ghen Exp $ +# $NetBSD: Makefile,v 1.24 2006/03/11 18:22:22 rillig Exp $ DISTNAME= xteddy-2.0.1 PKGREVISION= 8 @@ -18,18 +18,10 @@ REPLACE.bash.old= /bin/bash REPLACE.bash.new= /bin/ksh REPLACE_FILES.bash= xtoys -pre-configure: - files="configure xteddy_test xtoys"; \ - cd ${WRKSRC}; for file in $${files}; do \ - ${MV} $${file} $${file}.fixme; \ - ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ - $${file}.fixme >> $${file}; \ - if [ -x $${file}.fixme ]; then \ - ${CHMOD} +x $${file}; \ - fi; \ - ${RM} -f $${file}.fixme; \ - done +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= pre-configure +SUBST_FILES.prefix= configure xteddy_test xtoys +SUBST_SED.prefix= -e 's|@PREFIX@|${PREFIX}|g' .include "../../graphics/imlib/buildlink3.mk" - .include "../../mk/bsd.pkg.mk" |