mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
8d6597e0bb
With hat: portmgr Sponsored by: Absolight
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# Created by: Bernhard Froehlich <decke@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|