summaryrefslogtreecommitdiff
path: root/sysutils/paladin/Makefile
blob: 659a3b48c3c2a974653a073425ecba9f150eb0d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PORTNAME=	paladin
PORTVERSION=	2.0.1
PORTREVISION=	10
CATEGORIES=	sysutils

MAINTAINER=	rwestlun@gmail.com
COMMENT=	Simple process supervisor
WWW=		https://github.com/rwestlund/paladin

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>