diff options
Diffstat (limited to 'devel/ncc/Makefile')
-rw-r--r-- | devel/ncc/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/ncc/Makefile b/devel/ncc/Makefile new file mode 100644 index 00000000000..0d746f8ca68 --- /dev/null +++ b/devel/ncc/Makefile @@ -0,0 +1,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" |