From 75ab351c38a1b21cb0e226bf3a42bc6d5dc9f85f Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Tue, 28 Nov 2017 11:47:16 +0000
Subject: - Fix LICENSE - Add LICENSE_FILE - Switch to USES=localbase - Update
 WWW

Approved by:	portmgr blanket
---
 x11-fm/gnome-commander2/Makefile  | 9 ++++-----
 x11-fm/gnome-commander2/pkg-descr | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

(limited to 'x11-fm')

diff --git a/x11-fm/gnome-commander2/Makefile b/x11-fm/gnome-commander2/Makefile
index 3ad639bd6b17..094d999a39e8 100644
--- a/x11-fm/gnome-commander2/Makefile
+++ b/x11-fm/gnome-commander2/Makefile
@@ -13,7 +13,8 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	File manager for Gnome2
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libunique-1.0.so:x11-toolkits/unique \
 		libgnome-keyring.so:security/libgnome-keyring \
@@ -23,7 +24,8 @@ LIB_DEPENDS=	libunique-1.0.so:x11-toolkits/unique \
 RUN_DEPENDS=	meld:textproc/meld \
 		yelp:x11/yelp
 
-USES=		compiler:c++11-lang gettext gmake libtool pathfix pkgconfig python tar:xz
+USES=		compiler:c++11-lang gettext gmake libtool localbase:ldflags pathfix \
+		pkgconfig python tar:xz
 USE_GNOME=	cairo gdkpixbuf2 gnomedocutils gnomeprefix gnomevfs2 intltool libgnomeui
 USE_XORG=	ice sm
 GNU_CONFIGURE=	yes
@@ -31,9 +33,6 @@ INSTALL_TARGET=	install-strip
 INSTALLS_OMF=	yes
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 CONFLICTS=	gnome-commander-[0-9]*
 
 OPTIONS_DEFINE=		CHM EXIV2 GSF POPPLER TAGLIB
diff --git a/x11-fm/gnome-commander2/pkg-descr b/x11-fm/gnome-commander2/pkg-descr
index 0321dade0733..de644f90f055 100644
--- a/x11-fm/gnome-commander2/pkg-descr
+++ b/x11-fm/gnome-commander2/pkg-descr
@@ -5,4 +5,4 @@ It can also detect changes to files caused by other programs and update
 the views without the need for the user to manually reload. The program
 also supports Copy & Paste as well as Drag & Drop.
 
-WWW: http://gcmd.github.io/
+WWW: https://gcmd.github.io/
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0