mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
7e5aa2085f
PR: 276530
47 lines
943 B
Makefile
47 lines
943 B
Makefile
PORTNAME= ipfs
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.26.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
PKGNAMESUFFIX= -go
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= IPFS implementation in Go
|
|
WWW= https://github.com/ipfs/kubo
|
|
|
|
LICENSE= MIT APACHE20
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
|
|
|
|
USES= cpe go:1.20,modules
|
|
|
|
CPE_VENDOR= protocol
|
|
|
|
GO_MODULE= github.com/ipfs/kubo
|
|
GO_TARGET= ./cmd/ipfs:ipfs-go
|
|
|
|
USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
SUB_FILES= ${FULLNAME}
|
|
SUB_LIST= IPFS_USER=${IPFS_USER} \
|
|
IPFS_GROUP=${IPFS_GROUP} \
|
|
IPFS_HOME=${IPFS_HOME}
|
|
PLIST_SUB= IPFS_USER=${IPFS_USER} \
|
|
IPFS_GROUP=${IPFS_GROUP} \
|
|
IPFS_HOME=${IPFS_HOME}
|
|
|
|
IPFS_USER?= ${FULLNAME}
|
|
IPFS_GROUP?= ${FULLNAME}
|
|
IPFS_HOME?= /var/db/${FULLNAME}
|
|
|
|
USERS= ${IPFS_USER}
|
|
GROUPS= ${IPFS_GROUP}
|
|
|
|
FULLNAME= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${IPFS_HOME}
|
|
|
|
.include <bsd.port.mk>
|