summaryrefslogtreecommitdiff
path: root/graphics/yplot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yplot/Makefile')
-rw-r--r--graphics/yplot/Makefile31
1 files changed, 9 insertions, 22 deletions
diff --git a/graphics/yplot/Makefile b/graphics/yplot/Makefile
index 4a4e8c939f8..80cf82b97b8 100644
--- a/graphics/yplot/Makefile
+++ b/graphics/yplot/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2001/05/01 22:40:43 jtb Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/20 12:58:56 jtb Exp $
-DISTNAME= yplot-1.0.3
+DISTNAME= yplot-1.1.0
CATEGORIES= graphics math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yplot/}
@@ -8,30 +8,17 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://yplot.sourceforge.net/
COMMENT= Yorick interface to PLplot
-DEPENDS+= yorick>=1.4:../../math/yorick
+DEPENDS+= yorick-1.4*:../../math/yorick
DEPENDS+= plplot>=5.0.3:../../graphics/plplot
+BUILD_DEPENDS+= teTeX>=1.0:../../print/teTeX
+BUILD_DEPENDS+= python>=1.5:../../lang/python
-PLPLOT_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= PLPLOT_PREFIX=plplot
+CONFIGURE_ENV+= PLPLOT_PREFIX=${PLPLOT_PREFIX}
+EVAL_PREFIX+= YORICK_PREFIX=yorick
+CONFIGURE_ENV+= YORICK_CONTRIB_PREFIX=${YORICK_PREFIX}/lib/yorick/1.4
+GNU_CONFIGURE= yes
MAKEFILE= Makefile.build
-# This looks bad, but the build process won't be able to find the PLplot
-# include files otherwise.
-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
- cd ${WRKSRC} && ${INSTALL_DATA} yplot.i yplotl.i yplot_body.i \
- ${PREFIX}/share/yorick/1.4/startup/
- ${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
- ${INSTALL_DATA} ${WRKSRC}/doc/*.i ${PREFIX}/share/examples/yplot/
-
.include "../../mk/bsd.pkg.mk"