- 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]
This commit is contained in:
Pawel Pekala 2016-08-16 19:00:19 +00:00
parent 7e1f236f0b
commit 1f9b9f732b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420297
4 changed files with 15 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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