Use DEINSTALL script instead of unexec rm. Bump PKGREVISION.

This commit is contained in:
wiz 2011-12-01 09:56:39 +00:00
parent 4b3079fd14
commit 0a986af1a4
3 changed files with 14 additions and 5 deletions

11
www/htdig-devel/DEINSTALL Normal file
View file

@ -0,0 +1,11 @@
#!@SH@
#
# $NetBSD: DEINSTALL,v 1.1 2011/12/01 09:56:39 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,6 +1,7 @@
# $NetBSD: Makefile,v 1.10 2008/07/14 12:56:14 joerg Exp $
# $NetBSD: Makefile,v 1.11 2011/12/01 09:56:39 wiz Exp $
DISTNAME= htdig-3.2.0b6
PKGREVISION= 1
CATEGORIES= www databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htdig/} \
http://www.htdig.org/files/ \

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 22:00:23 joerg Exp $
@comment $NetBSD: PLIST,v 1.5 2011/12/01 09:56:39 wiz Exp $
bin/HtFileType
bin/htdb_dump
bin/htdb_load
@ -194,6 +194,3 @@ share/htdig/common/short.html
share/htdig/common/synonyms
share/htdig/common/syntax.html
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