f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2001/09/27 23:18:16 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= eieio-0.16
|
|
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
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(USE_XEMACS)
|
|
DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
|
|
EMACS= xemacs
|
|
LISPDIR= lib/xemacs/xemacs-packages/lisp/eieio
|
|
.else
|
|
DEPENDS+= emacs-[0-9]*:../../editors/emacs
|
|
EMACS= emacs
|
|
LISPDIR= share/emacs/site-lisp/eieio
|
|
.endif
|
|
|
|
BUILD_ENV+= EMACS=${EMACS}
|
|
PLIST_SUBST+= LISPDIR=${LISPDIR}
|
|
|
|
NO_CONFIGURE= # set
|
|
USE_GMAKE= # set
|
|
|
|
INFO_FILES= eieio.info
|
|
|
|
SRCS= eieio.el eieio-comp.el eieio-opt.el eieio-custom.el \
|
|
eieio-doc.el eieio-base.el compare-strings.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/bsd.pkg.mk"
|