ports/125761: Update graphics/dataplot to version 20070224
Pedro F. Giffuni
pfgshield-freebsd at yahoo.com
Sat Jul 19 01:50:02 UTC 2008
>Number: 125761
>Category: ports
>Synopsis: Update graphics/dataplot to version 20070224
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 19 01:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008 root at kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP amd64
>Description:
- Update to version 20070224.
- Use $(F77) as the linker in order to avoid ugly hacks.
- Use bigger MAXOBV as recommended by the upstream author some years ago, when large memories were not as common.
- Remove ALPHA error message, it's unsupported anyway.
- Use EXTRACT_SUFX
>How-To-Repeat:
>Fix:
diff -ruN dataplot.orig/Makefile dataplot/Makefile
--- dataplot.orig/Makefile 2008-07-18 17:18:41.000000000 -0500
+++ dataplot/Makefile 2008-07-18 20:39:02.000000000 -0500
@@ -1,22 +1,21 @@
# New ports collection makefile for: dataplot
# Date created: 20 July 2003
-# Whom: Pedro F. Giffuni <giffunip at asme.org>
+# Whom: Pedro F. Giffuni
#
# $FreeBSD: ports/graphics/dataplot/Makefile,v 1.22 2008/04/19 17:50:00 miwi Exp $
#
PORTNAME= dataplot
-PORTVERSION= 20061219
-PORTREVISION= 3
+PORTVERSION= 20070224
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \
- http://www.alaskaparadise.com/freebsd/:source \
- http://www.itl.nist.gov/div898/software/dataplot.html/:doc \
- http://www.alaskaparadise.com/freebsd/:doc
-DISTFILES= dpsrc.12_19_2006.tar.gz:source \
- dpsnapsh.pdf:doc
+ http://www.alaskaparadise.com/freebsd/:source \
+ http://www.itl.nist.gov/div898/software/dataplot.html/:doc \
+ http://www.alaskaparadise.com/freebsd/:doc
+DISTFILES= dpsrc.02_24_2007${EXTRACT_SUFX}:source \
+ dpsnapsh.pdf:doc
DIST_SUBDIR= dataplot
-EXTRACT_ONLY= dpsrc.12_19_2006.tar.gz
+EXTRACT_ONLY= dpsrc.02_24_2007${EXTRACT_SUFX}
MAINTAINER= beech at FreeBSD.org
COMMENT= A free software system for statistical visualization
@@ -30,16 +29,7 @@
MAKE_ENV+= FFLAGS="${FFLAGS}"
USE_XORG= x11 xi
NO_WRKSUBDIR= yes
-MAXOBV?= 20000 # Make bigger if you need more observations/variable
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN= Does not link on alpha (.got subsegment exceeds 64k)
-.endif
-
-FORTRANLIBS= -lgfortranbegin -lgfortran
-GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
+MAXOBV?= 100000 # Change if you need more observations/variable
post-extract:
@${INSTALL_DATA} ${FILESDIR}/Makefile.tmpl ${WRKSRC}/Makefile
@@ -52,10 +42,6 @@
@${REINPLACE_CMD} -e 's/MAXOBV=100000/MAXOBV=${MAXOBV}/' \
${WRKSRC}/DPCOPA.INC
-pre-build:
- ${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
- ${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/Makefile
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@@ -63,4 +49,4 @@
${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN dataplot.orig/distinfo dataplot/distinfo
--- dataplot.orig/distinfo 2008-07-18 17:18:41.000000000 -0500
+++ dataplot/distinfo 2008-07-18 17:25:05.000000000 -0500
@@ -1,6 +1,6 @@
-MD5 (dataplot/dpsrc.12_19_2006.tar.gz) = 27bc03d5b3d7cbbb4cb13c47e00263e6
-SHA256 (dataplot/dpsrc.12_19_2006.tar.gz) = bff80f36e4054a2524dc05a590fe39158eb8bfc4afedd29eb0eb06e4888b909c
-SIZE (dataplot/dpsrc.12_19_2006.tar.gz) = 6101473
+MD5 (dataplot/dpsrc.02_24_2007.tar.gz) = 5e8018c142930e8c69a6e8595822d936
+SHA256 (dataplot/dpsrc.02_24_2007.tar.gz) = dce39fb484c191f96d8776dcfeb7f1a257cfd04cb0ab2da2255bff816517efa9
+SIZE (dataplot/dpsrc.02_24_2007.tar.gz) = 6154582
MD5 (dataplot/dpsnapsh.pdf) = 88ca193586405a71387abbeba9be9f0e
SHA256 (dataplot/dpsnapsh.pdf) = 4854cdab00ce10df87686eb025a80f57575fea1b362a22b49f202e10348f0e4b
SIZE (dataplot/dpsnapsh.pdf) = 62085
diff -ruN dataplot.orig/files/Makefile.tmpl dataplot/files/Makefile.tmpl
--- dataplot.orig/files/Makefile.tmpl 2008-07-18 17:18:41.000000000 -0500
+++ dataplot/files/Makefile.tmpl 2008-07-18 20:28:03.000000000 -0500
@@ -15,11 +15,11 @@
INSTALL = install
-LD = $(CC)
+LD = $(F77)
-LDFLAGS = -L%%LOCALBASE%%/lib %%GCCLIBDIR%%
+LDFLAGS = -L%%LOCALBASE%%/lib
-LIBS = -lgd -lpng -ljpeg -lX11 -lz %%FORTRANLIBS%% -lm
+LIBS = -lgd -lpng -ljpeg -lX11 -lz -lm
MAKEFILE = Makefile
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list