1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/textproc/ruby-rdoc/Makefile
2003-09-29 14:12:16 +00:00

38 lines
830 B
Makefile

# New ports collection makefile for: RDoc
# Date created: 26 December 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= rdoc
PORTVERSION= 0.9.0
CATEGORIES= textproc ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= Documentation from Ruby source files
USE_RUBY= yes
NO_BUILD= yes
DOCS= ChangeLog NEW_FEATURES README ToDo
do-install:
cd ${WRKSRC}; ${RUBY} ./install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/markup
${INSTALL_DATA} ${WRKSRC}/markup/sample/sample.rb ${RUBY_MODEXAMPLESDIR}/markup
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>