pkgsrc/devel/uno/Makefile
xtraeme 975a58bf5f Update to 2.12:
Version 2.12 (11 Aug 07)

Handle 0LL, and empty initializer lists (courtesy Dany Vereertbrugghen, lucent).
The tool will still complain if a structure is passed to a function without
prior initialization.
Fix pending.

Version 2.11 (2 March 07)

Handle larger inputs.
Better behavior on self-test.
Removes problem with some preprocessors where uno could choke on an
unexpected format for linenumber directives. Thanks to rainer from samhain labs.

Version 2.9-2.10 (Feb 06)

Small fixes only.
In pedantic mode, uno will now treat pointers that are initialized to zero
as being uninitialized. This is annoying sometimes when you want to
initialize the pointer to turn off a report from uno, but it is a little
safer. Several patches courtesy of Jerry James.
2007-09-10 15:19:16 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2007/09/10 15:19:16 xtraeme Exp $
#
DISTNAME= uno_v212
PKGNAME= uno-2.12
#PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://spinroot.com/uno/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://spinroot.com/uno/
COMMENT= Tool for source code analysis
WRKSRC= ${WRKDIR}/uno/src
MAKE_FILE= makefile
USE_TOOLS+= bison
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
BUILDLINK_TRANSFORM+= rm:-m32
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_long.pdf ${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_man.pdf ${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_manpage.pdf ${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_short.pdf ${PREFIX}/share/doc/uno
${INSTALL_MAN} ${WRKDIR}/uno/doc/uno.1 ${PREFIX}/${PKGMANDIR}/man1
USE_TOOLS+= bison gmake flex
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= makefile
SUBST_SED.prefix= -e "s,/usr/bin,${PREFIX}/bin,g"
SUBST_MESSAGE.prefix= Fixing hardcoded paths.
.include "../../mk/bsd.pkg.mk"