# $NetBSD: Makefile,v 1.6 1998/05/09 00:14:29 hubertf Exp $ # BROKEN= "Designed for NetBSD 1.4 - 1.3(.x) comes with this in-tree" GXXVERSION= 2.8.1.1a # used by internal Makefile DISTNAME= libg++-${GXXVERSION} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MAINTAINER= tv@netbsd.org LIB_DEPENDS= stdc++.1.: # only from NetBSD's source tree MAKE_ENV+= GXXVERSION="${GXXVERSION}" PLIST_SRC= ${WRKSRC}/.PLIST MAN1= gperf.1 INFO_FILES= gperf.info libg++.info do-configure: @${CP} ${FILESDIR}/Makefile ${WRKSRC} pre-install: ${MKDIR} ${PREFIX}/include/g++/gen post-install: ${INSTALL_SCRIPT} ${WRKSRC}/genclass ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/gperf ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/gperf.info ${WRKSRC}/libg++.info ${PREFIX}/info/ ${INSTALL_DATA} ${WRKSRC}/libg++/gperf/gperf.1 ${PREFIX}/man/man1/ @(${CAT} ${PKGDIR}/PLIST.pre; cd ${PREFIX}; \ /bin/ls 2>/dev/null -1d lib/libg++*.a lib/libg++.so*) \ >${PLIST_SRC} .include "../../mk/bsd.pkg.mk"