summaryrefslogtreecommitdiff
path: root/math/grace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/grace/Makefile')
-rw-r--r--math/grace/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/math/grace/Makefile b/math/grace/Makefile
new file mode 100644
index 00000000000..5902d6cd112
--- /dev/null
+++ b/math/grace/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/02/03 19:47:40 drochner Exp $
+#
+
+DISTNAME= grace-5.0.5
+CATEGORIES= math graphics x11
+MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/
+
+MAINTAINER= drochner@netbsd.org
+HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+DEPENDS+= netcdf:../../devel/netcdf
+DEPENDS+= jpeg-*:../../graphics/jpeg
+DEPENDS+= tiff-*:../../graphics/tiff
+DEPENDS+= pdflib-*:../../print/pdflib
+DEPENDS+= t1lib-*:../../textproc/t1lib
+DEPENDS+= Xbae-*:../../x11/Xbae
+
+USE_GMAKE= yes
+USE_FORTRAN= yes
+USE_MOTIF= yes
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-grace-home=${PREFIX}/grace \
+ --enable-extra-incpath=${LOCALBASE}/include
+
+ALL_TARGET=
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+post-install:
+ ${RM} -f ${PREFIX}/bin/xmgrace
+ ${LN} -s ${PREFIX}/grace/bin/xmgrace ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"