summaryrefslogtreecommitdiff
path: root/graphics/yplot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yplot/Makefile')
-rw-r--r--graphics/yplot/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/yplot/Makefile b/graphics/yplot/Makefile
new file mode 100644
index 00000000000..a55f2e6edad
--- /dev/null
+++ b/graphics/yplot/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/14 11:52:10 jtb Exp $
+
+DISTNAME= yplot-1.0.3
+CATEGORIES= graphics math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yplot/}
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://yplot.sourceforge.net/
+
+DEPENDS+= yorick>=1.4:../../math/yorick
+DEPENDS+= plplot>=5.0.2:../../graphics/plplot
+
+EVAL_PREFIX+= PLPLOT_PREFIX=plplot
+
+MAKEFILE= Makefile.build
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/plplot
+ ${CP} ${PLPLOT_PREFIX}/include/plplot/*.h ${WRKSRC}/plplot
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/yplot ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/yplotl ${PREFIX}/bin
+ @for f in yplot.i yplotl.i yplot_body.i; do \
+ i="${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${PREFIX}/share/yorick/1.4/startup/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/doc/yplot.doc \
+ ${PREFIX}/share/yorick/1.4/doc/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yplot
+ ${INSTALL_DATA} ${WRKSRC}/doc/ytut.ps ${PREFIX}/share/doc/yplot
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/yplot
+ @for f in ${WRKSRC}/doc/*.i; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/yplot/"; \
+ ${ECHO} $$i; $$i; \
+ done
+
+.include "../../mk/bsd.pkg.mk"