aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/uptimed/Makefile4
-rw-r--r--sysutils/uptimed/distinfo2
-rw-r--r--sysutils/uptimed/pkg-plist2
3 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
index 66fa2045672a..7491ee5714c2 100644
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= uptimed
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= uptimed
@@ -28,7 +28,7 @@ MAN8= uptimed.8
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/uptimed.sh.sample ${PREFIX}/etc/rc.d/
if [ ! -d "${PREFIX}/www/cgi-bin/" ]; then \
- ${MKDIR} -p ${PREFIX}/www/cgi-bin; \
+ ${MKDIR} ${PREFIX}/www/cgi-bin; \
fi
${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/
diff --git a/sysutils/uptimed/distinfo b/sysutils/uptimed/distinfo
index 934f0a7a8136..67dbd360b99f 100644
--- a/sysutils/uptimed/distinfo
+++ b/sysutils/uptimed/distinfo
@@ -1 +1 @@
-MD5 (uptimed-0.2.0.tar.gz) = 6f9c87634a27eb4e1e8b38c7d771d4f4
+MD5 (uptimed-0.3.0.tar.gz) = a745c7e79c64f20c7691c56c35ba16d1
diff --git a/sysutils/uptimed/pkg-plist b/sysutils/uptimed/pkg-plist
index 9030455516cf..05ea892c345e 100644
--- a/sysutils/uptimed/pkg-plist
+++ b/sysutils/uptimed/pkg-plist
@@ -10,3 +10,5 @@ www/cgi-bin/uprecords.cgi
www/cgi-bin/uprecords.conf
www/cgi-bin/uprecords.footer
www/cgi-bin/uprecords.header
+@unexec rmdir %D/www/cgi-bin 2>/dev/null || true
+@unexec rmdir %D/www 2>/dev/null || true