pkgsrc-WIP-changes archive

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

foliate: Adds a symlink for easy invocation of the package.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Wed Oct 9 17:28:06 2019 -0500
Changeset:	30d6175fa353368ce6e33d63678f8a815ac89298

Modified Files:
	foliate/Makefile
	foliate/PLIST

Log Message:
foliate: Adds a symlink for easy invocation of the package.

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

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

diffstat:
 foliate/Makefile | 5 ++++-
 foliate/PLIST    | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/foliate/Makefile b/foliate/Makefile
index a0fdf29e1b..c2633c2874 100644
--- a/foliate/Makefile
+++ b/foliate/Makefile
@@ -26,12 +26,15 @@ USE_BUILTIN.gettext=	no
 REPLACE_PYTHON+=	build-aux/meson/postinstall.py
 REPLACE_PYTHON+=	src/assets/KindleUnpack/*.py
 
+INSTALLATION_DIRS+=	libexec/foliate
 
 pre-install:
 	${RM} -f ${WRKSRC}/src/assets/KindleUnpack/*.orig
 
 post-install:
-	${LN} -s -f ${DESTDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \
+	${MV} ${DESTDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \
+		${DESTDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate
+	${LN} -s -f ${DESTDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate \
 		${DESTDIR}${PREFIX}/bin/foliate
 
 .include "../../devel/meson/build.mk"
diff --git a/foliate/PLIST b/foliate/PLIST
index e5954077a0..d3d48776e0 100644
--- a/foliate/PLIST
+++ b/foliate/PLIST
@@ -1,6 +1,6 @@
 @comment $NetBSD$
-bin/com.github.johnfactotum.Foliate
 bin/foliate
+libexec/foliate/com.github.johnfactotum.Foliate
 share/applications/com.github.johnfactotum.Foliate.desktop
 share/com.github.johnfactotum.Foliate/assets/KindleUnpack/__init__.py
 share/com.github.johnfactotum.Foliate/assets/KindleUnpack/compatibility_utils.py


Home | Main Index | Thread Index | Old Index