summaryrefslogtreecommitdiff
path: root/ports-mgmt/portfmt/Makefile
blob: b1ba8fc253d8b90a58118889df46a7066aedcf61 (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
25
26
27
28

PORTNAME=	portfmt
DISTVERSION=	g20210321
CATEGORIES=	ports-mgmt
MASTER_SITES=	https://github.com/t6/portfmt/releases/download/${DISTVERSION}/

MAINTAINER=	tobik@FreeBSD.org
COMMENT=	Format FreeBSD Ports Makefiles

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		tar:lz
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}" \
		PREFIX="${PREFIX}"
MAKE_ARGS=	INSTALL_MAN="${INSTALL_MAN}" \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}"
TEST_TARGET=	test

OPTIONS_DEFINE=	SUBPACKAGES

SUBPACKAGES_DESC=	Subpackages support (D16457)

SUBPACKAGES_CPPFLAGS_OFF=	-DPORTFMT_SUBPACKAGES=0

.include <bsd.port.mk>