summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-01-08 20:25:58 +0000
committermarkd <markd@pkgsrc.org>2006-01-08 20:25:58 +0000
commit71b68c43eae6ade5a8219ef833e182af3230d7d2 (patch)
tree19b4a1eeacd51daa3075278a2243855398acaa4f /www
parent28b46ad6da8afe6a2d94e0372002097c16380f4a (diff)
downloadpkgsrc-71b68c43eae6ade5a8219ef833e182af3230d7d2.tar.gz
Back out my last change. htfuzzy needs to run after its CONF_FILES
are installed. Noted by Joerg Sonnenberger. Adjust synonyms.db entry in PLIST to fix CHECK_FILES issue.
Diffstat (limited to 'www')
-rw-r--r--www/htdig-devel/INSTALL10
-rw-r--r--www/htdig-devel/Makefile7
-rw-r--r--www/htdig-devel/PLIST8
3 files changed, 16 insertions, 9 deletions
diff --git a/www/htdig-devel/INSTALL b/www/htdig-devel/INSTALL
new file mode 100644
index 00000000000..10366f85588
--- /dev/null
+++ b/www/htdig-devel/INSTALL
@@ -0,0 +1,10 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.3 2006/01/08 20:25:58 markd Exp $
+
+case "${STAGE}" in
+POST-INSTALL)
+ ${PREFIX}/bin/htfuzzy -v synonyms
+ ${PREFIX}/bin/htfuzzy -v endings
+ ;;
+esac
diff --git a/www/htdig-devel/Makefile b/www/htdig-devel/Makefile
index 49456640e2d..29fbce25b6d 100644
--- a/www/htdig-devel/Makefile
+++ b/www/htdig-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/01/07 20:25:20 markd Exp $
+# $NetBSD: Makefile,v 1.5 2006/01/08 20:25:58 markd Exp $
DISTNAME= htdig-3.2.0b6
CATEGORIES= www databases
@@ -29,6 +29,7 @@ CONFIGURE_ARGS+= --with-cgi-bin-dir=${PREFIX}/libexec/cgi-bin \
CONFIGURE_ENV+= PDF_PARSER="${LOCALBASE}/bin/acroread"
CXXFLAGS+= -Wno-deprecated
+INSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL
PKG_SYSCONFSUBDIR= htdig
DBDIR?= ${VARBASE}/db/htdig
@@ -44,9 +45,5 @@ CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \
CONF_FILES+= ${PREFIX}/share/examples/htdig/mime.types \
${PKG_SYSCONFDIR}/mime.types
-post-install:
- ${PREFIX}/bin/htfuzzy -v synonyms
- ${PREFIX}/bin/htfuzzy -v endings
-
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/htdig-devel/PLIST b/www/htdig-devel/PLIST
index 95f9e25536a..d1410aeadbf 100644
--- a/www/htdig-devel/PLIST
+++ b/www/htdig-devel/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2006/01/07 20:26:13 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/01/08 20:25:58 markd Exp $
bin/HtFileType
bin/htdb_dump
bin/htdb_load
@@ -190,13 +190,13 @@ share/htdig/common/footer.html
share/htdig/common/header.html
share/htdig/common/long.html
share/htdig/common/nomatch.html
-share/htdig/common/root2word.db
share/htdig/common/short.html
share/htdig/common/synonyms
-share/htdig/common/synonyms.db
share/htdig/common/syntax.html
-share/htdig/common/word2root.db
share/htdig/common/wrapper.html
+@unexec ${RM} %D/share/htdig/common/root2word.db
+@unexec ${RM} %D/share/htdig/common/synonyms.db
+@unexec ${RM} %D/share/htdig/common/word2root.db
@dirrm share/htdig/common
@dirrm share/htdig
@dirrm share/examples/htdig