pkgsrc/devel/emacs-ilisp/Makefile

46 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2013/06/19 13:12:00 mef Exp $
#
DISTNAME= ilisp-20021222
PKGNAME= ${EMACS_PKGNAME_PREFIX}emacs-${DISTNAME}
PKGREVISION= 7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ilisp/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/ilisp/
COMMENT= Emacs interface to embedded Lisp process
#LICENSE= # ILISP License, see COPYING file.
MAKE_ENV+= EMACS=${EMACS_BIN:Q}
BUILD_TARGET= compile
2002-09-14 05:12:06 +02:00
SITELISP= ${EMACS_LISPPREFIX}/ilisp
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/'
do-install:
${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
${INSTALL_DATA} ${WRKSRC}/ilisp.emacs \
${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
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"