pkgsrc-WIP-changes archive

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

akonadi: fix Makefile



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Fri Feb 2 08:44:31 2018 +1300
Changeset:	0e568383f12dbe68b6d5abc68b68fe02faa21760

Modified Files:
	akonadi/Makefile

Log Message:
akonadi: fix Makefile

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

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

diffstat:
 akonadi/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diffs:
diff --git a/akonadi/Makefile b/akonadi/Makefile
index 90b529e463..b0294e14ab 100644
--- a/akonadi/Makefile
+++ b/akonadi/Makefile
@@ -18,6 +18,14 @@ USE_TOOLS+=	pkg-config msgmerge
 
 .include "options.mk"
 
+SUBST_CLASSES+=		xdg
+SUBST_STAGE.xdg=	post-patch
+SUBST_MESSAGE.xdg=	Install via examples dir.
+SUBST_FILES.xdg=	CMakeLists.txt
+SUBST_FILES.xdg+=	src/server/CMakeLists.txt
+SUBST_SED.xdg=		-e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+SUBST_SED.xdg+=		-e 's:{CONFIG_INSTALL_DIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+
 MAKE_DIRS+=	${PKG_SYSCONFDIR}/xdg/akonadi
 CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/akonadi.categories \
 		${PKG_SYSCONFDIR}/xdg/akonadi.categories


Home | Main Index | Thread Index | Old Index