1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/irc/znc-push/Makefile
2021-04-08 23:33:31 +00:00

48 lines
1.1 KiB
Makefile

PORTNAME= znc-push
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-173
DISTVERSIONSUFFIX= -g78d0385
PORTREVISION= 2
CATEGORIES= irc
MAINTAINER= dor.bsd@xm0.uk
COMMENT= Push notification service module for ZNC
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= znc:irc/znc
LIB_DEPENDS= libicudata.so:devel/icu
RUN_DEPENDS= znc:irc/znc
USES= compiler:c++11-lang gmake localbase:ldflags ssl
USE_GITHUB= yes
GH_ACCOUNT= jreese
MAKE_ENV= version=${PORTVERSION}
# v2.0.0-{rc,dev} are ancient release candidates from 2014 for the seemingly
# abandoned Python branch.
PORTSCOUT= skipv:v2.0.0-rc,v2.0.0-dev
PLIST_FILES= lib/znc/push.so
PORTDOCS= *.md
OPTIONS_DEFINE= CURL DOCS
CURL_DESC= Use curl for HTTP requests
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_MAKE_ENV= curl=yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/znc
${INSTALL_PROGRAM} ${WRKSRC}/push.so ${STAGEDIR}${PREFIX}/lib/znc/push.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/znc/push.so
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${WRKSRC}/doc/*.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>