1998-11-02 06:54:53 +00:00
|
|
|
# New ports collection makefile for: WebGlimpse
|
|
|
|
# http://glimpse.cs.arizona.edu/webglimpse/
|
|
|
|
# Version required: 1.*
|
|
|
|
# Date created: 2 Nov 1998
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1998-11-26 05:24:59 +00:00
|
|
|
# $Id: Makefile,v 1.5 1998/11/07 12:39:29 ache Exp $
|
1998-11-02 06:54:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= webglimpse-1.6.src
|
|
|
|
PKGNAME= webglimpse-1.6
|
|
|
|
CATEGORIES= www textproc
|
|
|
|
MASTER_SITES= ftp://ftp.cs.arizona.edu/glimpse/
|
|
|
|
|
1998-11-07 12:39:32 +00:00
|
|
|
RUN_DEPENDS+= /usr/local/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
|
1998-11-07 03:53:44 +00:00
|
|
|
RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
|
|
|
|
WRKSRC= ${WRKDIR}/webglimpse-1.6.edu
|
1998-11-07 12:39:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= ache@freebsd.org
|
|
|
|
|
1998-11-26 05:24:59 +00:00
|
|
|
NO_CDROM= depends on glimpse
|
1998-11-02 06:54:53 +00:00
|
|
|
USE_PERL5= YES
|
|
|
|
NO_BUILD= YES
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
.for i in wginstall wginstall.pl
|
1998-11-07 12:39:32 +00:00
|
|
|
cd ${WRKSRC}; cp $i $i.tmp; \
|
|
|
|
sed s=%PERL%=${PERL}= < $i.tmp > $i
|
1998-11-02 06:54:53 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
1998-11-07 12:39:32 +00:00
|
|
|
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
|
|
|
|
${PREFIX}/www/webglimpse
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/.wgsiteconf ${PREFIX}/www/webglimpse
|
|
|
|
.endif
|
1998-11-02 06:54:53 +00:00
|
|
|
cd ${WRKSRC}; ./wginstall
|
|
|
|
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
|
|
|
|
${PREFIX}/share/doc/webglimpse
|
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${PREFIX}/share/doc/webglimpse
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|