diff options
-rw-r--r-- | www/typolight/DEINSTALL | 15 | ||||
-rw-r--r-- | www/typolight/Makefile | 3 |
2 files changed, 8 insertions, 10 deletions
diff --git a/www/typolight/DEINSTALL b/www/typolight/DEINSTALL index f22f4599e67..8e174c73ec7 100644 --- a/www/typolight/DEINSTALL +++ b/www/typolight/DEINSTALL @@ -1,6 +1,8 @@ -# $NetBSD: DEINSTALL,v 1.1 2008/11/06 11:23:14 taca Exp $ +# $NetBSD: DEINSTALL,v 1.2 2008/12/15 03:05:11 taca Exp $ TL_WEBDIR="@PREFIX@/@TL_WEBDIR@" +TL_DIRS="templates system/drivers system/libraries system/logs \ + system/modules system/themes system/config system" case ${STAGE} in DEINSTALL) @@ -8,13 +10,8 @@ DEINSTALL) -exec ${RM} -f {} \; ;; POST-DEINSTALL) - ${RMDIR} ${TL_WEBDIR}/templates 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/drivers 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/libraries - ${RMDIR} ${TL_WEBDIR}/system/logs - ${RMDIR} ${TL_WEBDIR}/system/modules - ${RMDIR} ${TL_WEBDIR}/system/themes 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/config - ${RMDIR} -p ${TL_WEBDIR}/system + for d in ${TL_DIRS} ${TL_WEBDIR}; do + ${RMDIR} $d >/dev/null 2>&1 + done ;; esac diff --git a/www/typolight/Makefile b/www/typolight/Makefile index 7a92405379b..406298e3784 100644 --- a/www/typolight/Makefile +++ b/www/typolight/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2008/12/14 00:22:46 taca Exp $ +# $NetBSD: Makefile,v 1.9 2008/12/15 03:05:11 taca Exp $ # DISTNAME= typolight-${TL_VERSION} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} |