1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/irc/znc-push/Makefile

50 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= znc-push
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-167
DISTVERSIONSUFFIX= -g5f95488
PORTREVISION= 3
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 ssl
USE_GITHUB= yes
GH_ACCOUNT= jreese
# 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
MAKE_ENV= version=${PORTVERSION}
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>