1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 4.2.4.c

- Add LICENSE
- Build GUI (qgle program)
- Use option helpers
- Sort variables
- Add files/patch-Makefile.in
- Add files/patch-src__gui__MakefileAC.in
- Remove files/patch-configure
- Fix WWW line in pkg-descr

Change Log:	http://www.gle-graphics.org/main/changes.html
Build Log:	https://redports.org/buildarchive/20140729030245-62805/
This commit is contained in:
Nicola Vitale 2014-07-29 04:28:52 +00:00
parent d9e860874c
commit 1d7e7d37d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363292
7 changed files with 209 additions and 181 deletions

View File

@ -2,56 +2,54 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= gle-graphics PORTNAME= gle-graphics
PORTVERSION= 4.0.12 DISTVERSION= 4.2.4cf
PORTREVISION= 7 PORTREVISION= 0
CATEGORIES= graphics print CATEGORIES= graphics print
MASTER_SITES= SF/glx/gle4%20%28Current%20Active%20Version%29/${PORTVERSION} MASTER_SITES= SF/glx/gle4%20%28Current%20Active%20Version%29/${DISTVERSION:C,.$,,1}
DISTNAME= GLE-${PORTVERSION}-src DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= nivit@FreeBSD.org MAINTAINER= nivit@FreeBSD.org
COMMENT= Graphics language that produces images from script files COMMENT= Graphics language that produces images from script files
RUN_DEPENDS= gv:${PORTSDIR}/print/gv LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= multi
BUILD_DEPENDS= qmake-qt4:${PORTSDIR}/devel/qmake4
BITMAP_IMAGES_CONFIGURE_WITH= jpeg=${LOCALBASE} tiff=${LOCALBASE} png=${LOCALBASE}
BITMAP_IMAGES_DESC= Support for including bitmap images
BITMAP_IMAGES_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libtiffxx.so:${PORTSDIR}/graphics/tiff
CONFIGURE_ARGS= --with-extrafonts=yes
GNU_CONFIGURE= yes
LATEX_GS_DESC= Use LaTeX & GhostScript
LATEX_GS_USE= tex=latex ghostscript=run
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= BITMAP_IMAGES LATEX_GS X11 OPTIONS_DEFINE= BITMAP_IMAGES LATEX_GS X11
OPTIONS_DEFAULT= BITMAP_IMAGES LATEX_GS X11 OPTIONS_DEFAULT= BITMAP_IMAGES LATEX_GS X11
BITMAP_IMAGES_DESC= Support for including bitmap images
LATEX_GS_DESC= Use LaTeX & GhostScript
WRKSRC= ${WRKDIR}/gle4
GNU_CONFIGURE= yes
# GUI requires QT 4.1.X
CONFIGURE_ARGS+= --with-qt=no
PLIST_SUB+= PORTVERSION=${PORTVERSION} PLIST_SUB+= PORTVERSION=${PORTVERSION}
REINPLACE_FILES= configure REINPLACE_FILES= configure
USES= gmake zip USE_GCC= yes
USE_GL= yes
USE_LDCONFIG= yes
USE_QT4= gui moc network opengl rcc
USES= gmake pathfix
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
X11_CONFIGURE_WITH= x
X11_USE= xorg=x11
NO_STAGE= yes
post-patch: post-patch:
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${REINPLACE_FILES} cd ${WRKSRC} && ${REINPLACE_CMD} -E -e 's,k(freebsd),\1,1' ${REINPLACE_FILES}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBITMAP_IMAGES}
LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libtiffxx.so:${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 ${PORT_OPTIONS:MLATEX_GS}
USE_GHOSTSCRIPT_RUN= yes
USE_TEX= latex
.endif
.if ${PORT_OPTIONS:MX11}
CONFIGURE_ARGS+= --with-x
USE_XORG= x11
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (GLE-4.0.12-src.zip) = 68690798c624c74e547affe6a0acb4b657efc89c74f0e25f0241a9407ff704fd SHA256 (gle-graphics-4.2.4cf-src.tar.gz) = 21715f2943ca528ec94a8e129175693afc3b59bb03f92540a2150ffe72ab47ef
SIZE (GLE-4.0.12-src.zip) = 1515556 SIZE (gle-graphics-4.2.4cf-src.tar.gz) = 2321647

View File

@ -0,0 +1,11 @@
--- ./Makefile.in.orig 2014-07-28 01:58:20.000000000 +0200
+++ ./Makefile.in 2014-07-28 01:58:44.000000000 +0200
@@ -101,7 +101,7 @@
INSTALL_DATA=@INSTALL_DATA@
MKDIR_P=@MKDIR_P@
-PKGCONFIGDIR=$(INSTALL_LIB)/pkgconfig
+PKGCONFIGDIR=$(PREFIX)/libdata/pkgconfig
MANDIR=@mandir@
GLE_VERSION=@GLE_VERSION@

View File

@ -1,15 +0,0 @@
$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

View File

@ -0,0 +1,11 @@
--- ./src/gui/MakefileAC.in.orig 2014-07-28 01:23:03.000000000 +0200
+++ ./src/gui/MakefileAC.in 2014-07-28 01:23:25.000000000 +0200
@@ -65,7 +65,7 @@
TOMAKE:=$(TOMAKE) install_qgle_name_mac
endif
ifeq (@HAVE_FREEBSD@,1)
- QMAKE_OPTS:=-spec freebsd-g++
+ QMAKE_OPTS:=-spec freebsd-g++ QMAKE_CXX="$(CXX)" QMAKE_LINK="$(CXX)"
endif
endif
ifeq (@HAVE_MAC@,1)

View File

@ -9,4 +9,4 @@ GLE provides LaTeX quality fonts together with a flexible graphics
module, which allows the user to specify any feature of a graph module, which allows the user to specify any feature of a graph
(down to the line width of the subticks, for example). (down to the line width of the subticks, for example).
WWW: http://www.gle-graphics.org/ WWW: http://www.gle-graphics.org/

View File

@ -1,126 +1,149 @@
bin/gle %%QT_BINDIR%%/gle
bin/manip %%QT_BINDIR%%/glebtool
%%DATADIR%%/bin/gle %%QT_BINDIR%%/manip
%%DATADIR%%/bin/manip %%QT_BINDIR%%/qgle
%%DATADIR%%/font/font.dat lib/libgle-graphics-4.2.4c.so
%%DATADIR%%/font/glemark.fmt libdata/pkgconfig/gle-graphics.pc
%%DATADIR%%/font/glemark.fve man/man1/gle.1.gz
%%DATADIR%%/font/plba.fmt %%DATADIR%%/4.2.4c/font/arial8.fmt
%%DATADIR%%/font/plba.fve %%DATADIR%%/4.2.4c/font/arialbd8.fmt
%%DATADIR%%/font/plcc.fmt %%DATADIR%%/4.2.4c/font/arialbi8.fmt
%%DATADIR%%/font/plcc.fve %%DATADIR%%/4.2.4c/font/ariali8.fmt
%%DATADIR%%/font/plcg.fmt %%DATADIR%%/4.2.4c/font/cour8.fmt
%%DATADIR%%/font/plcg.fve %%DATADIR%%/4.2.4c/font/courbd8.fmt
%%DATADIR%%/font/plci.fmt %%DATADIR%%/4.2.4c/font/courbi8.fmt
%%DATADIR%%/font/plci.fve %%DATADIR%%/4.2.4c/font/couri8.fmt
%%DATADIR%%/font/plcr.fmt %%DATADIR%%/4.2.4c/font/font.dat
%%DATADIR%%/font/plcr.fve %%DATADIR%%/4.2.4c/font/glemark.fmt
%%DATADIR%%/font/plcs.fmt %%DATADIR%%/4.2.4c/font/glemark.fve
%%DATADIR%%/font/plcs.fve %%DATADIR%%/4.2.4c/font/plba.fmt
%%DATADIR%%/font/pldr.fmt %%DATADIR%%/4.2.4c/font/plba.fve
%%DATADIR%%/font/pldr.fve %%DATADIR%%/4.2.4c/font/plcc.fmt
%%DATADIR%%/font/plge.fmt %%DATADIR%%/4.2.4c/font/plcc.fve
%%DATADIR%%/font/plge.fve %%DATADIR%%/4.2.4c/font/plcg.fmt
%%DATADIR%%/font/plgg.fmt %%DATADIR%%/4.2.4c/font/plcg.fve
%%DATADIR%%/font/plgg.fve %%DATADIR%%/4.2.4c/font/plci.fmt
%%DATADIR%%/font/plgi.fmt %%DATADIR%%/4.2.4c/font/plci.fve
%%DATADIR%%/font/plgi.fve %%DATADIR%%/4.2.4c/font/plcr.fmt
%%DATADIR%%/font/plsa.fmt %%DATADIR%%/4.2.4c/font/plcr.fve
%%DATADIR%%/font/plsa.fve %%DATADIR%%/4.2.4c/font/plcs.fmt
%%DATADIR%%/font/plsg.fmt %%DATADIR%%/4.2.4c/font/plcs.fve
%%DATADIR%%/font/plsg.fve %%DATADIR%%/4.2.4c/font/pldr.fmt
%%DATADIR%%/font/plsr.fmt %%DATADIR%%/4.2.4c/font/pldr.fve
%%DATADIR%%/font/plsr.fve %%DATADIR%%/4.2.4c/font/plge.fmt
%%DATADIR%%/font/plss.fmt %%DATADIR%%/4.2.4c/font/plge.fve
%%DATADIR%%/font/plss.fve %%DATADIR%%/4.2.4c/font/plgg.fmt
%%DATADIR%%/font/plsym1.fmt %%DATADIR%%/4.2.4c/font/plgg.fve
%%DATADIR%%/font/plsym1.fve %%DATADIR%%/4.2.4c/font/plgi.fmt
%%DATADIR%%/font/plsym2.fmt %%DATADIR%%/4.2.4c/font/plgi.fve
%%DATADIR%%/font/plsym2.fve %%DATADIR%%/4.2.4c/font/plsa.fmt
%%DATADIR%%/font/plti.fmt %%DATADIR%%/4.2.4c/font/plsa.fve
%%DATADIR%%/font/plti.fve %%DATADIR%%/4.2.4c/font/plsg.fmt
%%DATADIR%%/font/pltr.fmt %%DATADIR%%/4.2.4c/font/plsg.fve
%%DATADIR%%/font/pltr.fve %%DATADIR%%/4.2.4c/font/plsr.fmt
%%DATADIR%%/font/psagb.fmt %%DATADIR%%/4.2.4c/font/plsr.fve
%%DATADIR%%/font/psagbo.fmt %%DATADIR%%/4.2.4c/font/plss.fmt
%%DATADIR%%/font/psagd.fmt %%DATADIR%%/4.2.4c/font/plss.fve
%%DATADIR%%/font/psagdo.fmt %%DATADIR%%/4.2.4c/font/plsym1.fmt
%%DATADIR%%/font/psbd.fmt %%DATADIR%%/4.2.4c/font/plsym1.fve
%%DATADIR%%/font/psbdi.fmt %%DATADIR%%/4.2.4c/font/plsym2.fmt
%%DATADIR%%/font/psbli.fmt %%DATADIR%%/4.2.4c/font/plsym2.fve
%%DATADIR%%/font/psc.fmt %%DATADIR%%/4.2.4c/font/plti.fmt
%%DATADIR%%/font/pscb.fmt %%DATADIR%%/4.2.4c/font/plti.fve
%%DATADIR%%/font/pscbo.fmt %%DATADIR%%/4.2.4c/font/pltr.fmt
%%DATADIR%%/font/psco.fmt %%DATADIR%%/4.2.4c/font/pltr.fve
%%DATADIR%%/font/psfont.dat %%DATADIR%%/4.2.4c/font/psagb.fmt
%%DATADIR%%/font/psh.fmt %%DATADIR%%/4.2.4c/font/psagbo.fmt
%%DATADIR%%/font/pshb.fmt %%DATADIR%%/4.2.4c/font/psagd.fmt
%%DATADIR%%/font/pshbo.fmt %%DATADIR%%/4.2.4c/font/psagdo.fmt
%%DATADIR%%/font/pshc.fmt %%DATADIR%%/4.2.4c/font/psbd.fmt
%%DATADIR%%/font/pshcb.fmt %%DATADIR%%/4.2.4c/font/psbdi.fmt
%%DATADIR%%/font/pshcbo.fmt %%DATADIR%%/4.2.4c/font/psbl.fmt
%%DATADIR%%/font/pshcdo.fmt %%DATADIR%%/4.2.4c/font/psbli.fmt
%%DATADIR%%/font/pshn.fmt %%DATADIR%%/4.2.4c/font/psc.fmt
%%DATADIR%%/font/pshnb.fmt %%DATADIR%%/4.2.4c/font/pscb.fmt
%%DATADIR%%/font/pshnbo.fmt %%DATADIR%%/4.2.4c/font/pscbo.fmt
%%DATADIR%%/font/pshno.fmt %%DATADIR%%/4.2.4c/font/psco.fmt
%%DATADIR%%/font/psho.fmt %%DATADIR%%/4.2.4c/font/psfont.dat
%%DATADIR%%/font/psncsb.fmt %%DATADIR%%/4.2.4c/font/psh.fmt
%%DATADIR%%/font/psncsbi.fmt %%DATADIR%%/4.2.4c/font/pshb.fmt
%%DATADIR%%/font/psncsi.fmt %%DATADIR%%/4.2.4c/font/pshbo.fmt
%%DATADIR%%/font/psncsr.fmt %%DATADIR%%/4.2.4c/font/pshc.fmt
%%DATADIR%%/font/pspb.fmt %%DATADIR%%/4.2.4c/font/pshcb.fmt
%%DATADIR%%/font/pspbi.fmt %%DATADIR%%/4.2.4c/font/pshcbo.fmt
%%DATADIR%%/font/pspi.fmt %%DATADIR%%/4.2.4c/font/pshcdo.fmt
%%DATADIR%%/font/pspr.fmt %%DATADIR%%/4.2.4c/font/pshn.fmt
%%DATADIR%%/font/pssym.fmt %%DATADIR%%/4.2.4c/font/pshnb.fmt
%%DATADIR%%/font/pstb.fmt %%DATADIR%%/4.2.4c/font/pshnbo.fmt
%%DATADIR%%/font/pstbi.fmt %%DATADIR%%/4.2.4c/font/pshno.fmt
%%DATADIR%%/font/psti.fmt %%DATADIR%%/4.2.4c/font/psho.fmt
%%DATADIR%%/font/pstr.fmt %%DATADIR%%/4.2.4c/font/psncsb.fmt
%%DATADIR%%/font/pszcmi.fmt %%DATADIR%%/4.2.4c/font/psncsbi.fmt
%%DATADIR%%/font/pszd.fmt %%DATADIR%%/4.2.4c/font/psncsi.fmt
%%DATADIR%%/font/texcmb.fmt %%DATADIR%%/4.2.4c/font/psncsr.fmt
%%DATADIR%%/font/texcmb.fve %%DATADIR%%/4.2.4c/font/pspb.fmt
%%DATADIR%%/font/texcmex.fmt %%DATADIR%%/4.2.4c/font/pspbi.fmt
%%DATADIR%%/font/texcmex.fve %%DATADIR%%/4.2.4c/font/pspi.fmt
%%DATADIR%%/font/texcmitt.fmt %%DATADIR%%/4.2.4c/font/pspr.fmt
%%DATADIR%%/font/texcmitt.fve %%DATADIR%%/4.2.4c/font/pssym.fmt
%%DATADIR%%/font/texcmmi.fmt %%DATADIR%%/4.2.4c/font/pstb.fmt
%%DATADIR%%/font/texcmmi.fve %%DATADIR%%/4.2.4c/font/pstbi.fmt
%%DATADIR%%/font/texcmr.fmt %%DATADIR%%/4.2.4c/font/psti.fmt
%%DATADIR%%/font/texcmr.fve %%DATADIR%%/4.2.4c/font/pstr.fmt
%%DATADIR%%/font/texcmsl.fmt %%DATADIR%%/4.2.4c/font/pszcmi.fmt
%%DATADIR%%/font/texcmss.fmt %%DATADIR%%/4.2.4c/font/pszd.fmt
%%DATADIR%%/font/texcmss.fve %%DATADIR%%/4.2.4c/font/texcmb.fmt
%%DATADIR%%/font/texcmssb.fmt %%DATADIR%%/4.2.4c/font/texcmb.fve
%%DATADIR%%/font/texcmssb.fve %%DATADIR%%/4.2.4c/font/texcmex.fmt
%%DATADIR%%/font/texcmssi.fmt %%DATADIR%%/4.2.4c/font/texcmex.fve
%%DATADIR%%/font/texcmssi.fve %%DATADIR%%/4.2.4c/font/texcmitt.fmt
%%DATADIR%%/font/texcmsy.fmt %%DATADIR%%/4.2.4c/font/texcmitt.fve
%%DATADIR%%/font/texcmsy.fve %%DATADIR%%/4.2.4c/font/texcmmi.fmt
%%DATADIR%%/font/texcmti.fmt %%DATADIR%%/4.2.4c/font/texcmmi.fve
%%DATADIR%%/font/texcmti.fve %%DATADIR%%/4.2.4c/font/texcmr.fmt
%%DATADIR%%/font/texcmtt.fmt %%DATADIR%%/4.2.4c/font/texcmr.fve
%%DATADIR%%/font/texcmtt.fve %%DATADIR%%/4.2.4c/font/texcmsl.fmt
%%DATADIR%%/glerc %%DATADIR%%/4.2.4c/font/texcmss.fmt
%%DATADIR%%/init.tex %%DATADIR%%/4.2.4c/font/texcmss.fve
%%DATADIR%%/inittex.ini %%DATADIR%%/4.2.4c/font/texcmssb.fmt
%%DATADIR%%/lib/barstyles.gle %%DATADIR%%/4.2.4c/font/texcmssb.fve
%%DATADIR%%/lib/color.gle %%DATADIR%%/4.2.4c/font/texcmssi.fmt
%%DATADIR%%/lib/contour.gle %%DATADIR%%/4.2.4c/font/texcmssi.fve
%%DATADIR%%/lib/electronics.gle %%DATADIR%%/4.2.4c/font/texcmsy.fmt
%%DATADIR%%/lib/ellipse.gle %%DATADIR%%/4.2.4c/font/texcmsy.fve
%%DATADIR%%/lib/feyn.gle %%DATADIR%%/4.2.4c/font/texcmti.fmt
%%DATADIR%%/lib/graphutil.gle %%DATADIR%%/4.2.4c/font/texcmti.fve
%%DATADIR%%/lib/piesub.gle %%DATADIR%%/4.2.4c/font/texcmtt.fmt
%%DATADIR%%/lib/polarplot.gle %%DATADIR%%/4.2.4c/font/texcmtt.fve
%%DATADIR%%/lib/shape.gle %%DATADIR%%/4.2.4c/font/times8.fmt
%%DATADIR%%/lib/stm.gle %%DATADIR%%/4.2.4c/font/timesbd8.fmt
%%DATADIR%%/lib/tree1.gle %%DATADIR%%/4.2.4c/font/timesbi8.fmt
%%DATADIR%%/lib/ziptext.gle %%DATADIR%%/4.2.4c/font/timesi8.fmt
%%DATADIR%%/manip.hlp %%DATADIR%%/4.2.4c/gleinc/barstyles.gle
@dirrm %%DATADIR%%/bin %%DATADIR%%/4.2.4c/gleinc/color.gle
@dirrm %%DATADIR%%/font %%DATADIR%%/4.2.4c/gleinc/compat/colors-gle-4.0.12.gle
@dirrm %%DATADIR%%/lib %%DATADIR%%/4.2.4c/gleinc/compatibility.gle
@dirrm %%DATADIR%% %%DATADIR%%/4.2.4c/gleinc/contour.gle
%%DATADIR%%/4.2.4c/gleinc/electronics.gle
%%DATADIR%%/4.2.4c/gleinc/ellipse.gle
%%DATADIR%%/4.2.4c/gleinc/feyn.gle
%%DATADIR%%/4.2.4c/gleinc/graphutil.gle
%%DATADIR%%/4.2.4c/gleinc/include_en.gle
%%DATADIR%%/4.2.4c/gleinc/matrix_3D.gle
%%DATADIR%%/4.2.4c/gleinc/piesub.gle
%%DATADIR%%/4.2.4c/gleinc/polarplot.gle
%%DATADIR%%/4.2.4c/gleinc/shape.gle
%%DATADIR%%/4.2.4c/gleinc/simpletree.gle
%%DATADIR%%/4.2.4c/gleinc/stm.gle
%%DATADIR%%/4.2.4c/gleinc/tree.gle
%%DATADIR%%/4.2.4c/gleinc/ziptext.gle
%%DATADIR%%/4.2.4c/glerc
%%DATADIR%%/4.2.4c/init.tex
%%DATADIR%%/4.2.4c/inittex.ini
%%DATADIR%%/4.2.4c/manip.hlp
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrmtry %%DATADIR%%/4.2.4c/font
@dirrmtry %%DATADIR%%/4.2.4c/gleinc/compat
@dirrmtry %%DATADIR%%/4.2.4c/gleinc
@dirrmtry %%DATADIR%%/4.2.4c
@dirrmtry %%DATADIR%%