1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/www/analog/Makefile
Satoshi Asami fcfd47f169 Fix installation.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1999-09-12 02:48:34 +00:00

55 lines
1.6 KiB
Makefile

# New ports collection makefile for: analog
# http://www.statslab.cam.ac.uk/~sret1/analog/
# Version required: 3.*
# Date created: October 21st 1996
# Whom: jfitz
#
# $FreeBSD$
#
DISTNAME= analog3.32
PKGNAME= analog-3.32
CATEGORIES= www
MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
http://brendanr.simplenet.com/analog/ \
http://www.magma.ca/~brendanr/analog/ \
http://www.monash.edu.au/mirror/analog/ \
http://analog.gsp.com/ \
http://analog.technomancer.com/ \
ftp://ftp.netcasting.net/pub/packages/analog/ \
ftp://download.netvision.net.il/pub/mirrors/analog/ \
ftp://mabuse.phil.uni-passau.de/pub/mirrors/analog/
MAINTAINER= ache@freebsd.org
Y2K= http://www.statslab.cam.ac.uk/~sret1/analog/
MAKE_FLAGS= -DPREFIX=${PREFIX} -f
do-install:
install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
${PREFIX}/share/doc/analog
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${PREFIX}/lib/analog/lang
install -d -o nobody -g nogroup -m 755 \
${PREFIX}/www/data/images
cd ${WRKSRC}/images && \
${INSTALL_DATA} * ${PREFIX}/www/data/images
cd ${WRKSRC}/lang && \
${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
cd ${WRKSRC} && \
${INSTALL_PROGRAM} analog ${PREFIX}/bin
cd ${WRKSRC} && \
for file in analog.cfg ; do \
if [ ! -f ${PREFIX}/etc/$$file ] ; then \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
fi ; \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
done
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \
${INSTALL_DATA} * ${PREFIX}/share/doc/analog
.endif
.include <bsd.port.mk>