blob: 38d3b178484181effde2fe9bf0c6e0e5219be912 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
PORTNAME= yatex
PORTVERSION= 1.82
PORTREVISION= 4
CATEGORIES?= print elisp
MASTER_SITES= http://www.yatex.org/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Yet Another LaTeX mode and html mode on Emacs
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKDIR}/LICENSE
USES= dos2unix emacs
EMACS_NO_DEPENDS= yes
NO_BUILD= yes
SUB_FILES= pkg-message yatex-startup.el
SUB_LIST= EMACS_SITE_LISPDIR="${EMACS_SITE_LISPDIR}"
OPTIONS_DEFINE= DOCS
PORTDOCS= 00readme readme.meadow.j yatex.new yatexj.tex yatex.ref \
yahtmlj.tex htmlqa yatexadd.doc yatexgen.doc qanda \
yatexe.tex htmlqa.eng yahtmle.tex yatexref.eng qanda.eng
INFO= yahtmle yahtmlj yatexe yatexj
ELFILES=yahtml.el yatex.el yatex19.el yatex23.el yatexadd.el \
yatexenv.el yatexflt.el yatexgen.el yatexhie.el yatexhks.el \
yatexhlp.el yatexlib.el yatexm-o.el yatexmth.el yatexpkg.el \
yatexprc.el yatexsec.el
post-extract:
${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC}
${SED} -n "/(c)1991/,/^;;; Code:$$/p" \
< ${WRKSRC}/yatex.el > ${WRKDIR}/LICENSE
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex
cd ${WRKSRC} && ${INSTALL_DATA} \
${ELFILES} \
${WRKDIR}/yatex-startup.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help
cd ${WRKSRC}/help && ${INSTALL_DATA} \
YATEXHLP.jp YATEXHLP.eng \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help
for F in ${INFO}; do \
${INSTALL_DATA} ${WRKSRC}/docs/$$F \
${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \
done
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|