2021-04-06 18:26:36 +02:00
|
|
|
PORTNAME= webdis
|
2022-02-24 09:47:03 +01:00
|
|
|
DISTVERSION= 0.1.20
|
2022-02-27 13:12:19 +01:00
|
|
|
PORTREVISION= 1
|
2021-04-06 18:26:36 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
|
|
COMMENT= HTTP interface for Redis
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://webd.is/
|
2021-04-06 18:26:36 +02:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= libevent.so:devel/libevent
|
|
|
|
|
|
|
|
USES= gmake
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= nicolasff
|
|
|
|
USE_RC_SUBR= webdis
|
|
|
|
|
|
|
|
USERS= webdis
|
|
|
|
GROUPS= webdis
|
|
|
|
|
|
|
|
PLIST_FILES= bin/webdis \
|
|
|
|
"@sample etc/webdis.conf.sample"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s@%%LOCALBASE%%@${LOCALBASE}@g" ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL} ${WRKSRC}/webdis ${STAGEDIR}${PREFIX}/bin/webdis
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/webdis.conf ${STAGEDIR}${PREFIX}/etc/webdis.conf.sample
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/webdis
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|