freebsd-ports/sysutils/paladin/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

24 lines
526 B
Makefile

# $FreeBSD$
PORTNAME= paladin
PORTVERSION= 2.0.1
CATEGORIES= sysutils
MAINTAINER= rwestlun@gmail.com
COMMENT= Simple process supervisor
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-X main.localbase=/usr/local"
USE_GITHUB= yes
GH_ACCOUNT= rwestlund
post-install:
@${CP} ${WRKSRC}/etc/paladin.conf.sample ${STAGEDIR}/${LOCALBASE}/etc/
@${CP} ${WRKSRC}/etc/rc.d/paladin ${STAGEDIR}/${LOCALBASE}/etc/rc.d/
.include <bsd.port.mk>