ports/174177: math/grace: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 5 18:10:06 UTC 2012
>Number: 174177
>Category: ports
>Synopsis: math/grace: Update MASTER_SITES
>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 Dec 05 18:10:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Fix LIB_DEPENDS
- Add option for XmHTML support
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/math/grace/Makefile math/grace/Makefile
--- /usr/ports/math/grace/Makefile 2012-11-12 23:52:00.000000000 +0900
+++ math/grace/Makefile 2012-12-03 23:53:57.000000000 +0900
@@ -5,11 +5,10 @@
PORTVERSION= 5.1.23
PORTREVISION= 1
CATEGORIES= math print
-#
-MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \
- ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/ \
+MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/ \
ftp://ftp.ntua.gr/pub/graphics/grace/src/stable/ \
- ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/
+ ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/ \
+ ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/
MAINTAINER= ports at FreeBSD.org
COMMENT= Powerful 2D plotting tool (successor of xmgr)
@@ -19,10 +18,14 @@
LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
- Xbae:${PORTSDIR}/x11-toolkits/xbae \
- XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
+ Xbae:${PORTSDIR}/x11-toolkits/xbae
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+OPTIONS_DEFINE= FFTW NETCDF PDF XMHTML DOCS EXAMPLES
+OPTIONS_DEFAULT=FFTW NETCDF PDF XMHTML
+PDF_DESC= PDF output
+XMHTML_DESC= Use XmHTML widget for on-line help
+
USE_MOTIF= yes
USE_GCC= any
USE_GMAKE= yes
@@ -39,10 +42,6 @@
MLINKS= grace.1 gracebat.1 \
grace.1 xmgrace.1
-OPTIONS_DEFINE= FFTW NETCDF PDF DOCS EXAMPLES
-OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
-PDF_DESC= PDF output
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFFTW}
@@ -66,6 +65,13 @@
CONFIGURE_ARGS+= --disable-pdfdrv
.endif
+.if ${PORT_OPTIONS:MXMHTML}
+LIB_DEPENDS+= XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
+CONFIGURE_ARGS+= --enable-xmhtml
+.else
+CONFIGURE_ARGS+= --disable-xmhtml
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xmgrace ${PREFIX}/bin
@${LN} -sf xmgrace ${PREFIX}/bin/grace
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list