aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-08-17 03:00:19 +0800
committerpawel <pawel@FreeBSD.org>2016-08-17 03:00:19 +0800
commit6ab4ae0f0fe11eb2074c4b0be02fcd92710c6a44 (patch)
treee8cd8a008bdbf09a53b89bf445c84f2678602076
parentdff69bc7bd304ab51ff58c7bed7ad6d6447830ec (diff)
downloadfreebsd-ports-gnome-6ab4ae0f0fe11eb2074c4b0be02fcd92710c6a44.tar.gz
freebsd-ports-gnome-6ab4ae0f0fe11eb2074c4b0be02fcd92710c6a44.tar.zst
freebsd-ports-gnome-6ab4ae0f0fe11eb2074c4b0be02fcd92710c6a44.zip
- Update to version 2.2 [1]
- Add LICENSE_FILE, NO_ARCH - Convert to options helpers - Regenerate patches with make makepatch PR: 211838 [1] Submitted by: Jochen Neumeister [1]
-rw-r--r--www/igal2/Makefile15
-rw-r--r--www/igal2/distinfo5
-rw-r--r--www/igal2/files/patch-Makefile6
-rw-r--r--www/igal2/files/patch-igal26
4 files changed, 15 insertions, 17 deletions
diff --git a/www/igal2/Makefile b/www/igal2/Makefile
index 008acd9b6dce..cf35fc231b5e 100644
--- a/www/igal2/Makefile
+++ b/www/igal2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= igal2
-PORTVERSION= 2.1
+PORTVERSION= 2.2
CATEGORIES= www graphics
MASTER_SITES= http://igal.trexler.at/
@@ -10,22 +10,19 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple CLI image gallery generator
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= convert:graphics/ImageMagick
-OPTIONS_DEFINE= EXIF
-EXIF_DESC= Support EXIF data (-e option)
-
CONFLICTS= igal-1.*
USES= perl5
NO_BUILD= yes
+NO_ARCH= yes
MAKE_ENV+= DESTDIR=${STAGEDIR}
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXIF}
-RUN_DEPENDS+= p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool
-.endif
+OPTIONS_DEFINE= EXIF
+EXIF_DESC= Support EXIF data (-e option)
+EXIF_RUN_DEPENDS= p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool
post-patch:
${REINPLACE_CMD} -e 's|%%LIBDIR%%|${PREFIX}/lib/igal2|' ${WRKSRC}/igal2
diff --git a/www/igal2/distinfo b/www/igal2/distinfo
index 7c9c221d6575..62f73bf509b4 100644
--- a/www/igal2/distinfo
+++ b/www/igal2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (igal2-2.1.tar.gz) = f2d457a24bed30a93cab17ab4f304591ec3d2d0d0254efa7c3904c345c671be3
-SIZE (igal2-2.1.tar.gz) = 28243
+TIMESTAMP = 1471181539
+SHA256 (igal2-2.2.tar.gz) = e945f830be765e3b826ad3468edd2e58b1a405b3f2fe785b1bdd689394eb0d62
+SIZE (igal2-2.2.tar.gz) = 28458
diff --git a/www/igal2/files/patch-Makefile b/www/igal2/files/patch-Makefile
index b1c2966857ed..c299ef84e207 100644
--- a/www/igal2/files/patch-Makefile
+++ b/www/igal2/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2014-02-14 12:27:23.000000000 +0100
-+++ Makefile 2014-02-14 12:27:48.000000000 +0100
+--- Makefile.orig 2008-11-16 21:00:00 UTC
++++ Makefile
@@ -1,11 +1,11 @@
############################################################################
# if you change this, please also modify the value at the top of igal code
@@ -16,7 +16,7 @@
OLDLIBDIR=$(DESTDIR)/lib/igal
-@@ -24,7 +24,6 @@
+@@ -24,7 +24,6 @@ old-clean::
install:: igal2
install -d $(BINDIR)
install -m 0755 igal2 $(BINDIR)
diff --git a/www/igal2/files/patch-igal2 b/www/igal2/files/patch-igal2
index a95d0c6076d2..b03e31c6cdc9 100644
--- a/www/igal2/files/patch-igal2
+++ b/www/igal2/files/patch-igal2
@@ -1,6 +1,6 @@
---- igal2.orig 2014-02-14 12:28:33.000000000 +0100
-+++ igal2 2014-02-14 12:28:40.000000000 +0100
-@@ -5,7 +5,7 @@
+--- igal2.orig 2016-06-02 05:29:25 UTC
++++ igal2
+@@ -5,7 +5,7 @@ eval 'exec perl -wS $0 ${1+"$@"}'
############################################################################
# Please change this accordingly if you change the DESTDIR in the tarball
# distribution Makefile or the --prefix of the RPM installation