blob: 85e012488ff31e5b2bb045e2adbe9c4815563c55 (
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
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 15:18:22 obache Exp $
#
DISTNAME= ${EMACSWIKI}-${EMACSWIKIVERSION}
PKGNAME= emacs-wiki-${EMACSWIKIVERSION}
CATEGORIES= misc
MASTER_SITES= http://www.mwolson.org/static/dist/emacs-wiki/
#EXTRACT_SUFX= .gz
MAINTAINER= MarkoSchuetz@web.de
HOMEPAGE= http://repose.cx/emacs/wiki/
COMMENT= Wiki major mode for emacs, which aims for implicit and natural markup
EMACSWIKI= emacs-wiki
EMACSWIKIVERSION= 2.70
DEPENDS= semi>=1.14.6:../../devel/semi
#WRKSRC= ${WRKDIR}/${EMACSWIKI}
.include "../../mk/emacs.mk"
LISPDIR=${EMACS_LISPPREFIX}/emacs-wiki
SRCS= emacs-wiki-colors.el emacs-wiki-httpd.el emacs-wiki-id.el emacs-wiki-macros.el emacs-wiki-mathml.el
SRCS+= emacs-wiki-menu.el emacs-wiki-pgg.el emacs-wiki-project.el emacs-wiki-publish.el emacs-wiki-regexps.el
SRCS+= emacs-wiki-srctag.el emacs-wiki-table.el emacs-wiki-transition.el emacs-wiki.el
SRCS+= contrib/cgi.el contrib/htmlize.el contrib/httpd.el contrib/table.el contrib/update-remote.el
do-build:
cd ${WRKSRC} ; \
for i in ${SRCS}; do \
${EMACS_BIN} --no-init-file --eval="(add-to-list 'load-path \"${WRKSRC}\")"\
--eval="(add-to-list 'load-path \"${WRKSRC}/contrib\")"\
-batch -q -f batch-byte-compile $$i; \
done
do-install:
${MKDIR} ${LISPDIR}
${MKDIR} ${LISPDIR}/contrib
.for i in ${SRCS:Mcontrib/*}
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}/contrib
${INSTALL_DATA} ${WRKSRC}/${i:R}.elc ${LISPDIR}/contrib
.endfor
.for i in ${SRCS:Ncontrib/*}
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/${i:R}.elc ${LISPDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|