aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xslide.el/Makefile
blob: d7d73ed6a78ff39eb78272089c0bc3a45e685378 (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
# Created by: Leo Kim <leo@florida.sarang.net>
# $FreeBSD$

PORTNAME=   xslide.el
PORTVERSION=    0.2.2
PORTREVISION=   1
CATEGORIES= textproc elisp
MASTER_SITES=   SF/xslide/xslide/${PORTVERSION}
DISTNAME=   xslide-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emacs major mode for editing XSL stylesheets

NO_BUILD=   yes
PORTDOCS=   README.TXT TODO NEWS ChangeLog

ELISPDIR=   ${PREFIX}/share/emacs/site-lisp
XELISPDIR=  ${PREFIX}/lib/xemacs/site-lisp

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${ELISPDIR} ${STAGEDIR}${XELISPDIR}
.for f in xslide.el xslide-abbrev.el xslide-data.el xslide-font.el \
xslide-initial.xsl xslide-process.el
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ELISPDIR}
    ${LN} -sf ${ELISPDIR}/${f} ${STAGEDIR}${XELISPDIR}
.endfor
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>