aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 13:01:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 13:01:11 +0000
commit17f3a661b3e76c13ba1532ba731b8340f730a7b2 (patch)
tree45cd70aa180d60d45a8be774e4f90e11fda4e871
parent983cf9112463b598c3e53d0cf503d2204df3280a (diff)
downloadports-17f3a661b3e76c13ba1532ba731b8340f730a7b2.tar.gz
ports-17f3a661b3e76c13ba1532ba731b8340f730a7b2.zip
Notes
-rw-r--r--sysutils/uptimed/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
index 3cfb3cfbd65d..66fa2045672a 100644
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -27,6 +27,9 @@ 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; \
+ fi
${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/