freebsd-ports/devel/gindent/Makefile

44 lines
991 B
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: indent
# Date created: 28 August 1997
# Whom: Kapil Chowksey <kchowksey@hss.hns.com>
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-11 23:30:15 +02:00
PORTNAME= gindent
PORTVERSION= 2.2.8a
PORTREVISION= 2
1999-10-01 03:50:35 +02:00
CATEGORIES= devel
MASTER_SITES= http://home.hccnet.nl/d.ingamells/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= indent
2000-04-11 23:30:15 +02:00
DISTNAME= indent-${PORTVERSION}
2002-06-08 19:33:41 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= GNU indent
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
2002-06-25 08:38:17 +02:00
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2002-06-25 08:38:17 +02:00
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --program-prefix=g
MAKE_ARGS= BERKELEY_DEFAULTS=1
MAN1= gindent.1
post-patch:
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g"
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR}
.endif
.include <bsd.port.mk>