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-09-16 08:22:47 +00:00
|
|
|
VERSION?= 20000915
|
2000-08-30 09:33:04 +00:00
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
PLIST_SUB= LANGSUFFIX="${LANGSUFFIX}"
|
2000-08-30 09:33:04 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${SHORTNAME}
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
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-07 14:39:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
|
|
|
|
.include <bsd.port.post.mk>
|