1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/lang/ruby-doc-stdlib/Makefile
Philip M. Gollucci 24d3feefdb Send ports@ ruby ports over ruby@
most of these were from stas@
2011-11-01 22:59:35 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: ruby-doc-stdlib
# Date created: 2006-08-04
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= stdlib
PORTVERSION= 0.10.1
CATEGORIES= lang ruby
MASTER_SITES= http://www.ruby-doc.org/download/stdlib/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}doc-
DISTNAME= ruby-doc-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Documentation for the Ruby language standard library
USE_RUBY= yes
NO_BUILD= yes
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${RUBY_DOCDIR}/
@(cd ${WRKSRC} && \
${RUBY} install.rb --force --doc-base ${RUBY_DOCDIR}/)
plist:
truncate -s0 pkg-plist
@${FIND} -ds ${RUBY_MODDOCDIR}/ ! -type d | \
${SED} 's,^${RUBY_MODDOCDIR},%%RUBY_MODDOCDIR%%,' \
>> pkg-plist
@${FIND} -ds ${RUBY_MODDOCDIR}/ -type d | ${SORT} -r | ${SED} -E -e \
's,^${RUBY_MODDOCDIR}(.*),@dirrm %%RUBY_MODDOCDIR%%\1,' \
>> pkg-plist
@${ECHO_CMD} "@dirrmtry %%RUBY_DOCDIR%%" >> pkg-plist
.include <bsd.port.post.mk>