diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-03 02:23:33 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-03 02:23:33 +0800 |
commit | a21c38790d43d2e4dfc3709f05cfbf8fd47b1280 (patch) | |
tree | 5e7c409971310fc51dbf5894f6fc9f0530d2e7b2 /sysutils/p5-Ubic | |
parent | a11b161015ef446a6da105f3a4f0919d99a10d58 (diff) | |
download | freebsd-ports-gnome-a21c38790d43d2e4dfc3709f05cfbf8fd47b1280.tar.gz freebsd-ports-gnome-a21c38790d43d2e4dfc3709f05cfbf8fd47b1280.tar.zst freebsd-ports-gnome-a21c38790d43d2e4dfc3709f05cfbf8fd47b1280.zip |
- Add p5-Ubic 1.34
Ubic is a flexible perl-based service manager.
WWW: http://search.cpan.org/dist/Ubic/
PR: ports/160864
Submitted by: Dmitry Yashin <dmitry@yashin.su>
Diffstat (limited to 'sysutils/p5-Ubic')
-rw-r--r-- | sysutils/p5-Ubic/Makefile | 94 | ||||
-rw-r--r-- | sysutils/p5-Ubic/distinfo | 2 | ||||
-rw-r--r-- | sysutils/p5-Ubic/pkg-descr | 3 | ||||
-rw-r--r-- | sysutils/p5-Ubic/pkg-message | 6 | ||||
-rw-r--r-- | sysutils/p5-Ubic/pkg-plist | 64 |
5 files changed, 169 insertions, 0 deletions
diff --git a/sysutils/p5-Ubic/Makefile b/sysutils/p5-Ubic/Makefile new file mode 100644 index 000000000000..3f1e57da57e1 --- /dev/null +++ b/sysutils/p5-Ubic/Makefile @@ -0,0 +1,94 @@ +# New ports collection makefile for: p5-Ubic +# Date created: 21 Sep 2011 +# Whom: Dmitry Yashin <dmitry@yashin.su> +# +# $FreeBSD$ +# + +PORTNAME= Ubic +PORTVERSION= 1.34 +CATEGORIES= sysutils perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:MMCLERIC +PKGNAMEPREFIX= p5- + +MAINTAINER= dmitry@yashin.su +COMMENT= Flexible perl-based service manager + +BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \ + p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \ + p5-libwww>=0:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS:= ${BUILD_DEPENDS} + +TEST_DEPENDS= p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP + +LICENSE_FILES= ${WRKSRC}/LICENSE + +PERL_CONFIGURE= yes +REINPLACE_ARGS= -i '' + +MAN1= ubic.1 \ + ubic-admin.1 \ + ubic-daemon.1 \ + ubic-periodic.1 \ + ubic-update.1 \ + ubic-watchdog.1 +MAN3= Ubic.3 \ + Ubic::AccessGuard.3 \ + Ubic::Admin::Setup.3 \ + Ubic::AtomicFile.3 \ + Ubic::Cmd.3 \ + Ubic::Cmd::Results.3 \ + Ubic::Credentials.3 \ + Ubic::Credentials::OS::MacOSX.3 \ + Ubic::Credentials::OS::POSIX.3 \ + Ubic::Credentials::OS::Windows.3 \ + Ubic::Daemon.3 \ + Ubic::Daemon::OS.3 \ + Ubic::Daemon::OS::Linux.3 \ + Ubic::Daemon::OS::POSIX.3 \ + Ubic::Daemon::PidState.3 \ + Ubic::Daemon::Status.3 \ + Ubic::Lockf.3 \ + Ubic::Lockf::Alarm.3 \ + Ubic::Logger.3 \ + Ubic::Manual::FAQ.3 \ + Ubic::Manual::Intro.3 \ + Ubic::Manual::Multiservices.3 \ + Ubic::Manual::Overview.3 \ + Ubic::Multiservice.3 \ + Ubic::Multiservice::Dir.3 \ + Ubic::Multiservice::Simple.3 \ + Ubic::Persistent.3 \ + Ubic::Ping.3 \ + Ubic::Ping::Service.3 \ + Ubic::PortMap.3 \ + Ubic::Result.3 \ + Ubic::Result::Class.3 \ + Ubic::Run.3 \ + Ubic::Service.3 \ + Ubic::Service::Common.3 \ + Ubic::Service::SimpleDaemon.3 \ + Ubic::Service::Skeleton.3 \ + Ubic::Service::Utils.3 \ + Ubic::Settings.3 \ + Ubic::Settings::ConfigFile.3 \ + Ubic::SingletonLock.3 \ + Ubic::Watchdog.3 + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ + ${WRKSRC}/lib/Ubic/Admin/Setup.pm ${WRKSRC}/lib/Ubic/Settings.pm + +post-install: + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/sysutils/p5-Ubic/distinfo b/sysutils/p5-Ubic/distinfo new file mode 100644 index 000000000000..7504d073e308 --- /dev/null +++ b/sysutils/p5-Ubic/distinfo @@ -0,0 +1,2 @@ +SHA256 (Ubic-1.34.tar.gz) = df937904dd6709e1f00a3323b4e2c226db10add0323d9d38711818e59d979ad8 +SIZE (Ubic-1.34.tar.gz) = 82631 diff --git a/sysutils/p5-Ubic/pkg-descr b/sysutils/p5-Ubic/pkg-descr new file mode 100644 index 000000000000..73f1843367de --- /dev/null +++ b/sysutils/p5-Ubic/pkg-descr @@ -0,0 +1,3 @@ +Ubic is a flexible perl-based service manager. + +WWW: http://search.cpan.org/dist/Ubic/ diff --git a/sysutils/p5-Ubic/pkg-message b/sysutils/p5-Ubic/pkg-message new file mode 100644 index 000000000000..85f58e2685af --- /dev/null +++ b/sysutils/p5-Ubic/pkg-message @@ -0,0 +1,6 @@ +******************************************* + +Ubic has been installed! +To config and run Ubic use: ubic-admin setup + +******************************************** diff --git a/sysutils/p5-Ubic/pkg-plist b/sysutils/p5-Ubic/pkg-plist new file mode 100644 index 000000000000..d6fd51e88342 --- /dev/null +++ b/sysutils/p5-Ubic/pkg-plist @@ -0,0 +1,64 @@ +bin/ubic +bin/ubic-admin +bin/ubic-daemon +bin/ubic-periodic +bin/ubic-update +bin/ubic-watchdog +%%SITE_PERL%%/Ubic.pm +%%SITE_PERL%%/Ubic/AccessGuard.pm +%%SITE_PERL%%/Ubic/Admin/Setup.pm +%%SITE_PERL%%/Ubic/AtomicFile.pm +%%SITE_PERL%%/Ubic/Cmd.pm +%%SITE_PERL%%/Ubic/Cmd/Results.pm +%%SITE_PERL%%/Ubic/Credentials.pm +%%SITE_PERL%%/Ubic/Credentials/OS/MacOSX.pm +%%SITE_PERL%%/Ubic/Credentials/OS/POSIX.pm +%%SITE_PERL%%/Ubic/Credentials/OS/Windows.pm +%%SITE_PERL%%/Ubic/Daemon.pm +%%SITE_PERL%%/Ubic/Daemon/OS.pm +%%SITE_PERL%%/Ubic/Daemon/OS/Linux.pm +%%SITE_PERL%%/Ubic/Daemon/OS/POSIX.pm +%%SITE_PERL%%/Ubic/Daemon/PidState.pm +%%SITE_PERL%%/Ubic/Daemon/Status.pm +%%SITE_PERL%%/Ubic/Lockf.pm +%%SITE_PERL%%/Ubic/Lockf/Alarm.pm +%%SITE_PERL%%/Ubic/Logger.pm +%%SITE_PERL%%/Ubic/Manual/FAQ.pod +%%SITE_PERL%%/Ubic/Manual/Intro.pod +%%SITE_PERL%%/Ubic/Manual/Multiservices.pod +%%SITE_PERL%%/Ubic/Manual/Overview.pod +%%SITE_PERL%%/Ubic/Multiservice.pm +%%SITE_PERL%%/Ubic/Multiservice/Dir.pm +%%SITE_PERL%%/Ubic/Multiservice/Simple.pm +%%SITE_PERL%%/Ubic/Persistent.pm +%%SITE_PERL%%/Ubic/Ping.pm +%%SITE_PERL%%/Ubic/Ping/Service.pm +%%SITE_PERL%%/Ubic/PortMap.pm +%%SITE_PERL%%/Ubic/Result.pm +%%SITE_PERL%%/Ubic/Result/Class.pm +%%SITE_PERL%%/Ubic/Run.pm +%%SITE_PERL%%/Ubic/Service.pm +%%SITE_PERL%%/Ubic/Service/Common.pm +%%SITE_PERL%%/Ubic/Service/SimpleDaemon.pm +%%SITE_PERL%%/Ubic/Service/Skeleton.pm +%%SITE_PERL%%/Ubic/Service/Utils.pm +%%SITE_PERL%%/Ubic/Settings.pm +%%SITE_PERL%%/Ubic/Settings/ConfigFile.pm +%%SITE_PERL%%/Ubic/SingletonLock.pm +%%SITE_PERL%%/Ubic/Watchdog.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Ubic/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Ubic +@dirrm %%SITE_PERL%%/Ubic/Settings +@dirrm %%SITE_PERL%%/Ubic/Service +@dirrm %%SITE_PERL%%/Ubic/Result +@dirrm %%SITE_PERL%%/Ubic/Ping +@dirrm %%SITE_PERL%%/Ubic/Multiservice +@dirrm %%SITE_PERL%%/Ubic/Manual +@dirrm %%SITE_PERL%%/Ubic/Lockf +@dirrm %%SITE_PERL%%/Ubic/Daemon/OS +@dirrm %%SITE_PERL%%/Ubic/Daemon +@dirrm %%SITE_PERL%%/Ubic/Credentials/OS +@dirrm %%SITE_PERL%%/Ubic/Credentials +@dirrm %%SITE_PERL%%/Ubic/Cmd +@dirrm %%SITE_PERL%%/Ubic/Admin +@dirrm %%SITE_PERL%%/Ubic |