summaryrefslogtreecommitdiffstats
path: root/games/gogrepo/Makefile
blob: ceae6f20c060877a48f8d385a64382b17f3533d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Stefan Esser <se@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gogrepo
PORTVERSION=	0.3a
CATEGORIES=	games net

MAINTAINER=	se@FreeBSD.org
COMMENT=	Batch downloader for (linux,mac,windows) games distributed by GOG.com

LICENSE=	GPLv3+

RUN_DEPENDS=	${PYTHONPREFIX_SITELIBDIR}/html5lib/html5parser.py:www/py-html5lib \
		html2text:textproc/py-html2text

USE_GITHUB=	yes
GH_ACCOUNT=	eddie3
GH_TAGNAME=	c7f3dd0

USES=		python shebangfix
SHEBANG_FILES=	gogrepo.py

OPTIONS_DEFINE=	DOCS

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	bin/gogrepo
PORTDOCS=	README.md

do-install:
		${INSTALL_SCRIPT} ${WRKSRC}/gogrepo.py ${STAGEDIR}${PREFIX}/bin/gogrepo

do-install-DOCS-on:
		@${MKDIR} ${STAGEDIR}${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud