blob: 69e2477081f089c42e0e3d16c2f0ca07aabc689b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= paladin
PORTVERSION= 2.0.1
PORTREVISION= 17
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=${PREFIX}"
USE_GITHUB= yes
GH_ACCOUNT= rwestlund
GH_TUPLE= golang:sys:v0.5.0:sys/vendor/golang.org/x/sys_
pre-patch:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${MV} ${WRKSRC}/vendor/golang.org/x/sys_ ${WRKSRC}/vendor/golang.org/x/sys
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>
|