freebsd-ports/lang/ruby-usersguide/Makefile
Steve Wills fd414793d2 - Documents old version of Ruby, mark for deletion
PR:		ports/185540
Submitted by:	clutton <clutton@zoho.com>
2014-01-25 20:47:28 +00:00

41 lines
1011 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= usersguide
PORTVERSION= 20051121
PORTREVISION= 1
CATEGORIES= lang ruby
MASTER_SITES= http://www.rubyist.net/~slagell/ruby/ \
http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-uguide-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby users guide, in HTML format
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
WRKSRC= ${WRKDIR}/rg
NO_BUILD= yes
DOCSDIR= ${RUBY_MODDOCDIR}
NO_STAGE= yes
DEPRECATED= Documents EOLd version of Ruby and unmaintained
EXPIRATION_DATE= 2014-02-25
do-install:
${MKDIR} ${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/* ${RUBY_MODDOCDIR}
@${FIND} -d ${RUBY_MODDOCDIR}/ -type f | \
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} -d ${RUBY_MODDOCDIR}/ -type d | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir ${RUBY_DOCDIR} 2>/dev/null || true" \
>> ${TMPPLIST}
.include <bsd.port.mk>