1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/gindent/Makefile
2021-04-06 16:31:07 +02:00

36 lines
751 B
Makefile

# Created by: Kapil Chowksey <kchowksey@hss.hns.com>
PORTNAME= gindent
DISTVERSION= 2.2.12
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU/indent
DISTNAME= indent-${DISTVERSION}
MAINTAINER= moritz@schmi.tt
COMMENT= C source code reformatter
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= groff:run localbase:ldflags makeinfo
INFO= indent
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --htmldir=${DOCSDIR}
CPPFLAGS+= -DBERKELEY_DEFAULTS=1
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_DESC= Native Language Support via gettext utilities
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
.include <bsd.port.mk>