aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-man/Makefile
blob: 9c658ea76dc775de259cf22acc47994381de8f51 (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
# New ports collection makefile for:    ruby-man
# Date created:         Sat Aug 17 17:10:02 CEST 2000
# Whom:             olgeni@uli.it
#
# $FreeBSD$
#

PORTNAME=   ruby-man
PORTVERSION=    1.4.6
CATEGORIES+=    lang ruby
MASTER_SITES=   ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= doc
DISTNAME=   ${PORTNAME}-${PORTVERSION}${LANGSUFFIX}
DIST_SUBDIR=    ruby

MAINTAINER?=    ports@FreeBSD.org
COMMENT?=   Ruby reference manual, in HTML format

USE_RUBY=   yes
RUBY_NO_BUILD_DEPENDS=  yes
RUBY_NO_RUN_DEPENDS=    yes

RUBY_MODNAME=   ruby-man${LANGSUFFIX}

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}${LANGSUFFIX}
NO_BUILD=   yes
PLIST_SUB=  LANGSUFFIX="${LANGSUFFIX}"

do-install:
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.html ${RUBY_MODDOCDIR}

.include <bsd.port.mk>