aboutsummaryrefslogtreecommitdiff
path: root/math/gracetmpl
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-28 10:07:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-28 10:07:02 +0000
commitc081a9f361fd5d35e5a0b7db0eab08572021c751 (patch)
tree99246a40d476271b4a31441048ac5330fc49e13f /math/gracetmpl
parent3a73c3679f64595cb96a25de98538e700be177b9 (diff)
downloadports-c081a9f361fd5d35e5a0b7db0eab08572021c751.tar.gz
ports-c081a9f361fd5d35e5a0b7db0eab08572021c751.zip
Notes
Diffstat (limited to 'math/gracetmpl')
-rw-r--r--math/gracetmpl/Makefile40
-rw-r--r--math/gracetmpl/distinfo1
-rw-r--r--math/gracetmpl/pkg-descr22
-rw-r--r--math/gracetmpl/pkg-plist59
4 files changed, 122 insertions, 0 deletions
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile
new file mode 100644
index 000000000000..2a9afcc4a8ed
--- /dev/null
+++ b/math/gracetmpl/Makefile
@@ -0,0 +1,40 @@
+# ex:ts=8
+# Ports collection makefile for: GraceTMPL
+# Date created: Oct 28, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gracetmpl
+PORTVERSION= 0.3.1
+CATEGORIES= math print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Provide an easy way to use existing grace-files as a template
+
+USE_REINPLACE= yes
+USE_PYTHON= yes
+USE_GMAKE= yes
+ALL_TARGET= all pythonwrap
+INSTALL_TARGET= install python_install
+
+post-extract:
+ @${CP} -f ${WRKSRC}/Makefile.defs.tmpl ${WRKSRC}/Makefile.defs
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|^PREFIX|#PREFIX|" ${WRKSRC}/Makefile.defs
+ @${REINPLACE_CMD} -e "s@\(gracetmpl\.a\)@lib\1@g" \
+ -e "s|make|${GMAKE}|" \
+ -e "s|install -D|install|" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s|values\.h|float.h|" ${WRKSRC}/gracetmpl.cpp
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${CP} ${WRKSRC}/doc/html/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/gracetmpl/distinfo b/math/gracetmpl/distinfo
new file mode 100644
index 000000000000..b6e02e73ee1d
--- /dev/null
+++ b/math/gracetmpl/distinfo
@@ -0,0 +1 @@
+MD5 (gracetmpl-0.3.1.tar.gz) = 862bb697a7b533bfed816dc3869745a1
diff --git a/math/gracetmpl/pkg-descr b/math/gracetmpl/pkg-descr
new file mode 100644
index 000000000000..c905000491a1
--- /dev/null
+++ b/math/gracetmpl/pkg-descr
@@ -0,0 +1,22 @@
+The GraceTMPL classes provide an easy way to use existing grace-files as a
+template to format any number of graphs in a predefined way and save them as
+grace-files. This way you can apply the same graphical appearance to all of
+your data. In case your preferences change, you just alter the template and
+reformat your complete set of data within the shortest amount of time.
+
+The capabilities of GraceTMPL include:
+ * The application using the GraceTMPL classes can define environment
+ variables for the sheet, each graph and each dataset. The variables can
+ be used in the template for dynamic string replacement. Even output
+ filenames can be templated using variable substitution.
+ * Datasets in the template file can be marked to be included in the
+ destination files for easy reference.
+ * Datasets can be tagged with arbitrary information strings to be
+ interpreted by the application using GraceTMPL. This way information can
+ be passed to the application on how to create the datasets and what kind
+ of information is intended by the template author.
+ * In case no template file is loaded by the application, GraceTMPL::Save
+ will output plain sets of data tables which can easily be imported by
+ XmGrace or other applications.
+
+WWW: http://gracetmpl.sourceforge.net/
diff --git a/math/gracetmpl/pkg-plist b/math/gracetmpl/pkg-plist
new file mode 100644
index 000000000000..7a4b961e6434
--- /dev/null
+++ b/math/gracetmpl/pkg-plist
@@ -0,0 +1,59 @@
+bin/gracetmpl-config
+bin/gracetmpldemo
+include/gracetmpl.h
+lib/libgracetmpl.a
+include/python2.3/graceTMPL/gracetmpl.h
+@dirrm include/python2.3/graceTMPL
+%%PYTHON_SITELIBDIR%%/graceTMPL/graceTMPL.so
+%%PYTHON_SITELIBDIR%%/graceTMPL.pth
+@dirrm %%PYTHON_SITELIBDIR%%/graceTMPL
+%%PORTDOCS%%%%DOCSDIR%%/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/annotations.html
+%%PORTDOCS%%%%DOCSDIR%%/changes.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Data-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Data.gif
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Data.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Environment-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Environment.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1EnvironmentUser-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1EnvironmentUser.gif
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1EnvironmentUser.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Graph-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Graph.gif
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Graph.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Save-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Save.gif
+%%PORTDOCS%%%%DOCSDIR%%/classGraceTMPL_1_1Save.html
+%%PORTDOCS%%%%DOCSDIR%%/classes.html
+%%PORTDOCS%%%%DOCSDIR%%/demo-annotated.jpg
+%%PORTDOCS%%%%DOCSDIR%%/demo-output-big.jpg
+%%PORTDOCS%%%%DOCSDIR%%/demo-output-small.jpg
+%%PORTDOCS%%%%DOCSDIR%%/demo-template-big.jpg
+%%PORTDOCS%%%%DOCSDIR%%/demo-template-small.jpg
+%%PORTDOCS%%%%DOCSDIR%%/demo_outp_big.html
+%%PORTDOCS%%%%DOCSDIR%%/demo_tmpl_big.html
+%%PORTDOCS%%%%DOCSDIR%%/dictionary.html
+%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/doxygen.gif
+%%PORTDOCS%%%%DOCSDIR%%/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/files.html
+%%PORTDOCS%%%%DOCSDIR%%/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/gracetmpl_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/hierarchy.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/installation.html
+%%PORTDOCS%%%%DOCSDIR%%/namespaceGraceTMPL.html
+%%PORTDOCS%%%%DOCSDIR%%/namespacemembers.html
+%%PORTDOCS%%%%DOCSDIR%%/namespaces.html
+%%PORTDOCS%%%%DOCSDIR%%/pages.html
+%%PORTDOCS%%%%DOCSDIR%%/structGraceTMPL_1_1Save_1_1CopySrc-members.html
+%%PORTDOCS%%%%DOCSDIR%%/structGraceTMPL_1_1Save_1_1CopySrc.html
+%%PORTDOCS%%%%DOCSDIR%%/structGraceTMPL_1_1Save_1_1Template-members.html
+%%PORTDOCS%%%%DOCSDIR%%/structGraceTMPL_1_1Save_1_1Template.html
+%%PORTDOCS%%%%DOCSDIR%%/test01.jpg
+%%PORTDOCS%%%%DOCSDIR%%/test02.jpg
+%%PORTDOCS%%%%DOCSDIR%%/test03.jpg
+%%PORTDOCS%%%%DOCSDIR%%/test04.jpg
+%%PORTDOCS%%%%DOCSDIR%%/tmpl_knowledge.html
+%%PORTDOCS%%%%DOCSDIR%%/todo.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%