pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnome-tracker: Fix python shebangs; simplify CONF_FILES



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon May 23 01:04:16 2016 +0200
Changeset:	ea5342e5842e1fca21ca13339b0c86eb0473b859

Modified Files:
	gnome-tracker/Makefile

Log Message:
gnome-tracker: Fix python shebangs; simplify CONF_FILES

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ea5342e5842e1fca21ca13339b0c86eb0473b859

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnome-tracker/Makefile | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diffs:
diff --git a/gnome-tracker/Makefile b/gnome-tracker/Makefile
index db64882..27491f0 100644
--- a/gnome-tracker/Makefile
+++ b/gnome-tracker/Makefile
@@ -19,22 +19,29 @@ USE_LIBTOOL=	yes
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config intltool gmake
 
-MAKE_DIRS+=	${PKG_SYSCONFDIR}/xdg/autostart
+PKG_SYSCONFSUBDIR=	xdg/autostart
+MAKE_DIRS+=	${PKG_SYSCONFDIR}
 EGDIR=		${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-extract.desktop \
-                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-extract.desktop
+                ${PKG_SYSCONFDIR}/tracker-extract.desktop
 CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-apps.desktop \
-                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-apps.desktop
+                ${PKG_SYSCONFDIR}/tracker-miner-apps.desktop
 CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-fs.desktop \
-                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs.desktop
+                ${PKG_SYSCONFDIR}/tracker-miner-fs.desktop
 CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-user-guides.desktop \
-                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-user-guides.desktop
+                ${PKG_SYSCONFDIR}/tracker-miner-user-guides.desktop
 CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-store.desktop \
-                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-store.desktop
+                ${PKG_SYSCONFDIR}/tracker-store.desktop
 
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
 INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}
 
+REPLACE_PYTHON+=	tests/*/*.py
+REPLACE_PYTHON+=	tests/*/*/*.py
+REPLACE_PYTHON+=	examples/rss-reader/*.py
+REPLACE_PYTHON+=	utils/*/*.py
+REPLACE_PYTHON+=	utils/*/*/*.py
+
 # Options?
 CONFIGURE_ARGS+=	--disable-miner-thunderbird
 CONFIGURE_ARGS+=	--disable-miner-firefox
@@ -47,4 +54,5 @@ CONFIGURE_ARGS+=	--disable-miner-evolution
 .include "../../graphics/png/buildlink3.mk"
 .include "../../devel/glib2/schemas.mk"
 .include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index