aboutsummaryrefslogtreecommitdiff
path: root/graphics/SciPlot/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-06-10 20:51:46 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-06-10 20:51:46 +0000
commit9a8eb4106b822c8b7d22c55cc097ef05778ee764 (patch)
tree245a0eb61892207feb024e5907dbb308920c3b02 /graphics/SciPlot/Makefile
parent19721549fa2447145e6da7eb620da6c5305c548e (diff)
downloadports-9a8eb4106b822c8b7d22c55cc097ef05778ee764.tar.gz
ports-9a8eb4106b822c8b7d22c55cc097ef05778ee764.zip
Notes
Diffstat (limited to 'graphics/SciPlot/Makefile')
-rw-r--r--graphics/SciPlot/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/graphics/SciPlot/Makefile b/graphics/SciPlot/Makefile
new file mode 100644
index 000000000000..3031a81ba4ec
--- /dev/null
+++ b/graphics/SciPlot/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: SciPlot
+# Date created: Mon June 8 2004
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= SciPlot
+PORTVERSION= 1.36
+CATEGORIES= graphics math
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= widgets
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= A full-featured Xt widget to display 2D data in a graph
+
+USE_MOTIF= yes
+USE_IMAKE= yes
+MAKE_ENV= EXTRA_DEFINES="-fPIC" LIBNAME=${LIBNAME}
+INSTALLS_SHLIB= yes
+
+INCLUDES= SciPlot.h SciPlotP.h SciPlotUtil.h
+LIBNAME= lib${PORTNAME:L} # Remove :L for libSciPlot
+PLIST_SUB= LIBNAME=${LIBNAME}
+
+PORTDOCS= README SciPlot.html SciPlotDemo.html SciPlotProg.html
+EXDATA= data.txt
+EXBINS= realtime sciplot
+
+do-install:
+ ${MKDIR} ${PREFIX}/include/${PORTNAME}
+ ${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/|} ${PREFIX}/include/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/${LIBNAME}.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/${LIBNAME}.so.0 ${PREFIX}/lib
+ (cd ${PREFIX}/lib; ${LN} -sf ${LIBNAME}.so.0 ${LIBNAME}.so)
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+.endif
+
+.include <bsd.port.mk>