mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
27 lines
541 B
Makefile
27 lines
541 B
Makefile
PORTNAME= gindent
|
|
DISTVERSION= 2.2.12
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU/indent
|
|
DISTNAME= indent-${DISTVERSION}
|
|
|
|
MAINTAINER= moritz@schmi.tt
|
|
COMMENT= C source code reformatter
|
|
|
|
USES= gmake groff:run localbase:ldflags makeinfo
|
|
|
|
INFO= indent
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-prefix=g --htmldir=${DOCSDIR}
|
|
|
|
CPPFLAGS+= -DBERKELEY_DEFAULTS=1
|
|
|
|
|
|
post-patch:
|
|
${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|malloc\.h|stdlib.h|g'
|
|
|
|
${REINPLACE_CMD} -e 's,-Werror,,g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|