Update of the math/grace port to version 5.1.2. This is the second try to update grace, cause the first (5.1.1) wasn't commited due to a pdf3 hack. Now pdflib3 is in the ports and nothing speaks against the update of grace. I've tested the port with my own PHD-thesis and no porblems occured. Absolutely necessary is the update on XmHTML to version 1.1.7 (see my PR ports/21836). Grace uses a lot of libs, ldd gives for the linked binary: 65374 : ldd /usr/X11/bin/xmgrace /usr/X11/bin/xmgrace: libXmHTML.so.1 => /usr/X11R6/lib/libXmHTML.so.1 (0x280ff000) libXbae.so.4 => /usr/local/lib/libXbae.so.4 (0x28160000) libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x2819c000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28331000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28337000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28344000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28355000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28393000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2839d000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28430000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28438000) libnetcdf.so => /usr/local/lib/libnetcdf.so (0x2844c000) libfftw.so.2 => /usr/local/lib/libfftw.so.2 (0x2847a000) libt1.so.1 => /usr/local/lib/libt1.so.1 (0x284a9000) libpdf.so.3 => /usr/local/lib/libpdf.so.3 (0x284e4000) libtiff.so.4 => /usr/local/lib/libtiff.so.4 (0x28508000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28547000) libpng.so.4 => /usr/local/lib/libpng.so.4 (0x28563000) libm.so.2 => /usr/lib/libm.so.2 (0x28580000) libc.so.3 => /usr/lib/libc.so.3 (0x2859b000) libz.so.2 => /usr/lib/libz.so.2 (0x2861c000) Fix: commit the diffs below to the current ports tree. I always get an error (rejected diff) for the Makefile, when testing it with patch -C < ..... Don't know why. PORTNAME= grace -PORTVERSION= 5.0.3g +PORTVERSION= 5.1.2 CATEGORIES= math print # # You never know when and why this caotic team moves it to ../src/old/ :-) @@ -17,33 +17,30 @@ ftp://abragam.med.utoronto.ca/pub/mirrors/grace/src/old/ \ ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/grace/src/old/ \ ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/grace/src/ -DISTNAME= grace-5.0.3gamma MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE -BUILD_DEPENDS= ${X11BASE}/lib/libhlpclient.a:${PORTSDIR}/x11/libhelp LIB_DEPENDS= Xbae.7:${PORTSDIR}/x11-toolkits/xbae \ + Xpm.4:${PORTSDIR}/graphics/xpm \ netcdf.1:${PORTSDIR}/math/netcdf \ fftw.2:${PORTSDIR}/math/fftw \ - pdf.2:${PORTSDIR}/print/pdflib \ tiff.4:${PORTSDIR}/graphics/tiff \ jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.4:${PORTSDIR}/graphics/png \ - t1.1:${PORTSDIR}/devel/t1lib + png.3:${PORTSDIR}/graphics/png \ + t1.1:${PORTSDIR}/devel/t1lib \ + XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml \ + pdf.3:${PORTSDIR}/print/pdflib3 MAN1= grace.1 xmgrace.1 gracebat.1 grconvert.1 USE_X_PREFIX= YES -USE_XPM= yes USE_GMAKE= YES REQUIRES_MOTIF= YES HAS_CONFIGURE= YES CONFIGURE_ARGS= -prefix=${X11BASE} \ - --enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include:${LOCALBASE}/include/gd \ - --enable-libhelp \ - --enable-extra-ldpath=${LOCALBASE}/lib \ - --enable-grace-home=${X11BASE}/lib/X11/grace \ - --enable-config=generic + --with-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \ + --with-extra-ldpath=${LOCALBASE}/lib \ + --enable-grace-home=${X11BASE}/lib/X11/grace ALL_TARGET= INSTALL_TARGET= install links @@ -54,6 +51,8 @@ ${RM} -f ${WRKSRC}/configure.input post-install: - ${LN} -s ${X11BASE}/lib/X11/grace/doc ${X11BASE}/share/doc/grace + if [ ! -e ${X11BASE}/share/doc/grace ]; then \ + ${LN} -s ${X11BASE}/lib/X11/grace/doc ${X11BASE}/share/doc/grace; \ + fi .include <bsd.port.mk> @@ -23,7 +9,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ---- 1827,1833 ---- +--- 2590,2596 ---- # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' @@ -31,10 +17,3 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -*************** -*** 8939,8942 **** - chmod +x $CONFIG_STATUS - rm -fr confdefs* $ac_clean_files - test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -- ---- 8934,8936 ---- -*************** -*** 119,122 **** - - # HTML help viewer command - HELPVIEWER=@HELPVIEWER@ -- ---- 120,122 ---- links : dummy ---- 31,37 ---- +--- 33,39 ---- install : $(EXAMPLES) $(DOTEST) $(MKINSTALLDIRS) $(GRACE_HOME)/examples for i in $(EXAMPLES); do $(INSTALL_DATA) $$i $(GRACE_HOME)/examples; done tests : dummy ---- 66,72 ---- +--- 78,84 ---- $(MKINSTALLDIRS) $(PREFIX)/man $(MKINSTALLDIRS) $(PREFIX)/man/man1 cd $(PREFIX)/man/man1; \ How-To-Repeat: -
State Changed From-To: open->closed Update of grace to version 5.1.2 and XmHTML to version 1.1.7.