pkgsrc/lang/gforth/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

32 lines
990 B
Makefile

# $NetBSD: Makefile,v 1.10 2002/02/18 15:14:25 seb Exp $
DISTNAME= gforth-0.5.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gforth/}
MAINTAINER= simonb@netbsd.org
HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
COMMENT= Fast interpreter for the Forth language
ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-m68k
GNU_CONFIGURE= YES
# Make sure elisp will be installed even if no emacs installed.
CONFIGURE_ENV+= EMACS=${PREFIX}/bin/emacs
INFO_FILES= gforth.info
PLIST_SRC= ${WRKDIR}/PLIST
# kernel image filename is arch dependent
KERNEL_FI= `cd ${WRKSRC} && (${ECHO} 'prkern:'; ${ECHO} ' @${ECHO} $$(kernel_fi)'; ${ECHO}; ${CAT} Makefile) | ${MAKE} -f - prkern`
post-build:
@${ECHO}; ${ECHO} building PLIST...
@k=${KERNEL_FI} && ${ECHO} "using kernel image: $$k" && \
${SED} -e "s/@KERNEL_FI@/$$k/g" <${PKGDIR}/PLIST >${PLIST_SRC}
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"