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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ruby-usersguide
|
|
|
|
PORTVERSION= ${VERSION}
|
|
|
|
CATEGORIES+= lang ruby
|
2000-09-04 08:53:48 +00:00
|
|
|
MASTER_SITES?= http://www.cs.iastate.edu/~slagell/ruby/
|
2000-09-11 02:40:21 +00:00
|
|
|
DISTNAME?= ${SHORTNAME}-${VERSION}
|
2000-08-30 09:33:04 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
|
|
|
SHORTNAME= ${PORTNAME:S/usersguide/uguide/}
|
2000-10-14 19:13:33 +00:00
|
|
|
VERSION?= 20001008
|
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
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${SHORTNAME}
|
|
|
|
NO_BUILD= yes
|
2000-09-26 09:58:59 +00:00
|
|
|
PLIST_SUB= LANGSUFFIX="${LANGSUFFIX}"
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
DOCDIR= ${RUBY_DOCDIR}/${PORTNAME}${LANGSUFFIX}
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2000-09-04 08:53:48 +00:00
|
|
|
post-extract:
|
|
|
|
if [ -f ${WRKSRC}/ansi.com ]; then ${RM} ${WRKSRC}/ansi.com; fi
|
|
|
|
|
2000-08-30 09:33:04 +00:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DOCDIR}
|
2000-09-04 08:53:48 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
|
|
|
|
${LN} -fs uguide00.html ${DOCDIR}/index.html
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|