Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 09:33:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466292 - head/graphics/feh
Message-ID:  <201804030933.w339XT3D053743@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Apr  3 09:33:29 2018
New Revision: 466292
URL: https://svnweb.freebsd.org/changeset/ports/466292

Log:
  - Switch to USES=localbase
  - Pet portlint
  - Switch to options helpers
  - Update WWW
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/feh/Makefile
  head/graphics/feh/pkg-descr

Modified: head/graphics/feh/Makefile
==============================================================================
--- head/graphics/feh/Makefile	Tue Apr  3 09:28:54 2018	(r466291)
+++ head/graphics/feh/Makefile	Tue Apr  3 09:33:29 2018	(r466292)
@@ -17,13 +17,13 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libImlib2.so:graphics/imlib2 \
 		libpng.so:graphics/png
 
+USES=		cpe desktop-file-utils gmake localbase:ldflags \
+		perl5 shebangfix tar:bzip2
+SHEBANG_FILES=	cam/feh-cam
 USE_XORG=	x11 xt xinerama
-USES=		cpe desktop-file-utils gmake perl5 shebangfix tar:bzip2
-CPE_VENDOR=	daniel_friesel
 USE_PERL5=	run
+CPE_VENDOR=	daniel_friesel
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_ENV+=	LDFLAGS="${LDFLAGS}" verscmp=0
 
 OPTIONS_DEFINE=	CAM DOCS EXAMPLES EXIF
@@ -32,18 +32,10 @@ EXIF_DESC=	Support EXIF tags
 OPTIONS_DEFAULT=CAM EXIF
 OPTIONS_SUB=	yes
 
-EXIF_LIB_DEPENDS=	libexif.so:graphics/libexif
+CAM_MAKE_ENV=	cam=1
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCAM}
-MAKE_ENV+=	cam=1
-SHEBANG_FILES=	${WRKSRC}/cam/feh-cam
-.endif
-
-.if ${PORT_OPTIONS:MEXIF}
-MAKE_ENV+=	exif=1
-.endif
+EXIF_LIB_DEPENDS=	libexif.so:graphics/libexif
+EXIF_MAKE_ENV=	exif=1
 
 post-patch-DOCS-off:
 	@${REINPLACE_CMD} -e 's|install-doc||' \

Modified: head/graphics/feh/pkg-descr
==============================================================================
--- head/graphics/feh/pkg-descr	Tue Apr  3 09:28:54 2018	(r466291)
+++ head/graphics/feh/pkg-descr	Tue Apr  3 09:33:29 2018	(r466292)
@@ -4,4 +4,4 @@ from simple single file viewing, to multiple file mode
 a slideshow or multiple windows. feh supports the creation of
 montages as index prints with many user-configurable options.
 
-WWW: http://feh.finalrewind.org/
+WWW: https://feh.finalrewind.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804030933.w339XT3D053743>