2013-06-19 15:12:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2013/06/19 13:12:00 mef Exp $
|
2001-11-15 21:33:04 +01:00
|
|
|
#
|
|
|
|
|
2003-01-11 11:27:49 +01:00
|
|
|
DISTNAME= ilisp-20021222
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}emacs-${DISTNAME}
|
2013-02-17 20:17:55 +01:00
|
|
|
PKGREVISION= 7
|
2001-11-15 21:33:04 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ilisp/}
|
|
|
|
|
2008-05-25 15:16:10 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-11-15 21:33:04 +01:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/ilisp/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Emacs interface to embedded Lisp process
|
2013-06-19 15:12:00 +02:00
|
|
|
#LICENSE= # ILISP License, see COPYING file.
|
2001-11-15 21:33:04 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= EMACS=${EMACS_BIN:Q}
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= compile
|
2001-11-15 21:33:04 +01:00
|
|
|
|
2002-09-14 05:12:06 +02:00
|
|
|
SITELISP= ${EMACS_LISPPREFIX}/ilisp
|
2001-11-15 21:33:04 +01:00
|
|
|
|
2013-06-19 15:12:00 +02:00
|
|
|
SUBST_CLASSES+= string-to-int
|
|
|
|
SUBST_STAGE.string-to-int= post-patch
|
|
|
|
SUBST_MESSAGE.string-to-int= obsolete function (as of 22.1); use `string-to-number' instead
|
|
|
|
SUBST_FILES.string-to-int+= ilisp-acl.el
|
|
|
|
SUBST_SED.string-to-int= -e 's/string-to-int/string-to-number/'
|
|
|
|
|
2001-11-15 21:33:04 +01:00
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALLATION \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/emacs-ilisp
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/emacs-ilisp
|
2001-11-15 21:33:04 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ilisp.emacs \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/emacs-ilisp
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SITELISP}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${DESTDIR}${SITELISP}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${SITELISP}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.lisp ${DESTDIR}${SITELISP}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.scm ${DESTDIR}${SITELISP}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SITELISP}/extra
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/extra/*.el ${DESTDIR}${SITELISP}/extra
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/extra/*.elc ${DESTDIR}${SITELISP}/extra
|
2001-11-15 21:33:04 +01:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2001-11-15 21:33:04 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|