aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uptimed
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2008-07-30 09:36:54 +0000
committerVolker Stolz <vs@FreeBSD.org>2008-07-30 09:36:54 +0000
commit39881d3bfe04a4d54f29e29caa540ff7e10b09eb (patch)
treedf20e8b5afaecc8e69e01666c9b3031ce775848d /sysutils/uptimed
parentaf5fbcbb048f4c38a0caffb0b4b5a18ee70dea3f (diff)
downloadports-39881d3bfe04a4d54f29e29caa540ff7e10b09eb.tar.gz
ports-39881d3bfe04a4d54f29e29caa540ff7e10b09eb.zip
Notes
Diffstat (limited to 'sysutils/uptimed')
-rw-r--r--sysutils/uptimed/Makefile2
-rw-r--r--sysutils/uptimed/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
index ba3713079ef5..76ae3414a84c 100644
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -6,6 +6,7 @@
PORTNAME= uptimed
PORTVERSION= 0.3.12
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/uptimed/releases/
@@ -27,6 +28,7 @@ post-patch:
post-install:
${MKDIR} ${PREFIX}/www/cgi-bin
+ ${MKDIR} /var/spool/uptimed
${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/pkg-plist b/sysutils/uptimed/pkg-plist
index 5d49b5875451..f2490d44e63a 100644
--- a/sysutils/uptimed/pkg-plist
+++ b/sysutils/uptimed/pkg-plist
@@ -1,3 +1,4 @@
+@exec mkdir -p /var/spool/uptimed
bin/uprecords
etc/uptimed.conf-dist
lib/libuptimed.a
@@ -10,3 +11,4 @@ www/cgi-bin/uprecords.conf
www/cgi-bin/uprecords.footer
www/cgi-bin/uprecords.header
@dirrmtry www/cgi-bin
+@unexec rm -rf /var/spool/uptimed 2>/dev/null || true