ports/sysutils/ipfs-go/Makefile
Yuri Victorovich 979361e277 sysutils/ipfs-go: Changed binary name to bin/ipfs-go
Reasons:
* Binary conflict with /sbin/ipfs on trueos
* Binary name mismatch with the rc script

PR:		225866
Submitted by:	jhixson@gmail.com (maintainer)
Approved by:	tcberner (mentor, implicit)
2018-02-20 21:32:18 +00:00

29 lines
631 B
Makefile

# $FreeBSD$
PORTNAME= ipfs
PORTVERSION= 0.4.13
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://dist.ipfs.io/go-ipfs/${DISTVERSIONPREFIX}${DISTVERSION}/
PKGNAMESUFFIX= -go
DISTNAME= go-ipfs_${DISTVERSIONPREFIX}${DISTVERSION}_freebsd-${ARCH}
MAINTAINER= jhixson@gmail.com
COMMENT= IPFS implementation in Go
LICENSE= MIT
ONLY_FOR_ARCHS= amd64
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX}
NO_BUILD= yes
WRKSRC= ${WRKDIR}/go-ipfs
USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipfs ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.mk>