blob: d9079b0240d754a9e0be300a2403d227741e9dd4 (
plain) (
blame)
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
|
# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD$
PORTNAME= emacs-wiki
PORTVERSION= 2.72
PORTREVISION= 7
CATEGORIES= textproc elisp
MASTER_SITES= http://www.mwolson.org/static/dist/emacs-wiki/ \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= dryice@FreeBSD.org
COMMENT= Create and use hyperlinks and simple formatting in plain text files
USES= makeinfo
USE_EMACS= yes
OPTIONS_DEFINE= CONTRIB
CONTRIB_DESC= Install extra packages. This can shadow versions already there.
OPTIONS_SUB= yes
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/xml-parse.el:${PORTSDIR}/textproc/xml-parse.el
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/htmlize.el:${PORTSDIR}/textproc/htmlize.el
INFO= emacs-wiki
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC}; makeinfo --no-split emacs-wiki.texi
do-install:
${MKDIR} ${STAGEDIR}${LISPDIR}
.for i in *.el
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${LISPDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/emacs-wiki.info ${STAGEDIR}${PREFIX}/info
.if ${PORT_OPTIONS:MCONTRIB}
${MKDIR} ${STAGEDIR}${LISPDIR}/contrib
.for i in *.el
${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${LISPDIR}/contrib
.endfor
.endif
.include <bsd.port.mk>
|