pkgsrc-WIP-changes archive

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

ddgr: final fixes



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Wed Feb 10 13:34:24 2021 +0100
Changeset:	18594646367ce65eeeaad618c50f2cb63e53f3d8

Modified Files:
	ddgr/Makefile
	ddgr/PLIST

Log Message:
ddgr: final fixes

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

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

diffstat:
 ddgr/Makefile | 5 +++--
 ddgr/PLIST    | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/ddgr/Makefile b/ddgr/Makefile
index b381aa2d7e..6cb7b11937 100644
--- a/ddgr/Makefile
+++ b/ddgr/Makefile
@@ -12,14 +12,14 @@ LICENSE=	gnu-gpl-v3
 
 USE_LANGUAGES=	# none
 
-INSTALLATION_DIRS=	${PKGMANDIR}/man1 ${PREFIX}/share/examples
+INSTALLATION_DIRS=	${PKGMANDIR}/man1
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 REPLACE_PYTHON+=	ddgr
 REPLACE_PYTHON+=	setup.py
 
-EGDIR=			${PREFIX}/share/examples/ddgr
+EGDIR=			${PREFIX}/share/examples/ddgr/auto-completion
 
 SUBST_CLASSES+=		prefix
 SUBST_MESSAGE.prefix=	Fixing paths.
@@ -31,6 +31,7 @@ SUBST_SED.prefix+=	-e 's,share/man,${PKGMANDIR},g'
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/ddgr.1 \
 		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ddgr.1
+	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
 	${INSTALL_DATA} ${WRKSRC}/auto-completion/bash/ddgr-completion.bash \
 		${DESTDIR}${EGDIR}
 	${INSTALL_DATA} ${WRKSRC}/auto-completion/fish/ddgr.fish \
diff --git a/ddgr/PLIST b/ddgr/PLIST
index 9375c7cb9b..465de09430 100644
--- a/ddgr/PLIST
+++ b/ddgr/PLIST
@@ -9,4 +9,6 @@ ${PYSITELIB}/ddgr.py
 ${PYSITELIB}/ddgr.pyc
 ${PYSITELIB}/ddgr.pyo
 man/man1/ddgr.1
-share/examples/ddgr
+share/examples/ddgr/auto-completion/_ddgr
+share/examples/ddgr/auto-completion/ddgr-completion.bash
+share/examples/ddgr/auto-completion/ddgr.fish


Home | Main Index | Thread Index | Old Index