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.
This commit is contained in:
Leonardo Taccari 2018-12-15 21:21:56 +01:00
parent 7383e504a8
commit 6032c1c27a
4 changed files with 43 additions and 0 deletions

View File

@ -4602,6 +4602,7 @@ SUBDIR+= trimmomatic
SUBDIR+= trinity
SUBDIR+= tripwire2
SUBDIR+= truecrypt
SUBDIR+= tscrape-git
SUBDIR+= tsh
SUBDIR+= tslib
SUBDIR+= tsm

2
tscrape-git/DESCR Normal file
View File

@ -0,0 +1,2 @@
tscrape reads the Twitter HTML page and scrapes the data into a
TAB-separated format to stdout.

31
tscrape-git/Makefile Normal file
View File

@ -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
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"

9
tscrape-git/PLIST Normal file
View File

@ -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