pkgsrc/devel/elib/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

42 lines
1,018 B
Makefile

# $NetBSD: Makefile,v 1.3 2002/02/18 15:14:09 seb Exp $
#
DISTNAME= elib-1.0
CATEGORIES= devel
MASTER_SITES= http://jde.sunsite.dk/
MAINTAINER= cjones@netbsd.org
COMMENT= Library of utility functions for Emacs
.include "../../mk/bsd.prefs.mk"
.if defined(USE_XEMACS)
DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
EMACS= xemacs
LISPDIR= lib/xemacs/xemacs-packages/lisp/elib
.else
DEPENDS+= emacs-[0-9]*:../../editors/emacs
EMACS= emacs
LISPDIR= share/emacs/site-lisp/elib
.endif
BUILD_ENV+= EMACS=${EMACS}
PLIST_SUBST+= LISPDIR=${LISPDIR}
NO_CONFIGURE= # set
USE_GMAKE= # set
INFO_FILES= elib.info
SRCS= stack-f.el stack-m.el queue-f.el queue-m.el elib-node.el \
bintree.el avltree.el string.el read.el cookie.el dll.el \
dll-debug.el
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${PREFIX}/${LISPDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"