aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2013-10-20 14:25:41 +0800
committertrociny <trociny@FreeBSD.org>2013-10-20 14:25:41 +0800
commitbf3cddfa056ff028e0cf28e2e82ed24f1094d59a (patch)
treeb1e7d74a04c4e961788858422457c22c901b529d
parent04e7fa433c58454e9ae513c8fbafb778ee4fa4ff (diff)
downloadfreebsd-ports-gnome-bf3cddfa056ff028e0cf28e2e82ed24f1094d59a.tar.gz
freebsd-ports-gnome-bf3cddfa056ff028e0cf28e2e82ed24f1094d59a.tar.zst
freebsd-ports-gnome-bf3cddfa056ff028e0cf28e2e82ed24f1094d59a.zip
Support staging.
Approved by: bdrewery (mentor)
-rw-r--r--sysutils/p5-MogileFS-Server/Makefile36
-rw-r--r--sysutils/p5-MogileFS-Server/pkg-plist24
2 files changed, 26 insertions, 34 deletions
diff --git a/sysutils/p5-MogileFS-Server/Makefile b/sysutils/p5-MogileFS-Server/Makefile
index e0110272c05a..4fe26e3e0932 100644
--- a/sysutils/p5-MogileFS-Server/Makefile
+++ b/sysutils/p5-MogileFS-Server/Makefile
@@ -23,45 +23,13 @@ BUILD_DEPENDS= p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \
p5-Sys-Syslog>=0:${PORTSDIR}/sysutils/p5-Sys-Syslog
RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS_DEFINE= DOCS
-
USES= perl5
USE_PERL5= configure
REINPLACE_ARGS= -i ''
USE_RC_SUBR= mogilefsd mogstored
-MAN1= mogautomount.1 \
- mogilefsd.1 \
- mogstored.1
-MAN3= MogileFS::Checksum.3 \
- MogileFS::Class.3 \
- MogileFS::DevFID.3 \
- MogileFS::Device.3 \
- MogileFS::Domain.3 \
- MogileFS::FID.3 \
- MogileFS::Factory.3 \
- MogileFS::Host.3 \
- MogileFS::IOStatWatcher.3 \
- MogileFS::Overview.3 \
- MogileFS::ReplicationPolicy.3 \
- MogileFS::ReplicationPolicy::MultipleDevices.3 \
- MogileFS::ReplicationPolicy::MultipleHosts.3 \
- MogileFS::ReplicationPolicy::Union.3 \
- MogileFS::Server.3 \
- MogileFS::Store.3 \
- MogileFS::Store::MySQL.3 \
- MogileFS::Store::Postgres.3 \
- MogileFS::Store::SQLite.3 \
- MogileFS::Worker::Query.3 \
- MogileFS::Worker::Replicate.3
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/sysutils/p5-MogileFS-Server/pkg-plist b/sysutils/p5-MogileFS-Server/pkg-plist
index 03f469d67edf..bbd79ce91f79 100644
--- a/sysutils/p5-MogileFS-Server/pkg-plist
+++ b/sysutils/p5-MogileFS-Server/pkg-plist
@@ -2,6 +2,9 @@ bin/mogautomount
bin/mogdbsetup
bin/mogilefsd
bin/mogstored
+man/man1/mogautomount.1.gz
+man/man1/mogilefsd.1.gz
+man/man1/mogstored.1.gz
%%SITE_PERL%%/MogileFS/Checksum.pm
%%SITE_PERL%%/MogileFS/Class.pm
%%SITE_PERL%%/MogileFS/Config.pm
@@ -63,6 +66,27 @@ bin/mogstored
%%SITE_PERL%%/Mogstored/SideChannelListener.pm
%%SITE_PERL%%/Mogstored/TaskQueue.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Server/.packlist
+%%PERL5_MAN3%%/MogileFS::Checksum.3.gz
+%%PERL5_MAN3%%/MogileFS::Class.3.gz
+%%PERL5_MAN3%%/MogileFS::DevFID.3.gz
+%%PERL5_MAN3%%/MogileFS::Device.3.gz
+%%PERL5_MAN3%%/MogileFS::Domain.3.gz
+%%PERL5_MAN3%%/MogileFS::FID.3.gz
+%%PERL5_MAN3%%/MogileFS::Factory.3.gz
+%%PERL5_MAN3%%/MogileFS::Host.3.gz
+%%PERL5_MAN3%%/MogileFS::IOStatWatcher.3.gz
+%%PERL5_MAN3%%/MogileFS::Overview.3.gz
+%%PERL5_MAN3%%/MogileFS::ReplicationPolicy.3.gz
+%%PERL5_MAN3%%/MogileFS::ReplicationPolicy::MultipleDevices.3.gz
+%%PERL5_MAN3%%/MogileFS::ReplicationPolicy::MultipleHosts.3.gz
+%%PERL5_MAN3%%/MogileFS::ReplicationPolicy::Union.3.gz
+%%PERL5_MAN3%%/MogileFS::Server.3.gz
+%%PERL5_MAN3%%/MogileFS::Store.3.gz
+%%PERL5_MAN3%%/MogileFS::Store::MySQL.3.gz
+%%PERL5_MAN3%%/MogileFS::Store::Postgres.3.gz
+%%PERL5_MAN3%%/MogileFS::Store::SQLite.3.gz
+%%PERL5_MAN3%%/MogileFS::Worker::Query.3.gz
+%%PERL5_MAN3%%/MogileFS::Worker::Replicate.3.gz
%%PORTDOCS%%%%DOCSDIR%%/checksums.txt
%%PORTDOCS%%%%DOCSDIR%%/fsck-notes.txt
%%PORTDOCS%%%%DOCSDIR%%/memcache-support.txt