mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
4a430cb085
- bump PORTREVISION PR: ports/101634 Submitted by: maintainer (Stanislav Sedov)
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: Programming Ruby--The Book
|
|
# Date created: 8 March 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= programmingruby
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang ruby
|
|
MASTER_SITES= http://dev.rubycentral.com/downloads/files/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ProgrammingRuby-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ruby
|
|
EXTRACT_ONLY= #empty
|
|
|
|
MAINTAINER= ssedov@mbsd.msk.ru
|
|
COMMENT= The source of the Programming Ruby ("pick-axe") book in XML and HTML
|
|
|
|
USE_RUBY= yes
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
@${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${RUBY_MODDOCDIR}
|
|
@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
|
@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
|
|
@${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>
|