freebsd-ports/www/webglimpse/Makefile
1999-08-31 02:43:35 +00:00

43 lines
1.2 KiB
Makefile

# New ports collection makefile for: WebGlimpse
# http://glimpse.cs.arizona.edu/webglimpse/
# Version required: 1.*
# Date created: 2 Nov 1998
# Whom: ache
#
# $FreeBSD$
#
DISTNAME= webglimpse-1.6.src
PKGNAME= webglimpse-1.6
CATEGORIES= www textproc
MASTER_SITES= ftp://ftp.cs.arizona.edu/glimpse/
RUN_DEPENDS+= ${PREFIX}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
WRKSRC= ${WRKDIR}/webglimpse-1.6.edu
MAINTAINER= ache@freebsd.org
NO_CDROM= depends on glimpse
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
.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
cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${PREFIX}/share/doc/webglimpse
.include <bsd.port.mk>