svn commit: r495760 - head/www/igal2

Tobias Kortkamp tobik at FreeBSD.org
Fri Mar 15 04:41:07 UTC 2019


Author: tobik
Date: Fri Mar 15 04:41:06 2019
New Revision: 495760
URL: https://svnweb.freebsd.org/changeset/ports/495760

Log:
  www/igal2: Fix EXIF option
  
  Options helpers are ineffective when set after bsd.port.options.mk.
  Convert the port to options helpers to fix this.
  
  Reported by:	tobik (in D19553)

Modified:
  head/www/igal2/Makefile

Modified: head/www/igal2/Makefile
==============================================================================
--- head/www/igal2/Makefile	Fri Mar 15 03:44:38 2019	(r495759)
+++ head/www/igal2/Makefile	Fri Mar 15 04:41:06 2019	(r495760)
@@ -3,7 +3,7 @@
 
 PORTNAME=	igal2
 PORTVERSION=	2.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www graphics
 MASTER_SITES=	http://igal.trexler.at/
 
@@ -29,22 +29,15 @@ IMAGICK_DESC=	${IMAGEMAGICK_DESC}
 IMAGICK_NOX11_DESC=Without X11 support
 IMAGICK_X11_DESC=With X11 support
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MIMAGICK_X11}
-RUN_DEPENDS+=	${LOCALBASE}/bin/convert:graphics/ImageMagick6
-.endif
-
-.if ${PORT_OPTIONS:MIMAGICK_NOX11}
-RUN_DEPENDS+=	${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11
-.endif
-
 EXIF_RUN_DEPENDS=	p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool
 
+IMAGICK_X11_RUN_DEPENDS=	${LOCALBASE}/bin/convert:graphics/ImageMagick6
+IMAGICK_NOX11_RUN_DEPENDS=	${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11
+
 post-patch:
 	${REINPLACE_CMD} -e 's|%%LIBDIR%%|${PREFIX}/lib/igal2|' ${WRKSRC}/igal2
 
 post-install:
 	${LN} -sf igal2 ${STAGEDIR}${PREFIX}/bin/igal
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list