mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
If PACKAGE_BUILDING defined, install default config file and
don't search apache config
This commit is contained in:
parent
6ff250ab11
commit
a601da825c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14391
@ -12,24 +12,27 @@ PKGNAME= webglimpse-1.6
|
||||
CATEGORIES= www textproc
|
||||
MASTER_SITES= ftp://ftp.cs.arizona.edu/glimpse/
|
||||
|
||||
RUN_DEPENDS+= /usr/local/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
|
||||
WRKSRC= ${WRKDIR}/webglimpse-1.6.edu
|
||||
|
||||
MAINTAINER= ache@freebsd.org
|
||||
|
||||
RUN_DEPENDS+= ${PREFIX}/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
|
||||
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
|
||||
|
9
www/webglimpse/files/.wgsiteconf
Normal file
9
www/webglimpse/files/.wgsiteconf
Normal file
@ -0,0 +1,9 @@
|
||||
SERVER change.it.by.yourself
|
||||
PORT 80
|
||||
DOCUMENTROOT /usr/local/www/data
|
||||
USERDIR public_html
|
||||
DIRECTORYINDEX index.html index.shtml
|
||||
ALIAS /icons/ /usr/local/www/icons/
|
||||
SCRIPTALIAS /cgi-bin/ /usr/local/www/cgi-bin/
|
||||
HTTPDCONF /usr/local/etc/apache/httpd.conf
|
||||
WGSCRIPTALIAS /cgi-bin/ /usr/local/www/cgi-bin/
|
Loading…
Reference in New Issue
Block a user