aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-usersguide/Makefile
blob: afa38ec165212bbf7296c1a8ba918482249cd761 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
MASTER_SITES?=  http://www.cs.iastate.edu/~slagell/ruby/
DISTNAME?=  ${SHORTNAME}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

SHORTNAME=  ${PORTNAME:S/usersguide/uguide/}
VERSION?=   20000904

PLIST_SUB=  LANGSUFFIX="${LANGSUFFIX}"

WRKSRC=     ${WRKDIR}/${SHORTNAME}

NO_BUILD=   yes

DOCDIR=     ${RUBY_DOCDIR}/${PORTNAME}${LANGSUFFIX}

post-extract:
    if [ -f ${WRKSRC}/ansi.com ]; then ${RM} ${WRKSRC}/ansi.com; fi

do-install:
    ${MKDIR} ${DOCDIR}
    ${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
    ${LN} -fs uguide00.html ${DOCDIR}/index.html

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>