diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-10-28 18:07:02 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-10-28 18:07:02 +0800 |
commit | b2ae82ff690bb4d51d2f91f321280b5989478683 (patch) | |
tree | af02cea1b02e9701205298afa1cccf59fccbd939 /math | |
parent | 877638e3a3f4730ecdaef38983fe828684fdee60 (diff) | |
download | freebsd-ports-gnome-b2ae82ff690bb4d51d2f91f321280b5989478683.tar.gz freebsd-ports-gnome-b2ae82ff690bb4d51d2f91f321280b5989478683.tar.zst freebsd-ports-gnome-b2ae82ff690bb4d51d2f91f321280b5989478683.zip |
add gracetmpl 0.3.1
Provide an easy way to use existing grace-files as a template
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/gracetmpl/Makefile | 40 | ||||
-rw-r--r-- | math/gracetmpl/distinfo | 1 | ||||
-rw-r--r-- | math/gracetmpl/pkg-descr | 22 | ||||
-rw-r--r-- | math/gracetmpl/pkg-plist | 59 |
5 files changed, 123 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 29c7ef7db385..51c72fd3dd68 100644 --- a/math/Makefile +++ b/math/Makefile @@ -55,6 +55,7 @@ SUBDIR += gnuplot SUBDIR += gnuplot+ SUBDIR += grace + SUBDIR += gracetmpl SUBDIR += graphthing SUBDIR += gri SUBDIR += grpn 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%% |