- 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
24 lines
526 B
Makefile
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>
|