pkgsrc/devel/elib/Makefile
jlam 6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00

36 lines
856 B
Makefile

# $NetBSD: Makefile,v 1.16 2006/03/05 16:27:24 jlam Exp $
#
DISTNAME= elib-1.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://jde.sunsite.dk/
MAINTAINER= cjones@NetBSD.org
COMMENT= Library of utility functions for Emacs
CONFLICTS+= emacs20-elib-[0-9]*
.include "../../mk/emacs.mk"
BUILD_ENV+= EMACS=${EMACS_FLAVOR}
MAKEFLAGS+= EMACS=${EMACS_FLAVOR:Q}
NO_CONFIGURE= yes
USE_TOOLS+= gmake makeinfo
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} ${EMACS_LISPPREFIX}/elib
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${EMACS_LISPPREFIX}/elib
cd ${WRKSRC} && ${INSTALL_DATA} elib.info* ${PREFIX}/info
.include "../../mk/bsd.pkg.mk"