pkgsrc/devel/uno/Makefile
rillig 04e0aca8ef Updated uno to 2.13.
Changes since 2.12:

Handles larger data arrays, and deals better with some quirks in lexer.l
when compiled on a linux platform.
2009-03-03 09:03:59 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2009/03/03 09:03:59 rillig Exp $
#
DISTNAME= uno_v213
PKGNAME= uno-2.13
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
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= bison gmake flex
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
BUILDLINK_TRANSFORM+= rm:-m32
.endif
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.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/uno
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uno ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_long.pdf ${DESTDIR}${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_man.pdf ${DESTDIR}${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_manpage.pdf ${DESTDIR}${PREFIX}/share/doc/uno
${INSTALL_DATA} ${WRKDIR}/uno/doc/uno_short.pdf ${DESTDIR}${PREFIX}/share/doc/uno
${INSTALL_MAN} ${WRKDIR}/uno/doc/uno.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"