2001-05-06 00:38:22 +02:00
|
|
|
# New ports collection makefile for: ruby-mode.el
|
|
|
|
# Date created: 6 May 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ruby-mode.el
|
|
|
|
PORTVERSION= ${RUBY_PORTVERSION}
|
|
|
|
CATEGORIES= lang ruby elisp
|
|
|
|
MASTER_SITES= # none
|
|
|
|
DISTFILES= # none
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= Emacs lisp modules for the Ruby language
|
2001-05-06 00:38:22 +02:00
|
|
|
|
2003-11-13 21:10:51 +01:00
|
|
|
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
|
2001-05-06 00:38:22 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2003-08-23 15:54:01 +02:00
|
|
|
RUBY_VER= 1.8
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
2001-05-06 00:38:22 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/elisp
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
ELISP_FILES= inf-ruby.el ruby-mode.el rubydb3x.el
|
|
|
|
|
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
2002-03-30 13:12:53 +01:00
|
|
|
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKSRC`/misc ${WRKSRC}
|
2001-05-06 00:38:22 +02:00
|
|
|
|
|
|
|
do-install:
|
2001-05-11 21:44:54 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/* ${RUBY_ELISPDIR}/
|
2001-06-16 10:46:37 +02:00
|
|
|
${MKDIR} ${XEMACSLISPDIR}
|
2001-05-06 00:38:22 +02:00
|
|
|
.for f in ${ELISP_FILES}
|
2001-05-11 21:44:54 +02:00
|
|
|
${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/
|
|
|
|
${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/
|
2001-05-06 00:38:22 +02:00
|
|
|
.endfor
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|