summaryrefslogtreecommitdiff
path: root/textproc/diffutils/Makefile
blob: 9a8e8ed594b05dd979e939e079988ac8dd0c8675 (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=	diffutils
DISTVERSION=	3.12
CATEGORIES=	textproc
MASTER_SITES=	GNU

MAINTAINER=	schaiba@gmail.com
COMMENT=	GNU differential compare utilities
WWW=		https://www.gnu.org/software/diffutils/diffutils.html

LICENSE=	GPLv3+

USES=		charsetfix cpe tar:xz
CPE_VENDOR=	gnu
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-prefix=g
TEST_TARGET=	check

INFO=		diffutils

OPTIONS_DEFINE=		NLS
OPTIONS_SUB=		yes
NLS_USES=		gettext iconv
NLS_CONFIGURE_ENABLE=	nls

post-patch:
	@${REINPLACE_CMD} -e '/^mkdir/s:@mkdir_p@:${MKDIR}:' \
		${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>