ports/98200: update math/plplot to version 5.6.1
Pedro F. Giffuni
giffunip at asme.org
Wed May 31 07:10:19 UTC 2006
>Number: 98200
>Category: ports
>Synopsis: update math/plplot to version 5.6.1
>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: Wed May 31 07:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 6.1-Release (amd64)
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Fri May 12 00:18:58 COT 2006 root at etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64
>Description:
math/plplot was very outdated.
The new version is known to build with gfortran. I updated the WITH_TCLTK knob so that it now builds with a recent itcl an Tcl/Tk84. Unfortunately the WITH_PYTHON target is not working due to some issue with the naming of the library and the python version.
>How-To-Repeat:
>Fix:
diff -ruN plplot.orig/Makefile plplot/Makefile
--- plplot.orig/Makefile Tue May 30 20:02:49 2006
+++ plplot/Makefile Wed May 31 01:52:17 2006
@@ -6,7 +6,7 @@
#
PORTNAME= plplot
-PORTVERSION= 5.5.2
+PORTVERSION= 5.6.1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,7 +26,6 @@
LDFLAGS="-L${LOCALBASE}/lib" \
M4="${LOCALBASE}/bin/gm4"
CONFIGURE_ARGS= --disable-cgm --disable-java --disable-octave \
- --with-ltdlsystem \
--with-gd-incdir=${LOCALBASE}/include \
--with-gd-libdir=${LOCALBASE}/lib \
--with-freetype-font-dir=${LOCALBASE}
@@ -42,6 +41,7 @@
.else
USE_XLIB= yes
PLIST_SUB+= X11=""
+#USE_GNOME= libgnomeui pkgconfig pango
.endif
.if !defined(WITHOUT_PTHREAD)
@@ -59,6 +59,7 @@
.if defined(WITH_PYTHON)
USE_PYTHON= yes
PLIST_SUB+= PYTHON=""
+CONFIGURE_ENV+= PYTHON_VERSION="${PYTHON_VERSION}"
.else
CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON="@comment "
@@ -67,16 +68,16 @@
.if defined(WITH_TCLTK)
.undef WITHOUT_X11
PKGNAMESUFFIX= -tcltk
-LIB_DEPENDS+= itk32.1:${PORTSDIR}/x11-toolkits/itk
-CONFIGURE_ENV+= ITKINCDIR="${LOCALBASE}/include/itk3.2" \
- ITKLIBDIR="${LOCALBASE}/lib" \
- TKINCDIR="${LOCALBASE}/include/tk8.3" \
- TKPRIVATEINCDIR="${LOCALBASE}/include/tk8.3/generic" \
- TKLIBDIR="${LOCALBASE}/lib" \
- ITCLINCDIR="${LOCALBASE}/include/itcl3.2" \
+LIB_DEPENDS+= itk.3:${PORTSDIR}/x11-toolkits/itk
+CONFIGURE_ENV+= ITKINCDIR="${LOCALBASE}/include/itk3.3" \
+ ITKLIBDIR="${LOCALBASE}/lib" \
+ TKINCDIR="${LOCALBASE}/include/tk8.4" \
+ TKPRIVATEINCDIR="${LOCALBASE}/include/tk8.4/generic" \
+ TKLIBDIR="${LOCALBASE}/lib" \
+ ITCLINCDIR="${LOCALBASE}/include/itcl3.3" \
ITCLLIBDIR="${LOCALBASE}/lib" \
- TCLINCDIR="${LOCALBASE}/include/tcl8.3" \
- TCLPRIVATEINCDIR="${LOCALBASE}/include/tcl8.3/generic" \
+ TCLINCDIR="${LOCALBASE}/include/tcl8.4" \
+ TCLPRIVATEINCDIR="${LOCALBASE}/include/tcl8.4/generic" \
TCLLIBDIR="${LOCALBASE}/lib"
MAN1+= plrender.1 plserver.1 pltcl.1
PLIST_SUB+= TCLTK=""
@@ -97,14 +98,12 @@
@${ECHO_MSG} ""
post-patch:
- @${REINPLACE_CMD} -e 's|-litk$$|-litk32|g ; \
- s|-ltk$$|-ltk83|g ; \
- s|-litcl$$|-litcl32|g ; \
- s|-ltcl$$|-ltcl83|g ; \
+ @${REINPLACE_CMD} -e 's|-ltk$$|-ltk84|g ; \
+ s|-ltcl$$|-ltcl84|g ; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|tk octave java|tk|g' \
${WRKSRC}/bindings/Makefile.in
- @${REINPLACE_CMD} -e 's| tclsh | ${LOCALBASE}/bin/tclsh8.3 |g' \
+ @${REINPLACE_CMD} -e 's| tclsh | ${LOCALBASE}/bin/tclsh8.4 |g' \
${WRKSRC}/scripts/mktclIndex
post-install:
diff -ruN plplot.orig/distinfo plplot/distinfo
--- plplot.orig/distinfo Tue May 30 20:02:49 2006
+++ plplot/distinfo Tue May 30 20:10:57 2006
@@ -1,3 +1,3 @@
-MD5 (plplot-5.5.2.tar.gz) = bef62f05b317005fbf36c2fc3c191338
-SHA256 (plplot-5.5.2.tar.gz) = 267d9c4070b8b6de75590efc24388da670dd5d0039a5dc21ecb803366d14730c
-SIZE (plplot-5.5.2.tar.gz) = 5891255
+MD5 (plplot-5.6.1.tar.gz) = 51029b256f3333449de9bcd3e00c088f
+SHA256 (plplot-5.6.1.tar.gz) = b2f1d93c605dd98bd95909ee9aca52d6c6cda476405b583f8a486f90aae893ad
+SIZE (plplot-5.6.1.tar.gz) = 6357444
diff -ruN plplot.orig/pkg-plist plplot/pkg-plist
--- plplot.orig/pkg-plist Tue May 30 20:02:49 2006
+++ plplot/pkg-plist Wed May 31 00:52:56 2006
@@ -35,27 +35,27 @@
lib/libplplotcxxd.a
lib/libplplotcxxd.la
lib/libplplotcxxd.so
-lib/libplplotcxxd.so.10
+lib/libplplotcxxd.so.11
lib/libplplotd.a
lib/libplplotd.la
lib/libplplotd.so
-lib/libplplotd.so.10
+lib/libplplotd.so.11
lib/libplplotf77cd.a
lib/libplplotf77cd.la
lib/libplplotf77cd.so
-lib/libplplotf77cd.so.9
+lib/libplplotf77cd.so.10
lib/libplplotf77d.a
lib/libplplotf77d.la
lib/libplplotf77d.so
-lib/libplplotf77d.so.9
+lib/libplplotf77d.so.10
%%TCLTK%%lib/libplplottcltkd.a
%%TCLTK%%lib/libplplottcltkd.la
%%TCLTK%%lib/libplplottcltkd.so
-%%TCLTK%%lib/libplplottcltkd.so.10
+%%TCLTK%%lib/libplplottcltkd.so.11
%%TCLTK%%lib/libtclmatrixd.a
%%TCLTK%%lib/libtclmatrixd.la
%%TCLTK%%lib/libtclmatrixd.so
-%%TCLTK%%lib/libtclmatrixd.so.10
+%%TCLTK%%lib/libtclmatrixd.so.11
lib/plplot%%VERSION%%/driversd/gd.la
lib/plplot%%VERSION%%/driversd/gd.rc
lib/plplot%%VERSION%%/driversd/gd.so
@@ -80,9 +80,6 @@
lib/plplot%%VERSION%%/driversd/ps.la
lib/plplot%%VERSION%%/driversd/ps.rc
lib/plplot%%VERSION%%/driversd/ps.so
-lib/plplot%%VERSION%%/driversd/pstex.la
-lib/plplot%%VERSION%%/driversd/pstex.rc
-lib/plplot%%VERSION%%/driversd/pstex.so
%%TCLTK%%lib/plplot%%VERSION%%/driversd/tk.la
%%TCLTK%%lib/plplot%%VERSION%%/driversd/tk.rc
%%TCLTK%%lib/plplot%%VERSION%%/driversd/tk.so
@@ -111,14 +108,12 @@
%%PORTDOCS%%%%DOCSDIR%%/README.csa
%%PORTDOCS%%%%DOCSDIR%%/README.drivers
%%PORTDOCS%%%%DOCSDIR%%/README.nn
+%%PORTDOCS%%%%DOCSDIR%%/README.pkg-config
%%DATADIR%%%%VERSION%%/cglobe.map
%%DATADIR%%%%VERSION%%/examples/Makefile
%%DATADIR%%%%VERSION%%/examples/c/Makefile
-%%DATADIR%%%%VERSION%%/examples/c/README.plplotcanvas
%%DATADIR%%%%VERSION%%/examples/c/lena.pgm
%%DATADIR%%%%VERSION%%/examples/c/plcdemos.h
-%%DATADIR%%%%VERSION%%/examples/c/plplotcanvas_animation.c
-%%DATADIR%%%%VERSION%%/examples/c/plplotcanvas_demo.c
%%DATADIR%%%%VERSION%%/examples/c/tutor.c
%%DATADIR%%%%VERSION%%/examples/c/x01c.c
%%DATADIR%%%%VERSION%%/examples/c/x02c.c
@@ -144,8 +139,10 @@
%%DATADIR%%%%VERSION%%/examples/c/x22c.c
%%DATADIR%%%%VERSION%%/examples/c/x23c.c
%%DATADIR%%%%VERSION%%/examples/c/x24c.c
+%%DATADIR%%%%VERSION%%/examples/c/x25c.c
%%DATADIR%%%%VERSION%%/examples/c++/Makefile
%%DATADIR%%%%VERSION%%/examples/c++/lena.pgm
+%%DATADIR%%%%VERSION%%/examples/c++/plc++demos.h
%%DATADIR%%%%VERSION%%/examples/c++/x01.cc
%%DATADIR%%%%VERSION%%/examples/c++/x01cc.cc
%%DATADIR%%%%VERSION%%/examples/c++/x02.cc
@@ -191,32 +188,9 @@
%%DATADIR%%%%VERSION%%/examples/f77/x16f.f
%%DATADIR%%%%VERSION%%/examples/f77/x17f.f
%%DATADIR%%%%VERSION%%/examples/f77/x18f.f
+%%DATADIR%%%%VERSION%%/examples/f77/x19f.f
%%DATADIR%%%%VERSION%%/examples/f77/x22f.f
-%%DATADIR%%%%VERSION%%/examples/perl/README.perldemos
-%%DATADIR%%%%VERSION%%/examples/perl/x01.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x02.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x03.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x04.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x05.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x06.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x07.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x08.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x09.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x10.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x11.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x12.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x13.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x14.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x15.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x16.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x17.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x18.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x19.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x20.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x21.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x22.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x23.pl
-%%DATADIR%%%%VERSION%%/examples/perl/x24.pl
+%%DATADIR%%%%VERSION%%/examples/f77/x23f.f
%%DATADIR%%%%VERSION%%/examples/plplot-test.sh
%%PYTHON%%%%DATADIR%%%%VERSION%%/examples/python/README.plplotcanvas
%%PYTHON%%%%DATADIR%%%%VERSION%%/examples/python/README.pythondemos
@@ -386,7 +360,6 @@
%%TCLTK%%@dirrm %%DATADIR%%%%VERSION%%/examples/tk
%%TCLTK%%@dirrm %%DATADIR%%%%VERSION%%/examples/tcl
%%PYTHON%%@dirrm %%DATADIR%%%%VERSION%%/examples/python
- at dirrm %%DATADIR%%%%VERSION%%/examples/perl
@dirrm %%DATADIR%%%%VERSION%%/examples/f77
@dirrm %%DATADIR%%%%VERSION%%/examples/c++
@dirrm %%DATADIR%%%%VERSION%%/examples/c
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list