Skip site navigation (1)Skip section navigation (2)
Date:      17 Oct 2002 15:16:57 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44172: [PATCH] Unbreak (checksum errors) and update graphics/epix
Message-ID:  <20021017151657.82309.qmail@outpost.globcon.net>

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

>Number:         44172
>Category:       ports
>Synopsis:       [PATCH] Unbreak (checksum errors) and update graphics/epix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 08:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002     sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST  i386
>Description:
- The port is broken due to checksum errors - unbreak by switching to 
  DISTNAME that contains PORTVERSION
- Use smaller bzip'ed distfile
- Removed patch merged into the upstream distribution
- Respect CXX and CXXFLAGS
- Make port PREFIX- and LOCALBASE-clean

Remove file:
- files/patch-samples.sh
>How-To-Repeat:
>Fix:

--- epix-0.8.7a.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/epix/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	2002/09/05 05:45:54	1.1
+++ Makefile	2002/10/17 15:07:31
@@ -7,10 +7,10 @@
 #
 
 PORTNAME=	epix
-PORTVERSION=	0.8.6
+PORTVERSION=	0.8.7a
 CATEGORIES=	graphics
 MASTER_SITES=	http://mathcs.holycross.edu/~ahwang/software/
-DISTNAME=	epix_src
+DISTNAME=	epix-${PORTVERSION}_src
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -18,11 +18,20 @@
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2 \
 		latex:${PORTSDIR}/print/teTeX
 
+USE_BZIP2=	yes
+USE_REINPLACE=	yes
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+MAKE_ARGS+=	prefix="${PREFIX}" CXX="${CXX}" CFLAGS="-c ${CXXFLAGS}"
+PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
 
 MAN1=	epix.1
+FILES=	elaps laps make_header post-uninst.sh pre-install.sh prepix \
+	helpfiles.sh samples/makefigs Makefile
 
 pre-build:
-	@(cd ${WRKSRC} ; ./newbash.sh)
+.for f in ${FILES}
+	${REINPLACE_CMD} -e 's!/bin/bash!${LOCALBASE}/bin/bash!g' ${WRKSRC}/${f}
+.endfor
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/epix/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	2002/09/05 05:45:54	1.1
+++ distinfo	2002/10/17 15:07:31
@@ -1 +1 @@
-MD5 (epix_src.tar.gz) = ae17eb131dc9ecb25c20e549ada63eff
+MD5 (epix-0.8.7a_src.tar.bz2) = df607f610197deb81460d317dffcc647
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/epix/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2002/09/05 05:45:54	1.1
+++ pkg-plist	2002/10/17 15:07:31
@@ -8,7 +8,7 @@
 share/epix/contour.c
 share/epix/demoivre.c
 share/epix/denom.c
-share/epix/epix_samples.tar
+share/epix/epix-%%PORTVERSION%%_samples.tar
 share/epix/flow-plot.c
 share/epix/geomsum.c
 share/epix/golden_rect.c
--- epix-0.8.7a.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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