Changeset 34593


Ignore:
Timestamp:
Feb 29, 2008, 12:26:31 AM (12 years ago)
Author:
jmr@…
Message:

ploticus: update to version 2.40. Closes #13386.

Location:
trunk/dports/math/ploticus
Files:
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/ploticus/Portfile

    r30237 r34593  
    22
    33PortSystem 1.0
     4
    45name             ploticus
    5 version          2.31
     6set major_version 2
     7set minor_version 40
     8version          ${major_version}.${minor_version}
    69categories       math
    710maintainers      nomaintainer
     
    1821platforms        darwin
    1922
    20 master_sites     http://ploticus.sourceforge.net/download/
    21 distname         pl231src
    22 checksums        md5 70712f7f41484db3bfd9210ae7742762
     23master_sites     sourceforge:${name}
     24distname         pl${major_version}${minor_version}src
     25checksums        md5 560bf4ede9d7a132261ba36574434962 \
     26                 sha1 824860a41a46ad15cc8c6cb37fa6f59176f4e01e \
     27                 rmd160 4e36b4cff635042213a4693a44fb03298782edfc
    2328
    24 depends_lib      lib:libX11:XFree86 lib:XXX:libpng lib:XXX:zlib
     29depends_lib      lib:libX11:XFree86 port:libpng port:zlib \
     30                 port:gd2 port:jpeg port:freetype
    2531
    26 patchfiles       patch-src__Makefile \
    27                  patch-src__gd16.c
     32patchfiles       patch-src-Makefile.diff
    2833
    2934post-patch {
     
    3540build.dir        ${worksrcpath}/src
    3641build.target
     42
     43post-destroot {
     44    xinstall -d ${destroot}${prefix}/share/man/man1
     45    xinstall -m 444 man/man1/pl.1 ${destroot}${prefix}/share/man/man1/ploticus.1
     46}
  • trunk/dports/math/ploticus/files/patch-src-Makefile.diff

    r34581 r34593  
    1 --- src/Makefile.orig   2005-05-31 14:59:41.000000000 -0400
    2 +++ src/Makefile        2005-05-31 15:00:27.000000000 -0400
    3 @@ -125,8 +126,8 @@
    4  #### png.h or other header files are in a nonstandard place, eg GD16H = -I/home/scg/lib
    5  ploticus: plpng
    6  PLPNG = pl
     1--- src/Makefile.orig   2008-01-16 07:05:14.000000000 +1100
     2+++ src/Makefile        2008-02-29 11:11:54.000000000 +1100
     3@@ -35,8 +35,8 @@
     4 
     5 ############ ...AND... activate the lines below for your platform... (X11 libs & header files)
     6 #### linux
     7-XLIBS = -L/usr/X11R6/lib -lX11
     8-XINCLUDEDIR = -I/usr/X11R6/include
     9+# XLIBS = -L/usr/X11R6/lib -lX11
     10+# XINCLUDEDIR = -I/usr/X11R6/include
     11 #### alt linux
     12 # XLIBS = -lX11
     13 # XINCLUDEDIR = -I/usr/include/X11
     14@@ -47,8 +47,8 @@
     15 # XINCLUDEDIR = -I/usr/openwin/include
     16 #### mac osx
     17 # CC = cc
     18-# XLIBS = -L/usr/X11R6/lib -lX11
     19-# XINCLUDEDIR = -I/usr/X11R6/include
     20+XLIBS = -L/usr/X11R6/lib -lX11
     21+XINCLUDEDIR = -I/usr/X11R6/include
     22 #### cygwin
     23 # XLIBS = -L/usr/X11R6/lib -lX11
     24 # XINCLUDEDIR = -I/usr/X11R6/include
     25@@ -92,10 +92,10 @@
     26 # exetarget: pl
     27 
     28 ########### Option 2: use bundled GD16 (PNG only).  Requires libpng and zlib.
     29-exetarget: plpng
    730-GD16LIBS = -lpng -lz
    831-GD16H =
    9 +GD16LIBS = -L__PREFIX__/lib -lpng -lz
    10 +GD16H = -I__PREFIX__/include
    11  ZFLAG = -DWZ
     32-ZFLAG = -DWZ
     33+# exetarget: plpng
     34+# GD16LIBS = -lpng -lz
     35+# GD16H =
     36+# ZFLAG = -DWZ
     37 
     38 ########### Option 3: use your own GD resource.  Requires GD 1.84+, libpng, zlib, libjpeg
     39 # exetarget: plgd18
     40@@ -106,11 +106,11 @@
     41 
     42 ########### Option 4: use your own GD resource with FreeType2 fonts enabled. 
     43 ###########           Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
     44-# exetarget: plgd18
     45-# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
     46-# GD18H =
     47-# GDFREETYPE = -DGDFREETYPE
     48-# ZFLAG = -DWZ
     49+exetarget: plgd18
     50+GD18LIBS = -L__PREFIX__/lib -lgd -lpng -lz -ljpeg -lfreetype
     51+GD18H = -I__PREFIX__/include
     52+GDFREETYPE = -DGDFREETYPE
     53+ZFLAG = -DWZ
     54 
     55 ########### Option 5: don't use GD at all.
     56 # exetarget: plnogd
     57@@ -131,12 +131,12 @@
    1258 
    1359 
    14 @@ -190,7 +190,7 @@
     60 #### If you do a "make install", where do you want the executable(s) to be moved to?
     61-INSTALLBIN = /usr/local/bin
     62+INSTALLBIN = $(DESTDIR)__PREFIX__/bin
    1563 
    1664 
    17  #### If you plan to do a "make install", where do you want the executable(s) to be moved to?
    18 -BIN = /usr/local/bin
    19 +BIN = $(DESTDIR)__PREFIX__/bin
     65 #### For LOCALE support (non-roman alphabets & collation), uncomment the following..
     66-# LOCALEOBJ = localef.o
     67-# LOCALE_FLAG = -DLOCALE
     68+LOCALEOBJ = localef.o
     69+LOCALE_FLAG = -DLOCALE
    2070 
    21  
    22  #### To set a hard-coded directory for prefabs files, uncomment & edit the following..
     71 #### SVG output is always available by default.
     72 #### If you want compressed SVG (.svgz), and you selected GD13 or no GD above,
Note: See TracChangeset for help on using the changeset viewer.