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

(-)Makefile (-6 / +41 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	grace
8
PORTNAME=	grace
9
PORTVERSION=	5.1.22
9
PORTVERSION=	5.1.22
10
PORTREVISION=	7
10
PORTREVISION=	8
11
CATEGORIES=	math print
11
CATEGORIES=	math print
12
#
12
#
13
MASTER_SITES=	ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \
13
MASTER_SITES=	ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \
Lines 20-32 Link Here
20
MAINTAINER=	ports@FreeBSD.org
20
MAINTAINER=	ports@FreeBSD.org
21
COMMENT=	A powerful plotting tool (successor of xmgr)
21
COMMENT=	A powerful plotting tool (successor of xmgr)
22
22
23
OPTIONS=        FFTW "Enable FFTW support" off
24
OPTIONS+=       JPEG "Enable JPEG support" off
25
OPTIONS+=       PDF  "Enable PDF support"  off
26
OPTIONS+=       PNG  "Enable PNG support"  off
27
OPTIONS+=       NETCDF  "Enable NETCDF support"  off
28
23
LIB_DEPENDS=	t1:${PORTSDIR}/devel/t1lib		\
29
LIB_DEPENDS=	t1:${PORTSDIR}/devel/t1lib		\
24
		jpeg.11:${PORTSDIR}/graphics/jpeg	\
25
		png.6:${PORTSDIR}/graphics/png		\
26
		tiff.4:${PORTSDIR}/graphics/tiff	\
30
		tiff.4:${PORTSDIR}/graphics/tiff	\
27
		fftw.2:${PORTSDIR}/math/fftw		\
28
		pdf.6:${PORTSDIR}/print/pdflib		\
29
		netcdf.4:${PORTSDIR}/science/netcdf	\
30
		Xbae.4:${PORTSDIR}/x11-toolkits/xbae	\
31
		Xbae.4:${PORTSDIR}/x11-toolkits/xbae	\
31
		XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml
32
		XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml
32
33
Lines 43-48 Link Here
43
MLINKS=		grace.1 gracebat.1 \
44
MLINKS=		grace.1 gracebat.1 \
44
		grace.1 xmgrace.1
45
		grace.1 xmgrace.1
45
46
47
.if defined(WITH_FFTW)
48
LIB_DEPENDS+=   fftw.2:${PORTSDIR}/math/fftw
49
CONFIGURE_ARGS+=--with-fftw
50
.endif
51
52
.if defined(WITH_JPEG)
53
LIB_DEPENDS+=   jpeg.11:${PORTSDIR}/graphics/jpeg
54
CONFIGURE_ARGS+=--enable-jpegdrv
55
.else
56
CONFIGURE_ARGS+=--disable-jpegdrv
57
.endif
58
59
.if defined(WITH_NETCDF)
60
LIB_DEPENDS+=	netcdf.4:${PORTSDIR}/science/netcdf
61
CONFIGURE_ARGS+=--enable-netcdf
62
.else
63
CONFIGURE_ARGS+=--disable-netcdf
64
.endif
65
66
.if defined(WITH_PDF)
67
LIB_DEPENDS+=	pdf.8:${PORTSDIR}/print/pdflib
68
CONFIGURE_ARGS+=--enable-pdfdrv
69
.else
70
CONFIGURE_ARGS+=--disable-pdfdrv
71
.endif
72
73
.if defined(WITH_PDF)
74
LIB_DEPENDS+=	png.6:${PORTSDIR}/graphics/png
75
CONFIGURE_ARGS+=--enable-pngdrv
76
.else
77
CONFIGURE_ARGS+=--disable-pngdrv
78
.endif
79
80
46
do-install:
81
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/src/xmgrace ${PREFIX}/bin
82
	${INSTALL_PROGRAM} ${WRKSRC}/src/xmgrace ${PREFIX}/bin
48
	@${LN} -sf xmgrace ${PREFIX}/bin/grace
83
	@${LN} -sf xmgrace ${PREFIX}/bin/grace

Return to bug 166117