Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 10:50:52 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jw@innerewut.de
Subject:   ports/100493: [PATCH] devel/rubygem-rake: install man as appropriate
Message-ID:  <20060718065052.444DC11B6D@fonon.realnet>
Resent-Message-ID: <200607181810.k6IIAI13045216@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100493
>Category:       ports
>Synopsis:       [PATCH] devel/rubygem-rake: install man as appropriate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 18:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
Install the manpage in standard directory.


Port maintainer (jw@innerewut.de) is cc'd.

>How-To-Repeat:
>Fix:

--- rubygem-rake-0.7.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/rubygem-rake/Makefile /work/src/ports/rubygem-rake/Makefile
--- /usr/ports/devel/rubygem-rake/Makefile	Wed Apr 12 20:26:10 2006
+++ /work/src/ports/rubygem-rake/Makefile	Tue Jul 18 10:48:42 2006
@@ -6,12 +6,22 @@
 
 PORTNAME=	rake
 PORTVERSION=	0.7.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	http://rubyforge.org/frs/download.php/9498/
 
 MAINTAINER=	jw@innerewut.de
 COMMENT=	Ruby Make
 
+MANCOMPRESSED=	yes
+MAN1=		rake.1
+
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+
+post-install:
+	${INSTALL_MAN} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz \
+		${PREFIX}/man/man1
+	${RM} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz
+
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/rubygem-rake/pkg-plist /work/src/ports/rubygem-rake/pkg-plist
--- /usr/ports/devel/rubygem-rake/pkg-plist	Wed Apr 12 20:26:10 2006
+++ /work/src/ports/rubygem-rake/pkg-plist	Tue Jul 18 10:46:31 2006
@@ -278,7 +278,6 @@
 %%GEM_LIB_DIR%%/doc/glossary.rdoc
 %%GEM_LIB_DIR%%/doc/jamis.rb
 %%GEM_LIB_DIR%%/doc/proto_rake.rdoc
-%%GEM_LIB_DIR%%/doc/rake.1.gz
 %%GEM_LIB_DIR%%/doc/rakefile.rdoc
 %%GEM_LIB_DIR%%/doc/rational.rdoc
 %%GEM_LIB_DIR%%/doc/release_notes/rake-0.4.14.rdoc
--- rubygem-rake-0.7.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060718065052.444DC11B6D>