pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/instiki Correct a path used by HTML export.
details: https://anonhg.NetBSD.org/pkgsrc/rev/387dadd041a7
branches: trunk
changeset: 488420:387dadd041a7
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jan 31 04:54:07 2005 +0000
description:
Correct a path used by HTML export.
Bump PKGREVISION.
diffstat:
www/instiki/Makefile | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c90d3745003c -r 387dadd041a7 www/instiki/Makefile
--- a/www/instiki/Makefile Mon Jan 31 00:31:08 2005 +0000
+++ b/www/instiki/Makefile Mon Jan 31 04:54:07 2005 +0000
@@ -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 @@
INSTIKI_DIR= ${PREFIX}/share/${PKGBASE}
+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
-.include "../../lang/ruby/replace.mk"
-.include "../../lang/ruby/rubyversion.mk"
-
do-install:
${INSTALL_DATA_DIR} ${INSTIKI_DIR}
.for d in app libraries
Home |
Main Index |
Thread Index |
Old Index