blob: 0d746f8ca688157d25cf540063bcda6ca24e6507 (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2008/10/20 07:52:26 wiz Exp $
#
DISTNAME= ncc-2.8
CATEGORIES= devel
MASTER_SITES= http://students.ceid.upatras.gr/~sxanth/ncc/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://students.ceid.upatras.gr/~sxanth/ncc/index.html
COMMENT= Compiler that produces program analysis information
BUILD_TARGET= tout
CFLAGS+= -DNOGNU='"${PREFIX}/share/ncc/nognu"'
USE_LANGUAGES= c c++
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Fixing hardcoded paths
SUBST_FILES.prefix= config.h
SUBST_SED.prefix= -e 's,@PREFIX@,${PREFIX},g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objdir/ncc ${PREFIX}/bin
${LN} -s ncc ${PREFIX}/bin/nccar
${LN} -s ncc ${PREFIX}/bin/nccc++
${LN} -s ncc ${PREFIX}/bin/nccld
${INSTALL_PROGRAM} ${WRKSRC}/nccnav/nccnav ${PREFIX}/bin
${LN} -s nccnav ${PREFIX}/bin/nccnavi
${INSTALL_DATA_DIR} ${PREFIX}/share/ncc
${INSTALL_DATA} ${WRKSRC}/doc/nognu ${PREFIX}/share/ncc
${INSTALL_MAN} ${WRKSRC}/ncc.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ncc
${INSTALL_DATA} ${WRKSRC}/doc/KEYS.txt ${PREFIX}/share/doc/ncc
${INSTALL_DATA} ${WRKSRC}/doc/TROUBLES ${PREFIX}/share/doc/ncc
${INSTALL_DATA} ${WRKSRC}/doc/hacking.* ${PREFIX}/share/doc/ncc
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ncc
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|