Ticket #33008: gmic-1.5.0.9.diff

File gmic-1.5.0.9.diff, 3.5 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • files/patch-Makefile.diff

     
    1 --- Makefile.orig       2011-12-29 07:32:38.000000000 -0600
    2 +++ Makefile    2012-01-02 18:17:09.000000000 -0600
     1--- Makefile.orig       2012-01-20 07:27:10.000000000 -0600
     2+++ Makefile    2012-01-24 02:46:58.000000000 -0600
    33@@ -51,13 +51,8 @@
    44 ifeq ($(OS),GNU/kFreeBSD)
    55 OS = Linux
     
    1414 ifeq ($(OS),MINGW32_NT-5.1)
    1515 EXE = .exe
    1616 endif
    17 @@ -110,12 +105,12 @@
    18  
    19  # Flags to enable image display, using X11
     17@@ -111,14 +106,14 @@
    2018 # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
     19 # This requires the presence of the X11 include and library files.
     20 # (package 'libx11-dev' on Debian).
    2121-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
    2222-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
    2323+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I$(USR)/include #-Dcimg_use_xrandr
    2424+X11_LDFLAGS = -L$(USR)/lib -lX11 -lpthread #-lXrandr
    2525 
    2626 # Flags to enable fast display, using XShm.
     27 # This requires the presence of the X11 extension include and library files.
     28 # (package 'libx11-dev' on Debian).
    2729 XSHM_CFLAGS = -Dcimg_use_xshm
    2830-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
    2931+XSHM_LDFLAGS = -L$(USR)/lib -lXext
    3032 
    3133 # Flags to enable image display, using GDI32.
    32  GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\"
    33 @@ -364,8 +359,7 @@
     34 # This requires the presence of the GDI32 include and library files.
     35@@ -390,8 +385,7 @@
    3436        mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/
    3537        cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
    3638        cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
    3739-       if test -d /etc/bash_completion.d/; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
    3840-       if test -d /opt/local/etc/bash_completion.d/; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
    39 +       mkdir -p $(DESTDIR)$(USR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic
     41+       mkdir -p $(DESTDIR)$(USR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)$(USR)/etc/bash_completion.d/gmic
    4042 
    4143 uninstall:
    4244        rm -f $(DESTDIR)$(USR)/bin/gmic
  • Portfile

     
    44PortSystem          1.0
    55
    66name                gmic
    7 version             1.5.0.8
     7version             1.5.0.9
    88license             CeCILL
    99categories          science
    1010platforms           darwin
     
    2323                    different platforms (Windows, Unix, Mac OS X).
    2424
    2525homepage            http://gmic.sourceforge.net/
    26 master_sites        sourceforge:project/gmic/old
     26master_sites        sourceforge:project/gmic \
     27                    sourceforge:project/gmic/old
    2728
    2829distfiles           ${name}_${version}${extract.suffix}
    2930
    3031worksrcdir          ${worksrcdir}/src
    3132
    32 checksums           rmd160  99532589dab47f0e1b493e8b07853eac8543ae70 \
    33                     sha256  ded93e9b45513359d51512d547237bedfbc3f26a2e042b62e8ac8b44d0e5f2aa
     33checksums           rmd160  fdd779ecbe0bc33060641dcfd6b1f5e1d3db3d26 \
     34                    sha256  d647a64bd25bf4146d1c755aa2d26f129605e03b3072dca2dc2e6ec5e38ed3b0
    3435
    3536depends_build       port:pkgconfig
    3637