mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
upgrade to 2.04
use new REINPLACE_CMD for patch
This commit is contained in:
parent
2352b8f97a
commit
ed724f8a62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61378
4 changed files with 27 additions and 29 deletions
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= ploticus
|
PORTNAME= ploticus
|
||||||
PORTVERSION= 2.03
|
PORTVERSION= 2.04
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
MASTER_SITES= http://ploticus.sourceforge.net/download/
|
MASTER_SITES= http://ploticus.sourceforge.net/download/
|
||||||
DISTNAME= plsrc${PORTVERSION:S/.//}
|
DISTNAME= plsrc${PORTVERSION:S/.//}
|
||||||
|
@ -27,9 +27,7 @@ MAKE_ENV= LIBS="-L${LOCALBASE}/lib"
|
||||||
MAN1= pl.1
|
MAN1= pl.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,%%X11BASE%%,${X11BASE},g ; \
|
@${REINPLACE_CMD} -e "s,^CC,#CC,g" ${WRKSRC}/Makefile
|
||||||
s,%%LOCALBASE%%,${LOCALBASE},g ; \
|
|
||||||
s,^CC,#CC,g" ${WRKSRC}/Makefile
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (plsrc203.tar.gz) = 807fa4ab2cefc6a1a54fd1c4cac67fc0
|
MD5 (plsrc204.tar.gz) = 005fe1cd6fafceafe02f6353a4ad8a99
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.orig Thu Mar 7 16:10:46 2002
|
--- Makefile.orig Fri Jun 14 21:58:53 2002
|
||||||
+++ Makefile Thu Mar 7 16:10:50 2002
|
+++ Makefile Mon Jun 17 00:12:22 2002
|
||||||
@@ -22,14 +22,14 @@
|
@@ -23,14 +23,14 @@
|
||||||
######## Choose one of the following. All others should be commented out.
|
######## Choose one of the following. All others should be commented out.
|
||||||
|
|
||||||
#### For Solaris 2.x uncomment the following..
|
#### For Solaris 2.x uncomment the following..
|
||||||
|
@ -12,30 +12,24 @@
|
||||||
#### For Linux and FreeBSD uncomment the following..
|
#### For Linux and FreeBSD uncomment the following..
|
||||||
-# XLIBS = -L/usr/X11R6/lib -lX11
|
-# XLIBS = -L/usr/X11R6/lib -lX11
|
||||||
-# XINCLUDEDIR = -I/usr/X11R6/include
|
-# XINCLUDEDIR = -I/usr/X11R6/include
|
||||||
+XLIBS = -L%%X11BASE%%/lib -lX11
|
+XLIBS = -L${X11BASE}/lib -lX11
|
||||||
+XINCLUDEDIR = -I%%X11BASE%%/include
|
+XINCLUDEDIR = -I${X11BASE}/include
|
||||||
#### For FreeBSD uncomment the following and find GD16H or GD18H below and set to -I/usr/local/include
|
#### For FreeBSD uncomment the following and find GD16H or GD18H below and set to -I/usr/local/include
|
||||||
-# ADDLIBS = -L/usr/local/lib
|
-# ADDLIBS = -L/usr/local/lib
|
||||||
+ADDLIBS = -L%%LOCALBASE%%/lib
|
+ADDLIBS = -L${LOCALBASE}/lib
|
||||||
|
|
||||||
#### For Cygwin uncomment the following..
|
#### For Cygwin uncomment the following..
|
||||||
# PLATFORM = WIN32
|
# PLATFORM = WIN32
|
||||||
@@ -87,11 +87,11 @@
|
@@ -78,7 +78,7 @@
|
||||||
# ZFLAG = -DWZ
|
######## Choose ONE of the following. All others should be commented out.
|
||||||
|
|
||||||
#### For both pseudo-GIF & PNG uncomment the following.. (you must have libpng and zlib)
|
#### For pseudo-GIF uncomment the following.. (no libs required)
|
||||||
-ploticus: pl plpng
|
-ploticus: pl
|
||||||
+#ploticus: pl plpng
|
+#ploticus: pl
|
||||||
# GD16LIBS = -lpng -lz
|
|
||||||
# GD16H =
|
|
||||||
-GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
|
|
||||||
-GD16H = -I/home/scg/lib
|
|
||||||
+#GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
|
|
||||||
+#GD16H = -I/home/scg/lib
|
|
||||||
|
|
||||||
#### For JPEG, WBMP, and PNG using your copy of GD 1.84+ uncomment the following..
|
#### For PNG uncomment the following.. (you must have libpng and zlib)
|
||||||
#### (you must have gd 1.84+, libpng, zlib, libjpeg)
|
# ploticus: plpng
|
||||||
@@ -104,11 +104,11 @@
|
@@ -103,11 +103,11 @@
|
||||||
#### For JPEG, WBMP, and PNG & FreeType2 using your copy of GD 1.84+ uncomment the following..
|
#### For JPEG, WBMP, and PNG & FreeType2 using your copy of GD 1.84+ uncomment the following..
|
||||||
#### (you must have gd 1.84+, libpng, zlib, libjpeg, libfreetype)
|
#### (you must have gd 1.84+, libpng, zlib, libjpeg, libfreetype)
|
||||||
#### Before using set environment var GDFONTPATH to directory containing .ttf files
|
#### Before using set environment var GDFONTPATH to directory containing .ttf files
|
||||||
|
@ -46,18 +40,18 @@
|
||||||
-# ZFLAG = -DWZ
|
-# ZFLAG = -DWZ
|
||||||
+ploticus: plgd18
|
+ploticus: plgd18
|
||||||
+GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
|
+GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
|
||||||
+GD18H = -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/gd -I%%LOCALBASE%%/include/freetype2
|
+GD18H = -I${LOCALBASE}/include/gd
|
||||||
+GDFREETYPE = -DGDFREETYPE
|
+GDFREETYPE = -DGDFREETYPE
|
||||||
+ZFLAG = -DWZ
|
+ZFLAG = -DWZ
|
||||||
|
|
||||||
#### To disable GD image support (no GIF, PNG, JPEG, etc) uncomment the following..
|
#### To disable GD image support (no GIF, PNG, JPEG, etc) uncomment the following..
|
||||||
# ploticus: plnogd
|
# ploticus: plnogd
|
||||||
@@ -122,11 +122,11 @@
|
@@ -125,11 +125,11 @@
|
||||||
#### To set a hard-coded directory for prefabs files, uncomment & edit the following..
|
#### To set a hard-coded directory for prefabs files, uncomment & edit the following..
|
||||||
#### If done, users won't be required to have PLOTICUS_PREFABS environment variable defined.
|
#### If done, users won't be required to have PLOTICUS_PREFABS environment variable defined.
|
||||||
#### This option not available for win32
|
#### This option not available for win32
|
||||||
-# PREFABS_DIR = "/usr/lib/ploticus"
|
-# PREFABS_DIR = "/usr/lib/ploticus"
|
||||||
+PREFABS_DIR = "%%LOCALBASE%%/share/ploticus"
|
+PREFABS_DIR = "${LOCALBASE}/share/ploticus"
|
||||||
|
|
||||||
#### For LOCALE support (non-roman alphabets & collation), uncomment the following..
|
#### For LOCALE support (non-roman alphabets & collation), uncomment the following..
|
||||||
-# LOCALEOBJ = localef.o
|
-# LOCALEOBJ = localef.o
|
||||||
|
@ -67,7 +61,7 @@
|
||||||
|
|
||||||
#### If you want compressed svg (.svgz), and you selected "GIF only", "GIF & PNG", or "disable GD" above,
|
#### If you want compressed svg (.svgz), and you selected "GIF only", "GIF & PNG", or "disable GD" above,
|
||||||
#### uncomment the following. You need to have zlib. If necessary change -lz to location of zlib.
|
#### uncomment the following. You need to have zlib. If necessary change -lz to location of zlib.
|
||||||
@@ -154,9 +154,9 @@
|
@@ -156,9 +156,9 @@
|
||||||
GD = gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o
|
GD = gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@ bin/pl
|
||||||
share/ploticus/README
|
share/ploticus/README
|
||||||
share/ploticus/chron.pl
|
share/ploticus/chron.pl
|
||||||
share/ploticus/chunk_area
|
share/ploticus/chunk_area
|
||||||
|
share/ploticus/chunk_logstubs
|
||||||
|
share/ploticus/chunk_logtics
|
||||||
share/ploticus/chunk_read
|
share/ploticus/chunk_read
|
||||||
share/ploticus/chunk_setstd
|
share/ploticus/chunk_setstd
|
||||||
share/ploticus/chunk_title
|
share/ploticus/chunk_title
|
||||||
|
@ -10,6 +12,7 @@ share/ploticus/chunk_yaxis
|
||||||
share/ploticus/dist.pl
|
share/ploticus/dist.pl
|
||||||
share/ploticus/draw.pl
|
share/ploticus/draw.pl
|
||||||
share/ploticus/lines.pl
|
share/ploticus/lines.pl
|
||||||
|
share/ploticus/multidist.pl
|
||||||
share/ploticus/pie.pl
|
share/ploticus/pie.pl
|
||||||
share/ploticus/scat.pl
|
share/ploticus/scat.pl
|
||||||
share/ploticus/stack.pl
|
share/ploticus/stack.pl
|
||||||
|
@ -48,6 +51,7 @@ share/ploticus/vbars.pl
|
||||||
%%PORTDOCS%%share/doc/ploticus/dates.html
|
%%PORTDOCS%%share/doc/ploticus/dates.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/defineunits.html
|
%%PORTDOCS%%share/doc/ploticus/defineunits.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/drawcommands.html
|
%%PORTDOCS%%share/doc/ploticus/drawcommands.html
|
||||||
|
%%PORTDOCS%%share/doc/ploticus/dynamic.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/endproc.html
|
%%PORTDOCS%%share/doc/ploticus/endproc.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/fonts.html
|
%%PORTDOCS%%share/doc/ploticus/fonts.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/functions.html
|
%%PORTDOCS%%share/doc/ploticus/functions.html
|
||||||
|
@ -85,12 +89,14 @@ share/ploticus/vbars.pl
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_dist.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_dist.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_draw.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_draw.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_lines.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_lines.html
|
||||||
|
%%PORTDOCS%%share/doc/ploticus/prefab_multidist.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_pie.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_pie.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_scat.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_scat.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_stack.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_stack.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_stdparms.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_stdparms.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefab_vbars.html
|
%%PORTDOCS%%share/doc/ploticus/prefab_vbars.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/prefabs.html
|
%%PORTDOCS%%share/doc/ploticus/prefabs.html
|
||||||
|
%%PORTDOCS%%share/doc/ploticus/prepress.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/print.html
|
%%PORTDOCS%%share/doc/ploticus/print.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/processdata.html
|
%%PORTDOCS%%share/doc/ploticus/processdata.html
|
||||||
%%PORTDOCS%%share/doc/ploticus/rangebar.html
|
%%PORTDOCS%%share/doc/ploticus/rangebar.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue