summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-15 21:20:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-15 21:20:16 +0000
commit7accdcc04952b6947c9082aff83a46059c677217 (patch)
tree33272b5a5cbb6b055aba61f7a3c40acfcccfee0c
parent- Fix pkg-plist (diff)
GLE is a graphics language that produces PostScript, EPS, PDF, PNG,
or JPG ouput from a simple script file. GLE is a full featured scripting language that includes variables, subroutines, logic control, looping, a graphing tool, and more to produce high quality output. It has a full range of facilities for producing publication-quality graphs, diagrams, posters and slides. GLE provides LaTeX quality fonts together with a flexible graphics module, which allows the user to specify any feature of a graph (down to the line width of the subticks, for example). WWW: http://www.gle-graphics.org/ PR: ports/105433 Submitted by: Nicola Vitale <nivit at email.it>
Notes
Notes: svn path=/head/; revision=177354
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gle-graphics/Makefile61
-rw-r--r--graphics/gle-graphics/distinfo3
-rw-r--r--graphics/gle-graphics/files/patch-configure15
-rw-r--r--graphics/gle-graphics/pkg-descr12
-rw-r--r--graphics/gle-graphics/pkg-plist127
6 files changed, 219 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 048e91677b25..565e736fd39d 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -190,6 +190,7 @@
SUBDIR += gkrellkam
SUBDIR += gkrellkam2
SUBDIR += gle
+ SUBDIR += gle-graphics
SUBDIR += glean
SUBDIR += glew
SUBDIR += glexcess
diff --git a/graphics/gle-graphics/Makefile b/graphics/gle-graphics/Makefile
new file mode 100644
index 000000000000..0bee8245b022
--- /dev/null
+++ b/graphics/gle-graphics/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: glx
+# Date created: 2006-11-10
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gle-graphics
+PORTVERSION= 4.0.12
+CATEGORIES= graphics print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= glx
+DISTNAME= GLE-${PORTVERSION}-src
+
+MAINTAINER= nivit@email.it
+COMMENT= A graphics language that produces images from script files
+
+RUN_DEPENDS= gv:${PORTSDIR}/print/gv
+
+OPTIONS= BITMAP_IMAGES "Support for including bitmap images" On \
+ LATEX_GS "Use LaTeX & GhostScript" On \
+ X_WINDOWS "Use X Windows System" On
+
+WRKSRC= ${WRKDIR}/gle4
+
+GNU_CONFIGURE= yes
+# GUI requires QT 4.1.X
+CONFIGURE_ARGS+= --with-qt=no
+USE_GCC= 3.4+
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
+REINPLACE_FILES= configure
+
+USE_GMAKE= yes
+USE_ZIP= yes
+
+post-patch:
+ cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${REINPLACE_FILES}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_BITMAP_IMAGES)
+LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png \
+ tiffxx.4:${PORTSDIR}/graphics/tiff
+CONFIGURE_ARGS+= --with-jpeg=${LOCALBASE} --with-tiff=${LOCALBASE} --with-png=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-jpeg=no --with-png=no -with-tiff=no
+.endif
+
+.if defined(WITH_LATEX_GS)
+RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
+ gs:${PORTSDIR}/print/ghostscript-gnu
+.endif
+
+.if defined(WITH_X_WINDOWS)
+CONFIGURE_ARGS+= --with-x
+USE_XLIB= yes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gle-graphics/distinfo b/graphics/gle-graphics/distinfo
new file mode 100644
index 000000000000..6e5283c1c29a
--- /dev/null
+++ b/graphics/gle-graphics/distinfo
@@ -0,0 +1,3 @@
+MD5 (GLE-4.0.12-src.zip) = 3eff3d16a99b24a9e0a64628bdb94b94
+SHA256 (GLE-4.0.12-src.zip) = 68690798c624c74e547affe6a0acb4b657efc89c74f0e25f0241a9407ff704fd
+SIZE (GLE-4.0.12-src.zip) = 1515556
diff --git a/graphics/gle-graphics/files/patch-configure b/graphics/gle-graphics/files/patch-configure
new file mode 100644
index 000000000000..91c807d08b06
--- /dev/null
+++ b/graphics/gle-graphics/files/patch-configure
@@ -0,0 +1,15 @@
+$FreeBSD$
+--- configure Thu Sep 14 00:41:37 2006
++++ configure.port Sat Nov 11 17:57:58 2006
+@@ -4555,9 +4555,9 @@
+
+
+ if test "$prefix" = "NONE"; then
+- GLE_INSTALL_DATA=/usr/share/gle/$GLE_VERSION
++ GLE_INSTALL_DATA=%%DATADIR%%
+ else
+- GLE_INSTALL_DATA=$prefix/share/gle/$GLE_VERSION
++ GLE_INSTALL_DATA=%%DATADIR%%
+ fi
+
+ if test "$exec_prefix" = "NONE"; then
diff --git a/graphics/gle-graphics/pkg-descr b/graphics/gle-graphics/pkg-descr
new file mode 100644
index 000000000000..0750ce8deb8a
--- /dev/null
+++ b/graphics/gle-graphics/pkg-descr
@@ -0,0 +1,12 @@
+GLE is a graphics language that produces PostScript, EPS, PDF, PNG,
+or JPG ouput from a simple script file.
+
+GLE is a full featured scripting language that includes variables,
+subroutines, logic control, looping, a graphing tool, and more
+to produce high quality output. It has a full range of facilities
+for producing publication-quality graphs, diagrams, posters and slides.
+GLE provides LaTeX quality fonts together with a flexible graphics
+module, which allows the user to specify any feature of a graph
+(down to the line width of the subticks, for example).
+
+WWW: http://www.gle-graphics.org/
diff --git a/graphics/gle-graphics/pkg-plist b/graphics/gle-graphics/pkg-plist
new file mode 100644
index 000000000000..5f225f9c7ae2
--- /dev/null
+++ b/graphics/gle-graphics/pkg-plist
@@ -0,0 +1,127 @@
+@comment $FreeBSD$
+bin/gle
+bin/manip
+%%DATADIR%%/bin/gle
+%%DATADIR%%/bin/manip
+%%DATADIR%%/font/font.dat
+%%DATADIR%%/font/glemark.fmt
+%%DATADIR%%/font/glemark.fve
+%%DATADIR%%/font/plba.fmt
+%%DATADIR%%/font/plba.fve
+%%DATADIR%%/font/plcc.fmt
+%%DATADIR%%/font/plcc.fve
+%%DATADIR%%/font/plcg.fmt
+%%DATADIR%%/font/plcg.fve
+%%DATADIR%%/font/plci.fmt
+%%DATADIR%%/font/plci.fve
+%%DATADIR%%/font/plcr.fmt
+%%DATADIR%%/font/plcr.fve
+%%DATADIR%%/font/plcs.fmt
+%%DATADIR%%/font/plcs.fve
+%%DATADIR%%/font/pldr.fmt
+%%DATADIR%%/font/pldr.fve
+%%DATADIR%%/font/plge.fmt
+%%DATADIR%%/font/plge.fve
+%%DATADIR%%/font/plgg.fmt
+%%DATADIR%%/font/plgg.fve
+%%DATADIR%%/font/plgi.fmt
+%%DATADIR%%/font/plgi.fve
+%%DATADIR%%/font/plsa.fmt
+%%DATADIR%%/font/plsa.fve
+%%DATADIR%%/font/plsg.fmt
+%%DATADIR%%/font/plsg.fve
+%%DATADIR%%/font/plsr.fmt
+%%DATADIR%%/font/plsr.fve
+%%DATADIR%%/font/plss.fmt
+%%DATADIR%%/font/plss.fve
+%%DATADIR%%/font/plsym1.fmt
+%%DATADIR%%/font/plsym1.fve
+%%DATADIR%%/font/plsym2.fmt
+%%DATADIR%%/font/plsym2.fve
+%%DATADIR%%/font/plti.fmt
+%%DATADIR%%/font/plti.fve
+%%DATADIR%%/font/pltr.fmt
+%%DATADIR%%/font/pltr.fve
+%%DATADIR%%/font/psagb.fmt
+%%DATADIR%%/font/psagbo.fmt
+%%DATADIR%%/font/psagd.fmt
+%%DATADIR%%/font/psagdo.fmt
+%%DATADIR%%/font/psbd.fmt
+%%DATADIR%%/font/psbdi.fmt
+%%DATADIR%%/font/psbli.fmt
+%%DATADIR%%/font/psc.fmt
+%%DATADIR%%/font/pscb.fmt
+%%DATADIR%%/font/pscbo.fmt
+%%DATADIR%%/font/psco.fmt
+%%DATADIR%%/font/psfont.dat
+%%DATADIR%%/font/psh.fmt
+%%DATADIR%%/font/pshb.fmt
+%%DATADIR%%/font/pshbo.fmt
+%%DATADIR%%/font/pshc.fmt
+%%DATADIR%%/font/pshcb.fmt
+%%DATADIR%%/font/pshcbo.fmt
+%%DATADIR%%/font/pshcdo.fmt
+%%DATADIR%%/font/pshn.fmt
+%%DATADIR%%/font/pshnb.fmt
+%%DATADIR%%/font/pshnbo.fmt
+%%DATADIR%%/font/pshno.fmt
+%%DATADIR%%/font/psho.fmt
+%%DATADIR%%/font/psncsb.fmt
+%%DATADIR%%/font/psncsbi.fmt
+%%DATADIR%%/font/psncsi.fmt
+%%DATADIR%%/font/psncsr.fmt
+%%DATADIR%%/font/pspb.fmt
+%%DATADIR%%/font/pspbi.fmt
+%%DATADIR%%/font/pspi.fmt
+%%DATADIR%%/font/pspr.fmt
+%%DATADIR%%/font/pssym.fmt
+%%DATADIR%%/font/pstb.fmt
+%%DATADIR%%/font/pstbi.fmt
+%%DATADIR%%/font/psti.fmt
+%%DATADIR%%/font/pstr.fmt
+%%DATADIR%%/font/pszcmi.fmt
+%%DATADIR%%/font/pszd.fmt
+%%DATADIR%%/font/texcmb.fmt
+%%DATADIR%%/font/texcmb.fve
+%%DATADIR%%/font/texcmex.fmt
+%%DATADIR%%/font/texcmex.fve
+%%DATADIR%%/font/texcmitt.fmt
+%%DATADIR%%/font/texcmitt.fve
+%%DATADIR%%/font/texcmmi.fmt
+%%DATADIR%%/font/texcmmi.fve
+%%DATADIR%%/font/texcmr.fmt
+%%DATADIR%%/font/texcmr.fve
+%%DATADIR%%/font/texcmsl.fmt
+%%DATADIR%%/font/texcmss.fmt
+%%DATADIR%%/font/texcmss.fve
+%%DATADIR%%/font/texcmssb.fmt
+%%DATADIR%%/font/texcmssb.fve
+%%DATADIR%%/font/texcmssi.fmt
+%%DATADIR%%/font/texcmssi.fve
+%%DATADIR%%/font/texcmsy.fmt
+%%DATADIR%%/font/texcmsy.fve
+%%DATADIR%%/font/texcmti.fmt
+%%DATADIR%%/font/texcmti.fve
+%%DATADIR%%/font/texcmtt.fmt
+%%DATADIR%%/font/texcmtt.fve
+%%DATADIR%%/glerc
+%%DATADIR%%/init.tex
+%%DATADIR%%/inittex.ini
+%%DATADIR%%/lib/barstyles.gle
+%%DATADIR%%/lib/color.gle
+%%DATADIR%%/lib/contour.gle
+%%DATADIR%%/lib/electronics.gle
+%%DATADIR%%/lib/ellipse.gle
+%%DATADIR%%/lib/feyn.gle
+%%DATADIR%%/lib/graphutil.gle
+%%DATADIR%%/lib/piesub.gle
+%%DATADIR%%/lib/polarplot.gle
+%%DATADIR%%/lib/shape.gle
+%%DATADIR%%/lib/stm.gle
+%%DATADIR%%/lib/tree1.gle
+%%DATADIR%%/lib/ziptext.gle
+%%DATADIR%%/manip.hlp
+@dirrm %%DATADIR%%/bin
+@dirrm %%DATADIR%%/font
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%