Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2015 16:43:10 +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: r388953 - head/x11/leechcraft
Message-ID:  <201506091643.t59GhA9q086302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  9 16:43:09 2015
New Revision: 388953
URL: https://svnweb.freebsd.org/changeset/ports/388953

Log:
  - Don't include empty directories in the package
  
  Approved by:	vg

Modified:
  head/x11/leechcraft/Makefile
  head/x11/leechcraft/pkg-plist

Modified: head/x11/leechcraft/Makefile
==============================================================================
--- head/x11/leechcraft/Makefile	Tue Jun  9 16:37:40 2015	(r388952)
+++ head/x11/leechcraft/Makefile	Tue Jun  9 16:43:09 2015	(r388953)
@@ -3,7 +3,7 @@
 
 PORTNAME=	leechcraft
 PORTVERSION=	0.6.70
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	x11
 MASTER_SITES=	http://dist.leechcraft.org/LeechCraft/0.6.70/
 
@@ -396,4 +396,8 @@ PORT_OPTIONS:=	${PORT_OPTIONS:NBITTORREN
 USE_GCC=	yes
 .endif
 
+post-install:
+	@${FIND} -d ${STAGEDIR}${PREFIX}/include/leechcraft \
+		-type d -empty -exec ${RMDIR} {} \;
+
 .include <bsd.port.mk>

Modified: head/x11/leechcraft/pkg-plist
==============================================================================
--- head/x11/leechcraft/pkg-plist	Tue Jun  9 16:37:40 2015	(r388952)
+++ head/x11/leechcraft/pkg-plist	Tue Jun  9 16:43:09 2015	(r388953)
@@ -1992,35 +1992,3 @@ share/man/man1/leechcraft.1.gz
 %%XTAZY%%%%DATADIR%%/settings/xtazysettings.xml
 %%XTAZY%%%%DATADIR%%/translations/leechcraft_xtazy_en.qm
 %%XTAZY%%%%DATADIR%%/translations/leechcraft_xtazy_ru_RU.qm
-@dir include/leechcraft/util/CMakeFiles/leechcraft-util.dir
-@dir include/leechcraft/util/CMakeFiles/leechcraft-util_automoc.dir
-@dir include/leechcraft/util/cmake
-@dir include/leechcraft/util/db/CMakeFiles/leechcraft-util-db.dir
-@dir include/leechcraft/util/db/CMakeFiles/leechcraft-util-db_automoc.dir
-@dir include/leechcraft/util/gui/CMakeFiles/leechcraft-util-gui.dir
-@dir include/leechcraft/util/gui/CMakeFiles/leechcraft-util-gui_automoc.dir
-@dir include/leechcraft/util/models/CMakeFiles/leechcraft-util-models.dir
-@dir include/leechcraft/util/models/CMakeFiles/leechcraft-util-models_automoc.dir
-@dir include/leechcraft/util/network/CMakeFiles/leechcraft-util-network.dir
-@dir include/leechcraft/util/network/CMakeFiles/leechcraft-util-network_automoc.dir
-@dir include/leechcraft/util/qml/CMakeFiles/leechcraft-util-qml.dir
-@dir include/leechcraft/util/qml/CMakeFiles/leechcraft-util-qml_automoc.dir
-@dir include/leechcraft/util/shortcuts/CMakeFiles/leechcraft-util-shortcuts.dir
-@dir include/leechcraft/util/shortcuts/CMakeFiles/leechcraft-util-shortcuts_automoc.dir
-@dir include/leechcraft/util/sll/CMakeFiles/leechcraft-util-sll.dir
-@dir include/leechcraft/util/sll/CMakeFiles/leechcraft-util-sll_automoc.dir
-@dir include/leechcraft/util/sll/cmake
-@dir include/leechcraft/util/svcauth/CMakeFiles/leechcraft-util-svcauth.dir
-@dir include/leechcraft/util/svcauth/CMakeFiles/leechcraft-util-svcauth_automoc.dir
-@dir include/leechcraft/util/sys/CMakeFiles/leechcraft-util-sys.dir
-@dir include/leechcraft/util/sys/CMakeFiles/leechcraft-util-sys_automoc.dir
-@dir include/leechcraft/util/tags/CMakeFiles/leechcraft-util-tags.dir
-@dir include/leechcraft/util/tags/CMakeFiles/leechcraft-util-tags_automoc.dir
-@dir include/leechcraft/util/x11/CMakeFiles/leechcraft-util-x11.dir
-@dir include/leechcraft/util/x11/CMakeFiles/leechcraft-util-x11_automoc.dir
-@dir include/leechcraft/util/xdg/CMakeFiles/leechcraft-util-xdg.dir
-@dir include/leechcraft/util/xdg/CMakeFiles/leechcraft-util-xdg_automoc.dir
-@dir include/leechcraft/util/xpc/CMakeFiles/leechcraft-util-xpc.dir
-@dir include/leechcraft/util/xpc/CMakeFiles/leechcraft-util-xpc_automoc.dir
-@dir include/leechcraft/util/xsd/CMakeFiles/leechcraft-util-xsd.dir
-@dir include/leechcraft/util/xsd/CMakeFiles/leechcraft-util-xsd_automoc.dir



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