summaryrefslogtreecommitdiff
path: root/www/chimera2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-03-08 21:59:11 +0000
committerSteve Price <steve@FreeBSD.org>1999-03-08 21:59:11 +0000
commitf1d59f5f0685c2e8b55a31b543881cf4ce49a654 (patch)
tree6e0f897653b966f3a54e59bd1bced0295e759db9 /www/chimera2
parentUpdate to version 4.0.18. (diff)
Update to version 2.0a15.
PR: 98080 Submitted by: Tom Hukins <tom@eborcom.com>
Notes
Notes: svn path=/head/; revision=17086
Diffstat (limited to 'www/chimera2')
-rw-r--r--www/chimera2/Makefile16
-rw-r--r--www/chimera2/distinfo2
-rw-r--r--www/chimera2/pkg-plist1
-rw-r--r--www/chimera2/scripts/configure12
4 files changed, 20 insertions, 11 deletions
diff --git a/www/chimera2/Makefile b/www/chimera2/Makefile
index 11c6b547cfd3..45a3eb2e0ced 100644
--- a/www/chimera2/Makefile
+++ b/www/chimera2/Makefile
@@ -1,25 +1,23 @@
# New ports collection makefile for: chimera
-# Version required: 2.0a11
+# Version required: 2.0a15
# Date created: 24 Nov 1997
# Whom: Bruce Gingery <bgingery@gtcs.com>
#
-# $Id: Makefile,v 1.19 1998/09/17 00:50:50 asami Exp $
+# $Id: Makefile,v 1.20 1999/01/23 07:05:20 vanilla Exp $
#
-DISTNAME= chimera-2.0a11
+DISTNAME= chimera-2.0a15
CATEGORIES= www
-MASTER_SITES= ftp://ftp.cs.unlv.edu/pub/chimera-alpha/
+MASTER_SITES= ftp://ftp.cs.unlv.edu/pub/chimera-alpha/ \
+ ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/WWW/chimera/ \
+ ftp://ftp.uni-koeln.de/net/inet/WWW/
MAINTAINER= bgingery@gtcs.com
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.3:${PORTSDIR}/graphics/png
+MAN1= chimera.1
USE_IMAKE= yes
-post-patch:
- ${MV} ${WRKSRC}/Common.tmpl.dist ${WRKSRC}/Common.tmpl
- ${CP} ${FILESDIR}/protopng.h ${WRKSRC}/image/
- ln -s ${WRKSRC}/chimera ${WRKSRC}/main
-
.include <bsd.port.mk>
diff --git a/www/chimera2/distinfo b/www/chimera2/distinfo
index a8d3e7e96423..f0b2af6a0447 100644
--- a/www/chimera2/distinfo
+++ b/www/chimera2/distinfo
@@ -1 +1 @@
-MD5 (chimera-2.0a11.tar.gz) = c422accc01edcf2be5dfcea6df42f0cc
+MD5 (chimera-2.0a15.tar.gz) = 4d8cdc46179e6fb5351ee411ea346442
diff --git a/www/chimera2/pkg-plist b/www/chimera2/pkg-plist
index 8ebb57d417d2..75553bb63b97 100644
--- a/www/chimera2/pkg-plist
+++ b/www/chimera2/pkg-plist
@@ -1,2 +1 @@
bin/chimera
-man/man1/chimera.1.gz
diff --git a/www/chimera2/scripts/configure b/www/chimera2/scripts/configure
new file mode 100644
index 000000000000..13f5e196fb8f
--- /dev/null
+++ b/www/chimera2/scripts/configure
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+jpegdir=`ldconfig -r | grep -wF -e "-ljpeg.9" | sed -e 's#^.*=> ##' | \
+ sed -e 's#/lib/libjpeg\..*$##'`
+pngdir=`ldconfig -r | grep -wF -e "-lpng.2" | sed -e 's#^.*=> ##' | \
+ sed -e 's#/lib/libpng\..*$##'`
+
+sed -e 's#^CHIMERA_PREFIX = /usr/local$#CHIMERA_PREFIX = ${PREFIX}#' < ${WRKSRC}/Common.tmpl.dist > ${WRKSRC}/Common.tmpl.a
+sed -e "s#^JPEGDIR = /usr/local#JPEGDIR = $jpegdir#" < ${WRKSRC}/Common.tmpl.a > ${WRKSRC}/Common.tmpl.b
+sed -e "s#^PNGDIR = /usr/local#PNGDIR = $pngdir#" < ${WRKSRC}/Common.tmpl.b > ${WRKSRC}/Common.tmpl
+
+ln -s ${WRKSRC}/chimera ${WRKSRC}/main