aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-09-30 18:05:00 +0800
committerstas <stas@FreeBSD.org>2006-09-30 18:05:00 +0800
commit35fe01c6cef15a098d51dfe30df04883f96eac62 (patch)
tree439e7bc0014e08661fbb41764e9b1fe355ac79f0
parent034ee59d631d369c38fb508b74073baaf32d615d (diff)
downloadfreebsd-ports-gnome-35fe01c6cef15a098d51dfe30df04883f96eac62.tar.gz
freebsd-ports-gnome-35fe01c6cef15a098d51dfe30df04883f96eac62.tar.zst
freebsd-ports-gnome-35fe01c6cef15a098d51dfe30df04883f96eac62.zip
- Install manpage into the appropriate place
PR: ports/100493 Submitted by: me (stas) Approved by: maintainer timeout, sem (mentor)
-rw-r--r--devel/rubygem-rake/Makefile10
-rw-r--r--devel/rubygem-rake/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/rubygem-rake/Makefile b/devel/rubygem-rake/Makefile
index 037241c67f88..2e2a4e6ad824 100644
--- a/devel/rubygem-rake/Makefile
+++ b/devel/rubygem-rake/Makefile
@@ -13,6 +13,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
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:
+ ${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz \
+ ${PREFIX}/man/man1
+ ${CHMOD} ${MANMODE} ${PREFIX}/man/man1/rake.1.gz
+ ${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/man/man1/rake.1.gz
+
.include <bsd.port.post.mk>
diff --git a/devel/rubygem-rake/pkg-plist b/devel/rubygem-rake/pkg-plist
index 2ad2f001fbd6..f9c47a1d003f 100644
--- a/devel/rubygem-rake/pkg-plist
+++ b/devel/rubygem-rake/pkg-plist
@@ -278,7 +278,6 @@ bin/rake
%%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