2000-08-30 09:33:04 +00: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 13:39:08 +00:00
|
|
|
PORTNAME= usersguide
|
2006-04-04 17:46:09 +00:00
|
|
|
PORTVERSION= 20051121
|
2006-08-05 13:22:36 +00:00
|
|
|
PORTREVISION= 1
|
2001-02-07 22:12:20 +00:00
|
|
|
CATEGORIES= lang ruby
|
2006-07-24 13:39:08 +00:00
|
|
|
MASTER_SITES= http://www.rubyist.net/~slagell/ruby/ \
|
|
|
|
http://mbsd.msk.ru/dist/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-uguide-${PORTVERSION}
|
2000-08-30 09:33:04 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2006-07-24 13:39:08 +00:00
|
|
|
MAINTAINER= ssedov@mbsd.msk.ru
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= Ruby users guide, in HTML format
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2000-09-26 09:58:59 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2001-02-07 22:12:20 +00:00
|
|
|
WRKSRC= ${WRKDIR}/rg
|
2000-08-30 09:33:04 +00:00
|
|
|
NO_BUILD= yes
|
2006-07-24 13:39:08 +00:00
|
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
2000-08-30 09:33:04 +00:00
|
|
|
|
|
|
|
do-install:
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/* ${RUBY_MODDOCDIR}
|
2006-08-05 13:22:36 +00: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 09:33:04 +00:00
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|