openbsd-ports/devel/gindent/Makefile
sthen ce5be91c38 Add missing build dep on texi2html, pointed out by nigel@.
Also add @comment'ed lines for lib/charset.alias and share/locale/locale.alias,
no problem at present but will save hassle if someone blindly update-plist's
later.
2012-09-12 12:59:05 +00:00

37 lines
795 B
Makefile

# $OpenBSD: Makefile,v 1.31 2012/09/12 12:59:05 sthen Exp $
COMMENT= GNU utility to indent C source files
DISTNAME= indent-2.2.10
PKGNAME= g${DISTNAME}
REVISION= 0
CATEGORIES= devel
HOMEPAGE= http://www.gnu.org/software/indent/
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c
MASTER_SITES= ${MASTER_SITE_GNU:=indent/}
MODULES= devel/gettext
NO_REGRESS= Yes
BUILD_DEPENDS= textproc/texi2html
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g" \
--without-included-gettext
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
MAKE_ARGS= BERKELEY_DEFAULTS=1
FAKE_FLAGS+= docdir=${PREFIX}/share/doc/gindent/
.include <bsd.port.mk>