head	1.11;
access;
symbols
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.8
	RELEASE_5_1_0:1.8
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.2;
locks; strict;
comment	@# @;


1.11
date	2005.02.18.23.44.40;	author kris;	state dead;
branches;
next	1.10;

1.10
date	2004.12.18.23.02.28;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2004.09.26.02.56.05;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.18.05.28.15;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2002.11.24.07.34.55;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.06.21.29.41;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.03.30.12.12.51;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.16.08.46.35;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.09.02.37.04;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.06.18.09.38;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.05.14.11.09;	author knu;	state Exp;
branches;
next	;


desc
@@


1.11
log
@As previously announced, remove ports that have reached their expiry date,
and the handful of ports that depended on them.
@
text
@# New ports collection makefile for:	ri
# Date created:			5 April 2001
# Whom:				Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: ports/lang/ruby-ri/Makefile,v 1.10 2004/12/18 23:02:28 kris Exp $
#

PORTNAME=	ri
PORTVERSION=	0.8a
CATEGORIES=	lang ruby
MASTER_SITES=	ftp://www.pragmaticprogrammer.com/ruby/downloads/files/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	ruby

MAINTAINER=	knu@@FreeBSD.org
COMMENT=	Ruby Interactive reference

BROKEN=		Does not build
EXPIRATION_DATE=2005-02-18
DEPRECATED=	${BROKEN}

USE_RUBY=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

ELISP_FILES=	ri.el

DOCS=		COPYING ChangeLog README
EMACS_DOCS=	Changelog DESCRIPTION

EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp

post-patch:
	${RUBY} -i -pe 'gsub %r|/usr/local|, "${PREFIX}"' \
		${WRKSRC}/contrib/dblack/emacs/ri.el

do-install:
	cd ${WRKSRC}; ${RUBY} install.rb
	${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/Emacs.rb ${RUBY_SITELIBDIR}/${PORTNAME}/op/
	${MKDIR} ${XEMACSLISPDIR}
.for f in ${ELISP_FILES}
	${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/${f} ${RUBY_ELISPDIR}/
	${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/
	${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}/emacs
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${EMACS_DOCS}
	${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/${f} ${RUBY_MODDOCDIR}/emacs/
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.10
log
@This port is scheduled to be removed on 2005-02-18 if it is still
broken at that time, and a fix has not been submitted to GNATS.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@BROKEN: Does not build

Approved by:    portmgr (self)
@
text
@d20 2
@


1.8
log
@De-pkg-comment.
@
text
@d19 2
@


1.7
log
@Update to 0.8a.
@
text
@d17 1
@


1.6
log
@Use RUBY_MOD*.
@
text
@d9 1
a9 2
PORTVERSION=	0.7a
PORTREVISION=	2
@


1.5
log
@cd dir && command -> cd dir; command
@
text
@d46 1
a46 1
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/emacs
d48 1
a48 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
d51 1
a51 1
	${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/${f} ${RUBY_DOCDIR}/${PORTNAME}/emacs/
@


1.4
log
@Put dummy files in the empty directories so they are surely packed.

Let each elisp port create XEMACSLISPDIR by itself.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-ri/Makefile,v 1.3 2001/06/09 02:37:04 knu Exp $
d37 1
a37 1
	cd ${WRKSRC} && ${RUBY} install.rb
@


1.3
log
@Use RUBY_ELISPDIR and leave XEMACSLISTDIR to lang/ruby{,-devel}.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-ri/Makefile,v 1.2 2001/04/06 18:09:38 knu Exp $
d39 1
@


1.2
log
@Modify ri.el and define an access key `Q' that does kill-buffer &
delete-window at once for convenience.  The patch is already submitted
to the author.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby-ri/Makefile,v 1.1 2001/04/05 14:11:09 knu Exp $
d10 1
a10 1
PORTREVISION=	1
d24 2
d39 5
a43 2
	${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/ri.el ${EMACSLISPDIR}/
	${INSTALL_DATA} ${EMACSLISPDIR}/ri.el ${XEMACSLISPDIR}/
@


1.1
log
@Add ruby-ri, Ruby Interactive reference with command line and Emacs
interfaces.
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
d31 1
a31 1
	${RUBY} -i -pe 'gsub /!!PREFIX!!/, "${PREFIX}"' \
@

