aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-10 19:35:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-10 19:35:44 +0800
commit52d9aded4a54f0b9e51a91a704a41d1a6a19f86c (patch)
treecdeb46cf0704a804f68f97e413ea999e2c9f3ece /x11-fm
parent25fa6d5d7d9c22d641e4846b74dee3f4bd598bb5 (diff)
downloadfreebsd-ports-gnome-52d9aded4a54f0b9e51a91a704a41d1a6a19f86c.tar.gz
freebsd-ports-gnome-52d9aded4a54f0b9e51a91a704a41d1a6a19f86c.tar.zst
freebsd-ports-gnome-52d9aded4a54f0b9e51a91a704a41d1a6a19f86c.zip
- Pet portlint
- Fix LICENSE - Add LICENSE_FILE - Don't install useless docs - Regenerate patches
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/emelfm2/Makefile13
-rw-r--r--x11-fm/emelfm2/files/patch-Makefile8
-rw-r--r--x11-fm/emelfm2/pkg-plist4
3 files changed, 11 insertions, 14 deletions
diff --git a/x11-fm/emelfm2/Makefile b/x11-fm/emelfm2/Makefile
index 897e84b0041c..c7708a61400e 100644
--- a/x11-fm/emelfm2/Makefile
+++ b/x11-fm/emelfm2/Makefile
@@ -7,9 +7,10 @@ CATEGORIES= x11-fm
MASTER_SITES= http://emelfm2.net/rel/
MAINTAINER= ports@FreeBSD.org
-COMMENT= The gtk2+ port of emelfm, a fast graphical filemanager
+COMMENT= Gtk2+ port of emelfm, a fast graphical filemanager
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pkgconfig tar:bzip2
USE_LDCONFIG= yes
@@ -20,8 +21,8 @@ MAKE_ENV= DOC_DIR="${DOCSDIR}/" \
WITH_OUTPUTSTYLES=1 \
WITH_CUSTOMMOUSE=1
-DOCFILES= ACTIONS CONFIGURATION CREDITS GPL HACKING INSTALL LGPL NEWS \
- README SPEC TODO USAGE WARNING
+DOCFILES= ACTIONS CONFIGURATION CREDITS HACKING NEWS \
+ README TODO USAGE WARNING
OPTIONS_DEFINE= DEBUG DOCS GAMIN THUMB TRACKER HAL NLS
OPTIONS_DEFAULT= GTK2
@@ -64,8 +65,8 @@ do-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}
+.for f in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
diff --git a/x11-fm/emelfm2/files/patch-Makefile b/x11-fm/emelfm2/files/patch-Makefile
index 8c2371152f12..50eecdf8b5b5 100644
--- a/x11-fm/emelfm2/files/patch-Makefile
+++ b/x11-fm/emelfm2/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2014-01-24 22:07:36.000000000 +0100
-+++ Makefile 2014-02-18 18:57:41.000000000 +0100
-@@ -292,7 +292,7 @@
+--- Makefile.orig 2014-01-24 21:07:36 UTC
++++ Makefile
+@@ -292,7 +292,7 @@ else
lLIBS += $(shell pkg-config --libs gmodule-2.0)
endif
# -lrt needed for clock_gettime(), explicit -lm, -ldl needed for some arch-linux distros
@@ -9,7 +9,7 @@
ifeq ($(USE_GAMIN), 1)
#gamin code is a superset of FAM code, so gamin needs fam as well
lLIBS += -lfam
-@@ -347,16 +347,12 @@
+@@ -347,16 +347,12 @@ else
install -m 644 $$file $(ICON_DIR)/stock; \
done
endif
diff --git a/x11-fm/emelfm2/pkg-plist b/x11-fm/emelfm2/pkg-plist
index ab30bc228dd9..99b37b075259 100644
--- a/x11-fm/emelfm2/pkg-plist
+++ b/x11-fm/emelfm2/pkg-plist
@@ -26,13 +26,9 @@ share/applications/emelfm2.desktop
%%PORTDOCS%%%%DOCSDIR%%/ACTIONS
%%PORTDOCS%%%%DOCSDIR%%/CONFIGURATION
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/GPL
%%PORTDOCS%%%%DOCSDIR%%/HACKING
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/LGPL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/SPEC
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/USAGE
%%PORTDOCS%%%%DOCSDIR%%/WARNING