Use DEINSTALL script instead of unexec rm. Bump PKGREVISION.

Untested since this doesn't compile with recent C++ compilers.
This commit is contained in:
wiz 2011-12-01 09:55:58 +00:00
parent d56584fb97
commit 8bcabe41b0
3 changed files with 14 additions and 6 deletions

11
www/htdig/DEINSTALL Normal file
View file

@ -0,0 +1,11 @@
#!@SH@
#
# $NetBSD: DEINSTALL,v 1.4 2011/12/01 09:55:58 wiz Exp $
case "${STAGE}" in
DEINSTALL)
${RM} -f ${PREFIX}/share/htdig/common/root2word.db
${RM} -f ${PREFIX}/share/htdig/common/synonyms.db
${RM} -f ${PREFIX}/share/htdig/common/word2root.db
;;
esac

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.37 2009/12/17 19:35:03 abs Exp $
# $NetBSD: Makefile,v 1.38 2011/12/01 09:55:58 wiz Exp $
DISTNAME= htdig-3.1.6
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= www databases
MASTER_SITES= http://www.htdig.org/files/ \
http://www.it.htdig.org/files/ \

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.8 2009/06/14 22:00:23 joerg Exp $
@comment $NetBSD: PLIST,v 1.9 2011/12/01 09:55:58 wiz Exp $
bin/htfuzzy
bin/htdig
bin/htdump
@ -50,6 +50,3 @@ share/htdig/common/bad_words
share/htdig/common/english.0
share/htdig/common/english.aff
share/htdig/common/synonyms
@unexec ${RM} %D/share/htdig/common/root2word.db
@unexec ${RM} %D/share/htdig/common/synonyms.db
@unexec ${RM} %D/share/htdig/common/word2root.db