ports/100493: [PATCH] devel/rubygem-rake: install man as appropriate

Stanislav Sedov ssedov at mbsd.msk.ru
Tue Jul 18 18:10:22 UTC 2006


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list