pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ddgr



Module Name:    pkgsrc
Committed By:   pin
Date:           Thu Feb 11 11:16:37 UTC 2021

Added Files:
        pkgsrc/www/ddgr: DESCR Makefile PLIST distinfo

Log Message:
www/ddgr: import package

Command-line utility to search DuckDuckGo from the terminal. While googler is
extremely popular among command line users, in many forums the need of a similar
utility for privacy-aware DuckDuckGo came up. So here's `ddgr` for you!

Unlike the web interface, you can specify the number of search results you would
like to see per page. It's more convenient than skimming through 30-odd search
results per page.
The default interface is carefully designed to use minimum space without
sacrificing readability.

A big advantage of ddgr over googler is DuckDuckGo works over the Tor network.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ddgr/DESCR pkgsrc/www/ddgr/Makefile \
    pkgsrc/www/ddgr/PLIST pkgsrc/www/ddgr/distinfo

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

Added files:

Index: pkgsrc/www/ddgr/DESCR
diff -u /dev/null pkgsrc/www/ddgr/DESCR:1.1
--- /dev/null   Thu Feb 11 11:16:37 2021
+++ pkgsrc/www/ddgr/DESCR       Thu Feb 11 11:16:37 2021
@@ -0,0 +1,11 @@
+Command-line utility to search DuckDuckGo from the terminal. While googler is
+extremely popular among command line users, in many forums the need of a similar
+utility for privacy-aware DuckDuckGo came up. So here's `ddgr` for you!
+
+Unlike the web interface, you can specify the number of search results you would
+like to see per page. It's more convenient than skimming through 30-odd search
+results per page.
+The default interface is carefully designed to use minimum space without
+sacrificing readability.
+
+A big advantage of ddgr over googler is DuckDuckGo works over the Tor network.
Index: pkgsrc/www/ddgr/Makefile
diff -u /dev/null pkgsrc/www/ddgr/Makefile:1.1
--- /dev/null   Thu Feb 11 11:16:37 2021
+++ pkgsrc/www/ddgr/Makefile    Thu Feb 11 11:16:37 2021
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2021/02/11 11:16:37 pin Exp $
+
+DISTNAME=      ddgr-1.9
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarun/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pin%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jarun/ddgr
+COMMENT=       DuckDuckGo from the terminal
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+REPLACE_PYTHON+=       ddgr
+REPLACE_PYTHON+=       setup.py
+
+EGDIR=                 ${PREFIX}/share/examples/ddgr/auto-completion
+
+SUBST_CLASSES+=                prefix
+SUBST_MESSAGE.prefix=  Fixing paths.
+SUBST_STAGE.prefix=    pre-configure
+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
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/auto-completion/bash/ddgr-completion.bash \
+               ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/auto-completion/fish/ddgr.fish \
+               ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/auto-completion/zsh/_ddgr \
+               ${DESTDIR}${EGDIR}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ddgr/PLIST
diff -u /dev/null pkgsrc/www/ddgr/PLIST:1.1
--- /dev/null   Thu Feb 11 11:16:37 2021
+++ pkgsrc/www/ddgr/PLIST       Thu Feb 11 11:16:37 2021
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/11 11:16:37 pin Exp $
+bin/ddgr
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ddgr.py
+${PYSITELIB}/ddgr.pyc
+${PYSITELIB}/ddgr.pyo
+man/man1/ddgr.1
+share/examples/ddgr/auto-completion/_ddgr
+share/examples/ddgr/auto-completion/ddgr-completion.bash
+share/examples/ddgr/auto-completion/ddgr.fish
Index: pkgsrc/www/ddgr/distinfo
diff -u /dev/null pkgsrc/www/ddgr/distinfo:1.1
--- /dev/null   Thu Feb 11 11:16:37 2021
+++ pkgsrc/www/ddgr/distinfo    Thu Feb 11 11:16:37 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/11 11:16:37 pin Exp $
+
+SHA1 (ddgr-1.9.tar.gz) = 7c1cf38e9cc64b6d55ef9ed6eb6494476f1e44a3
+RMD160 (ddgr-1.9.tar.gz) = 2aecec42c48ce2c4fc873438ff30e83020beab68
+SHA512 (ddgr-1.9.tar.gz) = 25fb995d32cf19ed1d4493ec463f60db39f4728ffe052dabccb49b721e65250e444bb4cc54f5f41dd1d6365d4e8bd1139277c44a9bd1d39394dec998ccb93b7c
+Size (ddgr-1.9.tar.gz) = 44181 bytes



Home | Main Index | Thread Index | Old Index