View | Details | Raw Unified | Return to bug 174177
Collapse All | Expand All

(-)math/grace/Makefile (-10 / +16 lines)
Lines 5-15 Link Here
5
PORTVERSION=	5.1.23
5
PORTVERSION=	5.1.23
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	math print
7
CATEGORIES=	math print
8
#
8
MASTER_SITES=	ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/ \
9
MASTER_SITES=	ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \
10
		ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/ \
11
		ftp://ftp.ntua.gr/pub/graphics/grace/src/stable/ \
9
		ftp://ftp.ntua.gr/pub/graphics/grace/src/stable/ \
12
		ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/
10
		ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/ \
11
		ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Powerful 2D plotting tool (successor of xmgr)
14
COMMENT=	Powerful 2D plotting tool (successor of xmgr)
Lines 19-28 Link Here
19
LIB_DEPENDS=	t1:${PORTSDIR}/devel/t1lib \
18
LIB_DEPENDS=	t1:${PORTSDIR}/devel/t1lib \
20
		jpeg:${PORTSDIR}/graphics/jpeg \
19
		jpeg:${PORTSDIR}/graphics/jpeg \
21
		png15:${PORTSDIR}/graphics/png \
20
		png15:${PORTSDIR}/graphics/png \
22
		Xbae:${PORTSDIR}/x11-toolkits/xbae \
21
		Xbae:${PORTSDIR}/x11-toolkits/xbae
23
		XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
24
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
22
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
25
23
24
OPTIONS_DEFINE=	FFTW NETCDF PDF XMHTML DOCS EXAMPLES
25
OPTIONS_DEFAULT=FFTW NETCDF PDF XMHTML
26
PDF_DESC=	PDF output
27
XMHTML_DESC=	Use XmHTML widget for on-line help
28
26
USE_MOTIF=	yes
29
USE_MOTIF=	yes
27
USE_GCC=	any
30
USE_GCC=	any
28
USE_GMAKE=	yes
31
USE_GMAKE=	yes
Lines 39-48 Link Here
39
MLINKS=		grace.1 gracebat.1 \
42
MLINKS=		grace.1 gracebat.1 \
40
		grace.1 xmgrace.1
43
		grace.1 xmgrace.1
41
44
42
OPTIONS_DEFINE=	FFTW NETCDF PDF DOCS EXAMPLES
43
OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
44
PDF_DESC=	PDF output
45
46
.include <bsd.port.options.mk>
45
.include <bsd.port.options.mk>
47
46
48
.if ${PORT_OPTIONS:MFFTW}
47
.if ${PORT_OPTIONS:MFFTW}
Lines 66-71 Link Here
66
CONFIGURE_ARGS+=	--disable-pdfdrv
65
CONFIGURE_ARGS+=	--disable-pdfdrv
67
.endif
66
.endif
68
67
68
.if ${PORT_OPTIONS:MXMHTML}
69
LIB_DEPENDS+=	XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
70
CONFIGURE_ARGS+=	--enable-xmhtml
71
.else
72
CONFIGURE_ARGS+=	--disable-xmhtml
73
.endif
74
69
do-install:
75
do-install:
70
	${INSTALL_PROGRAM} ${WRKSRC}/src/xmgrace ${PREFIX}/bin
76
	${INSTALL_PROGRAM} ${WRKSRC}/src/xmgrace ${PREFIX}/bin
71
	@${LN} -sf xmgrace ${PREFIX}/bin/grace
77
	@${LN} -sf xmgrace ${PREFIX}/bin/grace

Return to bug 174177