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) |
---|
-
files/patch-Makefile.diff
1 --- Makefile.orig 201 1-12-29 07:32:38.000000000 -06002 +++ Makefile 2012-01- 02 18:17:09.000000000 -06001 --- Makefile.orig 2012-01-20 07:27:10.000000000 -0600 2 +++ Makefile 2012-01-24 02:46:58.000000000 -0600 3 3 @@ -51,13 +51,8 @@ 4 4 ifeq ($(OS),GNU/kFreeBSD) 5 5 OS = Linux … … 14 14 ifeq ($(OS),MINGW32_NT-5.1) 15 15 EXE = .exe 16 16 endif 17 @@ -110,12 +105,12 @@ 18 19 # Flags to enable image display, using X11 17 @@ -111,14 +106,14 @@ 20 18 # (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). 21 21 -X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr 22 22 -X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr 23 23 +X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I$(USR)/include #-Dcimg_use_xrandr 24 24 +X11_LDFLAGS = -L$(USR)/lib -lX11 -lpthread #-lXrandr 25 25 26 26 # 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). 27 29 XSHM_CFLAGS = -Dcimg_use_xshm 28 30 -XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext 29 31 +XSHM_LDFLAGS = -L$(USR)/lib -lXext 30 32 31 33 # Flags to enable image display, using GDI32. 32 GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\"33 @@ -3 64,8 +359,7 @@34 # This requires the presence of the GDI32 include and library files. 35 @@ -390,8 +385,7 @@ 34 36 mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ 35 37 cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz 36 38 cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz 37 39 - 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 38 40 - 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/gmic41 + mkdir -p $(DESTDIR)$(USR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)$(USR)/etc/bash_completion.d/gmic 40 42 41 43 uninstall: 42 44 rm -f $(DESTDIR)$(USR)/bin/gmic -
Portfile
4 4 PortSystem 1.0 5 5 6 6 name gmic 7 version 1.5.0. 87 version 1.5.0.9 8 8 license CeCILL 9 9 categories science 10 10 platforms darwin … … 23 23 different platforms (Windows, Unix, Mac OS X). 24 24 25 25 homepage http://gmic.sourceforge.net/ 26 master_sites sourceforge:project/gmic/old 26 master_sites sourceforge:project/gmic \ 27 sourceforge:project/gmic/old 27 28 28 29 distfiles ${name}_${version}${extract.suffix} 29 30 30 31 worksrcdir ${worksrcdir}/src 31 32 32 checksums rmd160 99532589dab47f0e1b493e8b07853eac8543ae70\33 sha256 d ed93e9b45513359d51512d547237bedfbc3f26a2e042b62e8ac8b44d0e5f2aa33 checksums rmd160 fdd779ecbe0bc33060641dcfd6b1f5e1d3db3d26 \ 34 sha256 d647a64bd25bf4146d1c755aa2d26f129605e03b3072dca2dc2e6ec5e38ed3b0 34 35 35 36 depends_build port:pkgconfig 36 37