aboutsummaryrefslogtreecommitdiff
path: root/www/unitc/Makefile
blob: 621a361095020d27c5a2cef7f9f07f0c1af100fd (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
30
31
32
PORTNAME=	unitc
PORTVERSION=	${UNIT_VERSION}
CATEGORIES=	www
MASTER_SITES?=	https://unit.nginx.org/download/
DISTNAME=	unit-${PORTVERSION}
DISTINFO_FILE=	${.CURDIR}/../../www/unit/distinfo

MAINTAINER=	osa@FreeBSD.org
COMMENT=	Command-line management tool for NGINX Unit
WWW=		https://unit.nginx.org

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	bash>0:shells/bash \
		curl:ftp/curl

CPE_VENDOR=	nginx
CPE_PRODUCT=	unit

USES+=		cpe shebangfix
SHEBANG_FILES=	tools/unitc

NO_BUILD=	yes

PLIST_FILES?=	bin/unitc

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/tools/unitc ${STAGEDIR}${PREFIX}/bin/

.include "../../www/unit/version.mk"
.include <bsd.port.mk>