pkgsrc/devel/libg++/Makefile
seb 66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00

37 lines
935 B
Makefile

# $NetBSD: Makefile,v 1.20 2002/02/18 15:14:13 seb Exp $
#
DISTNAME= libg++-${GXXVERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=libg++/}
MAINTAINER= tv@netbsd.org
COMMENT= GNU C++ Class Library
.if !exists(/usr/lib/libstdc++.so.2.0)
IGNORE= '${PKGNAME} is designed for NetBSD>=1.4. NetBSD 1.3(.x) comes with this in-tree'
.endif
# used by internal Makefile
GXXVERSION= 2.8.1.1a
MAKE_ENV+= GXXVERSION="${GXXVERSION}" NOPROFILE=1 NOGCCERROR=1
PLIST_SRC= ${WRKSRC}/.PLIST
INFO_FILES= libg++.info
do-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/g++/gen
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/genclass ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/libg++.info ${PREFIX}/info/
@(${CAT} ${PKGDIR}/PLIST.pre; cd ${PREFIX}; \
/bin/ls 2>/dev/null -1d lib/libg++*.a lib/libg++.so*) \
>${PLIST_SRC}
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"