pkgsrc-WIP-changes archive

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

tscrape-git: Import tscrape-0.1 as wip/tscrape-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Dec 15 21:21:56 2018 +0100
Changeset:	6032c1c27a8fe6a2d3597f721352d7c6302f15f9

Modified Files:
	Makefile
Added Files:
	tscrape-git/DESCR
	tscrape-git/Makefile
	tscrape-git/PLIST

Log Message:
tscrape-git: Import tscrape-0.1 as wip/tscrape-git

tscrape reads the Twitter HTML page and scrapes the data into a
TAB-separated format to stdout.

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

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

diffstat:
 Makefile             |  1 +
 tscrape-git/DESCR    |  2 ++
 tscrape-git/Makefile | 31 +++++++++++++++++++++++++++++++
 tscrape-git/PLIST    |  9 +++++++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a35cb3d000..ee481ea153 100644
--- a/Makefile
+++ b/Makefile
@@ -4602,6 +4602,7 @@ SUBDIR+=	trimmomatic
 SUBDIR+=	trinity
 SUBDIR+=	tripwire2
 SUBDIR+=	truecrypt
+SUBDIR+=	tscrape-git
 SUBDIR+=	tsh
 SUBDIR+=	tslib
 SUBDIR+=	tsm
diff --git a/tscrape-git/DESCR b/tscrape-git/DESCR
new file mode 100644
index 0000000000..6b1c05c5bf
--- /dev/null
+++ b/tscrape-git/DESCR
@@ -0,0 +1,2 @@
+tscrape reads the Twitter HTML page and scrapes the data into a
+TAB-separated format to stdout.
diff --git a/tscrape-git/Makefile b/tscrape-git/Makefile
new file mode 100644
index 0000000000..e3be6ebe3f
--- /dev/null
+++ b/tscrape-git/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.2 2018/09/08 14:10:52 leot Exp $
+
+DISTNAME=	tscrape-0.1
+CATEGORIES=	news
+MASTER_SITES=	http://codemadness.org/releases/tscrape/
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	http://codemadness.org/git/tscrape/file/README.html
+COMMENT=	Twitter scraper
+LICENSE=	isc
+
+GIT_REPOSITORIES=	tscrape
+GIT_REPO.tscrape=	git://git.codemadness.org/tscrape
+WRKSRC=			${WRKDIR}/tscrape
+
+USE_LANGUAGES=	c99
+
+# Adjust config.mk
+SUBST_CLASSES+=		makefile
+SUBST_STAGE.makefile=	pre-configure
+SUBST_MESSAGE.makefile=	Fixing config.mk
+SUBST_FILES.makefile=	config.mk
+SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+=	-e 's,man,${PKGMANDIR},g'
+SUBST_SED.makefile+=	-e 's/cc/${CC:Q}/'
+SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=	-e 's,^CPPFLAGS *= ,CPPFLAGS += ,'
+SUBST_SED.makefile+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tscrape-git/PLIST b/tscrape-git/PLIST
new file mode 100644
index 0000000000..866032552c
--- /dev/null
+++ b/tscrape-git/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/tscrape
+bin/tscrape_html
+bin/tscrape_plain
+bin/tscrape_update
+man/man1/tscrape.1
+share/tscrape/README
+share/tscrape/style.css
+share/tscrape/tscraperc.example


Home | Main Index | Thread Index | Old Index