2000-12-19 20:13:50 +01:00
|
|
|
# ex:ts=8
|
1997-08-29 11:20:02 +02:00
|
|
|
# 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$
|
1997-08-29 11:20:02 +02:00
|
|
|
#
|
1999-06-28 21:12:19 +02:00
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= gindent
|
2002-07-15 05:30:19 +02:00
|
|
|
PORTVERSION= 2.2.8a
|
2003-08-26 22:25:58 +02:00
|
|
|
PORTREVISION= 2
|
1999-10-01 03:50:35 +02:00
|
|
|
CATEGORIES= devel
|
2002-07-15 05:30:19 +02:00
|
|
|
MASTER_SITES= http://home.hccnet.nl/d.ingamells/ \
|
|
|
|
${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= indent
|
2000-04-11 23:30:15 +02:00
|
|
|
DISTNAME= indent-${PORTVERSION}
|
1997-08-29 11:20:02 +02:00
|
|
|
|
2002-06-08 19:33:41 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= GNU indent
|
1997-08-29 11:20:02 +02:00
|
|
|
|
2003-08-25 07:41:38 +02:00
|
|
|
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
|
2002-06-25 08:38:17 +02:00
|
|
|
|
2002-07-13 18:54:13 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-11-21 17:00:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-09-18 14:32:37 +02:00
|
|
|
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"
|
2002-09-18 14:32:37 +02:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g
|
2000-12-19 20:13:50 +01:00
|
|
|
MAKE_ARGS= BERKELEY_DEFAULTS=1
|
1999-07-16 06:45:50 +02:00
|
|
|
|
2000-11-21 17:00:03 +01:00
|
|
|
MAN1= gindent.1
|
1997-08-29 11:20:02 +02:00
|
|
|
|
2002-07-13 18:54:13 +02:00
|
|
|
post-patch:
|
|
|
|
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g"
|
|
|
|
|
2002-09-18 16:19:12 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-09-18 14:32:37 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
1997-08-29 11:20:02 +02:00
|
|
|
.include <bsd.port.mk>
|