diff options
author | joerg <joerg> | 2006-01-05 20:26:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-05 20:26:48 +0000 |
commit | ac0e888e7e78737f84120d4dde48afedfb117d33 (patch) | |
tree | 685c5acbb86f560041426995df0969ea62ce461f | |
parent | f8e1c2a5658c870a4cba96c90b1b0dbeaf1da872 (diff) | |
download | pkgsrc-ac0e888e7e78737f84120d4dde48afedfb117d33.tar.gz |
Use the SUBST framework on the right files. FAQ now has the correct
entries. Bump revision due to this.
-rw-r--r-- | x11/xfstt/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/x11/xfstt/Makefile b/x11/xfstt/Makefile index f6911b8641d..def928028e7 100644 --- a/x11/xfstt/Makefile +++ b/x11/xfstt/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2005/12/29 06:22:26 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2006/01/05 20:26:48 joerg Exp $ # DISTNAME= xfstt-1.6 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 net fonts MASTER_SITES= http://download.berlios.de/xfstt/ @@ -24,15 +24,11 @@ INSTALLATION_DIRS= bin man/man1 .include "../../mk/x11.buildlink3.mk" -post-patch: - @( \ - cd ${WRKSRC} ; \ - for f in src/perftest.cc src/xfstt.cc doc/xfstt.1x; \ - do \ - ${MV} $$f $$f.orig ; \ - ${SED} ${FILES_SUBST_SED} $$f.orig > $$f ; \ - done ; \ - ) +SUBST_CLASSES+= paths +SUBST_FILES.paths= doc/FAQ doc/xfstt.1x +SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g' +SUBST_STAGE.paths= post-patch do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${PREFIX}/bin |