1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/gindent/Makefile
Tijl Coosemans f83c7639aa Remove libintl.so.9 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:52:19 +00:00

37 lines
765 B
Makefile

# Created by: Kapil Chowksey <kchowksey@hss.hns.com>
# $FreeBSD$
PORTNAME= gindent
PORTVERSION= 2.2.10
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= GNU/indent
DISTNAME= indent-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= GNU indent
OPTIONS_DEFINE= DOCS NLS
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DBERKELEY_DEFAULTS=1
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --program-prefix=g
MAKE_JOBS_UNSAFE= yes
NLS_USES= gettext
OPTIONS_SUB= yes
NLS_CONFIGURE_OFF= --disable-nls
INFO= indent
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>