blob: ec52bb0eb6ffa8ca462182bb13fd46098c218811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:51 rillig Exp $
#
DISTNAME= uno_v28
PKGNAME= uno-2.8
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"
|