aboutsummaryrefslogtreecommitdiffstats
path: root/www/analog/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-04-09 02:18:26 +0800
committerache <ache@FreeBSD.org>1998-04-09 02:18:26 +0800
commit9d5214a90649cbd298e2b42ad283b579efede9ab (patch)
tree585f52b278628b71c78cfdc438ac12024e6c2865 /www/analog/Makefile
parentb9f5b13e9f68873ced52d57797dac2e7cec2904f (diff)
downloadfreebsd-ports-gnome-9d5214a90649cbd298e2b42ad283b579efede9ab.tar.gz
freebsd-ports-gnome-9d5214a90649cbd298e2b42ad283b579efede9ab.tar.zst
freebsd-ports-gnome-9d5214a90649cbd298e2b42ad283b579efede9ab.zip
Upgrade to 2.90beta3
Diffstat (limited to 'www/analog/Makefile')
-rw-r--r--www/analog/Makefile31
1 files changed, 17 insertions, 14 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
index bda938f720b3..2652fc7ad7b8 100644
--- a/www/analog/Makefile
+++ b/www/analog/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: analog
-# Version required: 2.11
+# Version required: 2.90beta3
# Date created: October 21st 1996
# Whom: jfitz
#
-# $Id: Makefile,v 1.8 1997/05/02 23:16:50 ache Exp $
+# $Id: Makefile,v 1.9 1997/05/07 19:51:22 ache Exp $
#
-DISTNAME= analog2.11
-PKGNAME= analog-2.11
+DISTNAME= analog2.90beta3
+PKGNAME= analog-2.90b3
CATEGORIES= www
MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
http://www.lightside.net/analog/ \
@@ -17,7 +17,9 @@ MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
ftp://download.netvision.net.il/pub/mirrors/analog/ \
ftp://mabuse.phil.uni-passau.de/pub/mirrors/analog/
-MAINTAINER= jfitz@freebsd.org
+MAINTAINER= ache@freebsd.org
+
+MAKE_FLAGS= -DPREFIX=${PREFIX} -f
do-install:
install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
@@ -26,9 +28,8 @@ do-install:
${PREFIX}/lib/analog/lang
install -d -o nobody -g nogroup -m 755 \
${PREFIX}/www/data/images
- cd ${WRKSRC} && \
- ${INSTALL_DATA} Readme.html Licence \
- ${PREFIX}/share/doc/analog
+ cd ${WRKSRC}/docs && \
+ ${INSTALL_DATA} * ${PREFIX}/share/doc/analog
cd ${WRKSRC}/images && \
${INSTALL_DATA} * ${PREFIX}/www/data/images
cd ${WRKSRC}/lang && \
@@ -36,18 +37,20 @@ do-install:
cd ${WRKSRC} && \
${INSTALL_PROGRAM} analog ${PREFIX}/bin
cd ${WRKSRC} && \
- for file in domains.tab primes.tab analog.cfg ; do \
+ for file in domains.tab ; 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
+ for file in analog.cfg ; do \
+ if [ -f ${PREFIX}/etc/$$file ] ; then \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
+ else \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
+ fi ; \
+ done
.include <bsd.port.mk>