blob: e59eafc42c7bc3c2d819ecc7b23fff96a2c7c03e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.3 2005/04/11 21:47:43 tv Exp $
#
DISTNAME= xslide-0.2.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xslide/}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://xslide.sourceforge.net/
COMMENT= XSL major mode for emacs
.include "../../mk/emacs.mk"
.if ${EMACS_FLAVOR} == "emacs"
EMACS= emacs
.else
EMACS= xemacs
.endif
SRCS= xslide-abbrev.el xslide-data.el xslide-font.el xslide-process.el xslide.el
do-build:
cd ${WRKSRC} && \
for f in ${SRCS}; do \
${EMACS} --no-init-file --no-site-file -batch \
-l font-lock -l sendmail \
-l xslide-data.el -l xslide-abbrev.el -l xslide-font.el \
-l xslide-process.el -l xslide.el \
-f batch-byte-compile $$f; \
done
do-install:
${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/${PKGBASE}
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${EMACS_LISPPREFIX}/${PKGBASE}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xslide
${INSTALL_DATA} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/xslide
${INSTALL_DATA} ${WRKSRC}/dot_emacs ${PREFIX}/share/doc/xslide
.include "../../mk/bsd.pkg.mk"
|