6b1e4aa709
- Convert to new options framework
32 lines
884 B
Makefile
32 lines
884 B
Makefile
# 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>
|