pkgsrc/lang/cparser/Makefile
joerg c96e2c0a32 Update to cparser-0.9.7:
* lots of bugfixes
* add/correct semantic checks
* more/improved warnings
* internal cleanups (introduce entity_t types)
* support more GCC extensions
* improved error recovery
* support more switches for GCC compatibility
* support for libc builtins
* add a manpage
2008-12-17 16:59:19 +00:00

39 lines
904 B
Makefile

# $NetBSD: Makefile,v 1.3 2008/12/17 16:59:19 joerg Exp $
#
DISTNAME= cparser-0.9.7
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cparser/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cparser.sourceforge.net/
COMMENT= Recursive descent C99 parser
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
COPTS?= -O2
#DBG?= -g3 # XXX debugging option (install without strip)
MAKE_ENV+= LIBTOOL_CFLAGS=-prefer-pic
MAKE_ENV+= COPTS=${COPTS:Q}
BUILDLINK_TRANSFORM+= rm:-Werror
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${LIBTOOL} --mode=install \
${INSTALL_PROGRAM} ${WRKSRC}/build/cparser \
${DESTDIR}${PREFIX}/bin/cparser
${INSTALL_MAN} ${WRKSRC}/cparser.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/libfirm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"