pkgsrc-WIP-changes archive

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

ddgr: intall manpages



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Feb 9 19:30:50 2021 +0100
Changeset:	45589330440bf5bdbea038520b5f11bde707200e

Modified Files:
	ddgr/Makefile
	ddgr/PLIST

Log Message:
ddgr: intall manpages

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

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

diffstat:
 ddgr/Makefile | 7 +++++++
 ddgr/PLIST    | 1 +
 2 files changed, 8 insertions(+)

diffs:
diff --git a/ddgr/Makefile b/ddgr/Makefile
index 323430f299..afa1d0ab37 100644
--- a/ddgr/Makefile
+++ b/ddgr/Makefile
@@ -12,6 +12,10 @@ LICENSE=	gnu-gpl-v3
 
 USE_LANGUAGES=	# none
 
+INSTALLATION_DIRS=	${PKGMANDIR}/man1
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 SUBST_CLASSES+=		prefix
 SUBST_MESSAGE.prefix=	Fixing paths.
 SUBST_STAGE.prefix=	pre-configure
@@ -19,5 +23,8 @@ SUBST_FILES.prefix+=	Makefile
 SUBST_SED.prefix+=	-e 's,/usr/local,${PREFIX},g'
 SUBST_SED.prefix+=	-e 's,share/man,${PKGMANDIR},g'
 
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/ddgr.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ddgr.1
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/ddgr/PLIST b/ddgr/PLIST
index a717ced1ce..e355794ea4 100644
--- a/ddgr/PLIST
+++ b/ddgr/PLIST
@@ -8,3 +8,4 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ddgr.py
 ${PYSITELIB}/ddgr.pyc
 ${PYSITELIB}/ddgr.pyo
+man/man1/ddgr.1


Home | Main Index | Thread Index | Old Index