2000-08-30 11:33:04 +02:00
|
|
|
# New ports collection makefile for: ruby-usersguide
|
|
|
|
# Date created: 30 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-07-24 15:39:08 +02:00
|
|
|
PORTNAME= usersguide
|
2006-04-04 19:46:09 +02:00
|
|
|
PORTVERSION= 20051121
|
2006-08-05 15:22:36 +02:00
|
|
|
PORTREVISION= 1
|
2001-02-07 23:12:20 +01:00
|
|
|
CATEGORIES= lang ruby
|
2006-07-24 15:39:08 +02:00
|
|
|
MASTER_SITES= http://www.rubyist.net/~slagell/ruby/ \
|
|
|
|
http://mbsd.msk.ru/dist/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-uguide-${PORTVERSION}
|
2000-08-30 11:33:04 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2007-03-28 00:12:03 +02:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= Ruby users guide, in HTML format
|
2000-08-30 11:33:04 +02:00
|
|
|
|
2000-09-26 11:58:59 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
2000-08-30 11:33:04 +02:00
|
|
|
|
2001-02-07 23:12:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/rg
|
2000-08-30 11:33:04 +02:00
|
|
|
NO_BUILD= yes
|
2006-07-24 15:39:08 +02:00
|
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
2000-08-30 11:33:04 +02:00
|
|
|
|
|
|
|
do-install:
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/* ${RUBY_MODDOCDIR}
|
2006-08-05 15:22:36 +02:00
|
|
|
@${FIND} -d ${RUBY_MODDOCDIR}/ -type f | \
|
|
|
|
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} -d ${RUBY_MODDOCDIR}/ -type d | \
|
|
|
|
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} "@unexec rmdir ${RUBY_DOCDIR} 2>/dev/null || true" \
|
|
|
|
>> ${TMPPLIST}
|
2000-08-30 11:33:04 +02:00
|
|
|
|
2000-09-26 10:02:17 +02:00
|
|
|
.include <bsd.port.mk>
|