# Created by: Bernhard Froehlich # $FreeBSD: head/ports-mgmt/redports-node/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= redports-node PORTVERSION= 0.1.2 CATEGORIES= ports-mgmt MASTER_SITES= https://api.redports.org/downloads/ DISTFILES= ${PORTNAME}-${DISTVERSION}.phar ${PORTNAME}-${DISTVERSION}.phar.pubkey MAINTAINER= decke@FreeBSD.org COMMENT= Redports building node LICENSE= BSD2CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ poudriere:ports-mgmt/poudriere \ ${LOCALBASE}/bin/ccache:devel/ccache NO_BUILD= yes USE_PHP= curl hash json openssl pcntl phar USE_RC_SUBR= redportsnode SUB_FILES= redports-node.json.sample do-extract: ${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/redports-node-${DISTVERSION}.phar ${WRKSRC}/redports-node.phar ${CP} ${_DISTDIR}/redports-node-${DISTVERSION}.phar.pubkey ${WRKSRC}/redports-node.phar.pubkey do-install: ${INSTALL_SCRIPT} ${WRKSRC}/redports-node.phar ${STAGEDIR}${PREFIX}/bin/ ${LN} -s redports-node.phar ${STAGEDIR}${PREFIX}/bin/redports-node ${INSTALL_DATA} ${WRKSRC}/redports-node.phar.pubkey ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.json.sample ${STAGEDIR}${PREFIX}/etc/ .include