Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 05:00:58 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47076: Update port: graphics/epix to 0.8.8a
Message-ID:  <20030115050058.7c691f68.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         47076
>Category:       ports
>Synopsis:       Update port: graphics/epix to 0.8.8a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 14 12:10:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.8a

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/epix/Makefile graphics/epix/Makefile
--- /usr/ports/graphics/epix/Makefile	Mon Nov 11 18:59:46 2002
+++ graphics/epix/Makefile	Sat Jan 11 15:30:10 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	epix
-PORTVERSION=	0.8.7a
+PORTVERSION=	0.8.8a
 CATEGORIES=	graphics
 MASTER_SITES=	http://mathcs.holycross.edu/~ahwang/software/
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
@@ -19,9 +19,20 @@
 		latex:${PORTSDIR}/print/teTeX
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_BZIP2=	yes
+USE_REINPLACE=	yes
+MAKE_ARGS=	CXX="${CXX}" CFLAGS="${CXXFLAGS} -c" \
+		INSTALL_PROGRAM="${INSTALL_DATA}" \
+		INSTALL_BIN="${INSTALL_SCRIPT}"
 PLIST_SUB=	VERSION="${PORTVERSION}"
 
 MAN1=	epix.1
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/newbash.sh
+	@${REINPLACE_CMD} -e 's|COPYING ||g' ${WRKSRC}/helpfiles.sh
 
 pre-build:
 	@(cd ${WRKSRC} ; ./newbash.sh)
diff -urN /usr/ports/graphics/epix/distinfo graphics/epix/distinfo
--- /usr/ports/graphics/epix/distinfo	Fri Nov  1 21:54:32 2002
+++ graphics/epix/distinfo	Sat Jan 11 15:20:06 2003
@@ -1 +1 @@
-MD5 (epix-0.8.7a_src.tar.gz) = 88399be865d38569d2fa3788058e07ed
+MD5 (epix-0.8.8a_src.tar.bz2) = 93583d819b53f1b4cc0f65276e888376
diff -urN /usr/ports/graphics/epix/files/patch-newbash.sh graphics/epix/files/patch-newbash.sh
--- /usr/ports/graphics/epix/files/patch-newbash.sh	Mon Oct 28 00:56:32 2002
+++ graphics/epix/files/patch-newbash.sh	Sat Jan 11 15:16:19 2003
@@ -1,6 +1,6 @@
---- newbash.sh.orig	Sun Oct 27 23:53:05 2002
-+++ newbash.sh	Sun Oct 27 23:53:54 2002
-@@ -1,7 +1,7 @@
+--- newbash.sh.orig	Tue Sep  3 01:50:01 2002
++++ newbash.sh	Sat Jan 11 15:16:11 2003
+@@ -1,10 +1,10 @@
  #!/bin/sh
  #
  for FILE in elaps laps make_header post-uninst.sh pre-install.sh prepix \
@@ -8,4 +8,8 @@
 +	helpfiles.sh samples/makefigs Makefile
  do
  	mv $FILE $FILE.orig
- 	sed 's+/bin/bash+/usr/local/bin/bash+g' $FILE.orig > $FILE
+-	sed 's+/bin/bash+/usr/local/bin/bash+g' $FILE.orig > $FILE
++	sed 's+/bin/bash+%%LOCALBASE%%/bin/bash+g' $FILE.orig > $FILE
+ ##                       ^-----------------^
+ ## Replace the portion from + to + of the line above with the path to
+ ## bash on your system. Sample replacement line:
diff -urN /usr/ports/graphics/epix/pkg-plist graphics/epix/pkg-plist
--- /usr/ports/graphics/epix/pkg-plist	Fri Nov  1 21:54:32 2002
+++ graphics/epix/pkg-plist	Sat Jan 11 15:32:15 2003
@@ -1,30 +1,26 @@
+bin/elaps
 bin/epix
 bin/laps
-bin/elaps
 include/epix.h
 lib/libepix.a
-share/epix/epix-%%VERSION%%_samples.tar 
-share/epix/calculus.c
-share/epix/clipplot.c
-share/epix/contour.c
-share/epix/demoivre.c
-share/epix/denom.c
-share/epix/flow-plot.c
-share/epix/geomsum.c
-share/epix/golden_rect.c
-share/epix/koch.c
-share/epix/levelset.c
-share/epix/lissajous.c
-share/epix/makefigs
-share/epix/polar.c
-share/epix/sample.aux
-share/epix/sample.tex
-share/epix/slopefield.c
-share/epix/sphere.c
-share/epix/stereo-left.c
-share/epix/stereo-right.c
-share/epix/template
-share/epix/uppersum.c
-share/epix/weierstrass.c
-share/epix/wheel.c
-@dirrm share/epix
+share/epix/config/bash_completions
+share/epix/config/epix.el
+share/epix/config/epix.spec
+share/epix/config/epix.texi
+share/epix/config/update_figs.sh
+share/epix/notes/BUGS
+share/epix/notes/CHANGELOG
+share/epix/notes/INSTALL
+share/epix/notes/POST-INSTALL
+share/epix/notes/README
+share/epix/notes/README-authors
+share/epix/notes/README-changes
+share/epix/notes/THANKS
+share/epix/notes/TODO
+share/epix/samples/epix-%%VERSION%%_samples.tar
+@dirrm share/epix/samples
+@dirrm share/epix/notes
+@dirrm share/epix/config
+@exec mkdir -p %D/share/epix/tutorial
+@exec rmdir %D/share/epix/tutorial 2>/dev/null || true
+@exec rmdir %D/share/epix 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030115050058.7c691f68.tkato>