diff options
author | minskim <minskim@pkgsrc.org> | 2005-01-31 04:54:07 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-01-31 04:54:07 +0000 |
commit | b788e86f338842f8e2ad6958724d9105d26e0b6f (patch) | |
tree | 9513595464326e517ef750555974ff8dde2d5be9 /www | |
parent | 40d8dda2b922dd02f215a91bfb8760392c7d05fa (diff) | |
download | pkgsrc-b788e86f338842f8e2ad6958724d9105d26e0b6f.tar.gz |
Correct a path used by HTML export.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/instiki/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/www/instiki/Makefile b/www/instiki/Makefile index 4bed2b81b82..e5cf8e46ff5 100644 --- a/www/instiki/Makefile +++ b/www/instiki/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2005/01/31 04:54:07 minskim Exp $ DISTNAME= instiki-0.9.2 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://rubyforge.org/frs/download.php/2515/ EXTRACT_SUFX= .tgz @@ -24,13 +25,20 @@ REPLACE_RUBY= instiki INSTIKI_DIR= ${PREFIX}/share/${PKGBASE} -post-patch: - ${MV} ${WRKSRC}/instiki ${WRKSRC}/instiki.tmp - ${TR} -d '\015' < ${WRKSRC}/instiki.tmp > ${WRKSRC}/instiki +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= "Fixing hardcoded paths." +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= app/controllers/wiki.rb +SUBST_SED.paths= \ + -e 's,File.dirname(__FILE__) + "/../../storage,"${VARBASE}/instiki,g' .include "../../lang/ruby/replace.mk" .include "../../lang/ruby/rubyversion.mk" +post-patch: + ${MV} ${WRKSRC}/instiki ${WRKSRC}/instiki.tmp + ${TR} -d '\015' < ${WRKSRC}/instiki.tmp > ${WRKSRC}/instiki + do-install: ${INSTALL_DATA_DIR} ${INSTIKI_DIR} .for d in app libraries |