mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rd-mode.el
|
|
PORTVERSION= 0.6.38
|
|
CATEGORIES= textproc ruby elisp
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= ruby- # not ${RUBY_PKGNAMEPREFIX} since this is not version specific
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= An Emacs lisp module for editing RD files
|
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/textproc/ruby-rdtool:patch
|
|
|
|
USE_RUBY= yes
|
|
|
|
WRKSRC= ${WRKDIR}/utils
|
|
NO_BUILD= yes
|
|
|
|
ELISP_FILES= rd-mode.el
|
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKDIR}
|
|
${LN} -sf `cd ${.CURDIR}/../ruby-rdtool; ${MAKE} -V WRKSRC`/utils ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${RUBY_ELISPDIR}/
|
|
@${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}/
|
|
@${MKDIR} ${STAGEDIR}${EMACSLISPDIR}/
|
|
.for f in ${ELISP_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_ELISPDIR}/
|
|
${LN} -sf ${RUBY_ELISPDIR}/${f} ${STAGEDIR}${EMACSLISPDIR}/
|
|
${LN} -sf ${RUBY_ELISPDIR}/${f} ${STAGEDIR}${XEMACSLISPDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|