summaryrefslogtreecommitdiff
path: root/www/rss-bridge/Makefile
blob: 0f490833936758076bd203c70df58c3f7db8f4e3 (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

PORTNAME=	rss-bridge
DISTVERSION=	2020-11-10
PORTEPOCH=	1
CATEGORIES=	www

MAINTAINER=	osidorkin@gmail.com
COMMENT=	RSS feed generator for websites missing it

LICENSE=	PD

USES=		php:web
USE_PHP=	curl json mbstring openssl simplexml

USE_GITHUB=	yes
GH_ACCOUNT=	RSS-Bridge

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

OPTIONS_DEFINE=	SQLITE
OPTIONS_DEFAULT=SQLITE
OPTIONS_SUB=	yes

SQLITE_DESC=	Enable sqlite-based cache support (requires sqlite)

SQLITE_USE=	PHP=sqlite3

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "." ${STAGEDIR}${WWWDIR} "-not ( \
	    -name LICENSE -or -name .gitkeep )" )

.include <bsd.port.mk>