aboutsummaryrefslogtreecommitdiff
path: root/www/analog/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-05-02 23:16:58 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-05-02 23:16:58 +0000
commitd5dcc1277b3378ed99847967aefd826652c9f175 (patch)
tree63aa4c0a0beafd6dd0c207e2bebc56c52f5e0341 /www/analog/Makefile
parente2101afed1bf5f8a9dcaea870d189f3331ae480f (diff)
downloadports-d5dcc1277b3378ed99847967aefd826652c9f175.tar.gz
ports-d5dcc1277b3378ed99847967aefd826652c9f175.zip
Notes
Diffstat (limited to 'www/analog/Makefile')
-rw-r--r--www/analog/Makefile43
1 files changed, 32 insertions, 11 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
index 1d846c635788..8d37e4b54387 100644
--- a/www/analog/Makefile
+++ b/www/analog/Makefile
@@ -1,15 +1,15 @@
# New ports collection makefile for: analog
-# Version required: 1.92b1
+# Version required: 2.11
# Date created: October 21st 1996
# Whom: jfitz
#
-# $Id: Makefile,v 1.6 1997/04/19 18:28:20 paul Exp $
+# $Id: Makefile,v 1.7 1997/04/30 00:16:34 paul Exp $
#
-DISTNAME= analog.1.92.1
-PKGNAME= analog-1.92.1
+DISTNAME= analog2.11
+PKGNAME= analog-2.11
CATEGORIES= www
-MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/ \
+MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
http://www.lightside.net/analog/ \
http://www.gamesdomain.com/analog/ \
http://www.monash.edu.au/mirror/analog/ \
@@ -19,12 +19,33 @@ MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/ \
MAINTAINER= jfitz@freebsd.org
-WRKSRC= ${WRKDIR}/analog
-
do-install:
- @mkdir -p ${PREFIX}/share/analog
- @(cd ${WRKSRC}; cp -r Readme.html domains.tab primes.tab images ${PREFIX}/share/analog; cp analog ${PREFIX}/bin)
- @(cd ${PREFIX}/share/analog; chmod +r *)
- @strip ${PREFIX}/bin/analog
+ install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
+ ${PREFIX}/share/doc/analog
+ install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${PREFIX}/lib/analog/lang
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} Readme.html Licence \
+ ${PREFIX}/share/doc/analog
+ cd ${WRKSRC}/images && \
+ ${INSTALL_DATA} * ${PREFIX}/www/icons
+ 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
.include <bsd.port.mk>