aboutsummaryrefslogtreecommitdiff
path: root/www/webglimpse/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-11-07 12:39:32 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-11-07 12:39:32 +0000
commita601da825c3043f30b61b9848279e4453ddd682d (patch)
tree981cdc10a77fac366fb669405c61673fd5988215 /www/webglimpse/Makefile
parent6ff250ab1118ea8e3814c62b36ea530e334f351e (diff)
If PACKAGE_BUILDING defined, install default config file and
don't search apache config
Notes
Notes: svn path=/head/; revision=14391
Diffstat (limited to 'www/webglimpse/Makefile')
-rw-r--r--www/webglimpse/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/www/webglimpse/Makefile b/www/webglimpse/Makefile
index 84dc513c47f3..ecbcfa45399b 100644
--- a/www/webglimpse/Makefile
+++ b/www/webglimpse/Makefile
@@ -12,24 +12,27 @@ PKGNAME= webglimpse-1.6
CATEGORIES= www textproc
MASTER_SITES= ftp://ftp.cs.arizona.edu/glimpse/
-MAINTAINER= ache@freebsd.org
-
-RUN_DEPENDS+= ${PREFIX}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
+RUN_DEPENDS+= /usr/local/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
-
-IS_INTERACTIVE= YES
-NO_PACAKGE= domain name hardcoded
WRKSRC= ${WRKDIR}/webglimpse-1.6.edu
+
+MAINTAINER= ache@freebsd.org
+
USE_PERL5= YES
NO_BUILD= YES
pre-configure:
.for i in wginstall wginstall.pl
- cd ${WRKSRC}; ${CP} $i $i.tmp; \
- ${SED} s=%PERL%=${PERL}= < $i.tmp > $i
+ cd ${WRKSRC}; cp $i $i.tmp; \
+ sed s=%PERL%=${PERL}= < $i.tmp > $i
.endfor
do-install:
+ ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
+ ${PREFIX}/www/webglimpse
+.if defined(PACKAGE_BUILDING)
+ ${INSTALL_DATA} ${FILESDIR}/.wgsiteconf ${PREFIX}/www/webglimpse
+.endif
cd ${WRKSRC}; ./wginstall
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/share/doc/webglimpse