pkgsrc/lang/eieio/Makefile
jlam 9e69d02625 Replace INFO_DIR with EMACS_INFOPREFIX, which is the correct location for
info files for both emacs and xemacs.  Install the info files correctly
by handling the case where there may be split info files.  List the info
files in the PLIST.  Use EMACS_MODULES where appropriate to replace the
conditional dependency on xemacs-packages.  Bump the PKGREVISION.
2006-03-20 05:34:27 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2006/03/20 05:34:27 jlam Exp $
#
DISTNAME= eieio-0.17
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 2
CATEGORIES= lang editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cedet/}
MAINTAINER= cjones@NetBSD.org
HOMEPAGE= http://cedet.sourceforge.net/eieio.shtml
COMMENT= Enhanced Integration of Emacs Interpreted Objects
EMACS_MODULES+= base
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
NO_CONFIGURE= yes
USE_TOOLS+= gmake
INFO_FILES= # PLIST
# XXX $cd ${WRKSRC}; ${MAKE} -V eieio_LISP
SRCS= eieio.el eieio-comp.el eieio-opt.el eieio-custom.el eieio-doc.el \
eieio-base.el
# XXX $cd ${WRKSRC}; ${MAKE} -V examples_LISP
SRCS+= tree.el call-tree.el chart.el eieio-speedbar.el linemark.el
INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
do-install:
${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/eieio
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${EMACS_LISPPREFIX}/eieio
cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
done
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"