1996-06-09 23:24:54 +00:00
|
|
|
# New ports collection makefile for: analog
|
1997-05-02 23:16:58 +00:00
|
|
|
# Version required: 2.11
|
1996-10-22 00:49:05 +00:00
|
|
|
# Date created: October 21st 1996
|
|
|
|
# Whom: jfitz
|
1996-06-09 23:24:54 +00:00
|
|
|
#
|
1997-05-07 19:51:25 +00:00
|
|
|
# $Id: Makefile,v 1.8 1997/05/02 23:16:50 ache Exp $
|
1996-06-09 23:24:54 +00:00
|
|
|
#
|
|
|
|
|
1997-05-02 23:16:58 +00:00
|
|
|
DISTNAME= analog2.11
|
|
|
|
PKGNAME= analog-2.11
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= www
|
1997-05-02 23:16:58 +00:00
|
|
|
MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
|
1996-10-22 00:49:05 +00:00
|
|
|
http://www.lightside.net/analog/ \
|
|
|
|
http://www.gamesdomain.com/analog/ \
|
|
|
|
http://www.monash.edu.au/mirror/analog/ \
|
|
|
|
http://www.gamesdomain.co.uk/analog/ \
|
|
|
|
ftp://download.netvision.net.il/pub/mirrors/analog/ \
|
|
|
|
ftp://mabuse.phil.uni-passau.de/pub/mirrors/analog/
|
1996-06-09 23:24:54 +00:00
|
|
|
|
1996-08-06 21:18:00 +00:00
|
|
|
MAINTAINER= jfitz@freebsd.org
|
1996-06-09 23:24:54 +00:00
|
|
|
|
|
|
|
do-install:
|
1997-05-02 23:16:58 +00:00
|
|
|
install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
|
|
|
|
${PREFIX}/share/doc/analog
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${PREFIX}/lib/analog/lang
|
1997-05-07 19:51:25 +00:00
|
|
|
install -d -o nobody -g nogroup -m 755 \
|
|
|
|
${PREFIX}/www/data/images
|
1997-05-02 23:16:58 +00:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} Readme.html Licence \
|
|
|
|
${PREFIX}/share/doc/analog
|
|
|
|
cd ${WRKSRC}/images && \
|
1997-05-07 19:51:25 +00:00
|
|
|
${INSTALL_DATA} * ${PREFIX}/www/data/images
|
1997-05-02 23:16:58 +00:00
|
|
|
cd ${WRKSRC}/lang && \
|
|
|
|
${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_PROGRAM} analog ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for file in domains.tab primes.tab analog.cfg ; do \
|
|
|
|
if [ -f ${PREFIX}/lib/analog/$$file ] ; then \
|
|
|
|
${INSTALL_DATA} -m 644 $$file ${PREFIX}/lib/analog/$$file-dist ; \
|
|
|
|
else \
|
|
|
|
${INSTALL_DATA} -m 644 $$file ${PREFIX}/lib/analog/$$file ; \
|
|
|
|
fi ; \
|
|
|
|
done
|
|
|
|
cd ${WRKSRC} && make form
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_PROGRAM} analform.cgi ${PREFIX}/www/cgi-bin
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} analogform.html \
|
|
|
|
${PREFIX}/share/doc/analog
|
1996-06-09 23:24:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|