aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4/Makefile
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-06-15 16:58:09 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-06-15 16:58:09 +0000
commitb2106dae6fd33a152343316ce6a231d9acd6ac3d (patch)
tree93e96beed18aef8fa2dde311a2b523cc28315af2 /www/mod_php4/Makefile
parent96316e5acdfe355e23de2251abd608e1560204ff (diff)
downloadports-b2106dae6fd33a152343316ce6a231d9acd6ac3d.tar.gz
ports-b2106dae6fd33a152343316ce6a231d9acd6ac3d.zip
Notes
Diffstat (limited to 'www/mod_php4/Makefile')
-rw-r--r--www/mod_php4/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index f527a3d7112c..0804ca7b31f2 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
+# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
#
DISTNAME= apache_1.0.5
@@ -20,4 +20,10 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
post-extract:
cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
+post-install:
+ @echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
+ @echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
+ @echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
+ @chmod 751 ${PREFIX}/etc/rc.d/apache.sh
+
.include <bsd.port.mk>