ports/160864: New port: sysutils/p5-Ubic flexible perl-based service manager

Dmitry Yashin dmitry at yashin.su
Sun Sep 25 13:42:18 UTC 2011


fix BUILD_DEPENDS and TEST_DEPENDS
-------------- next part --------------
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/sysutils/p5-Ubic
#	/usr/ports/sysutils/p5-Ubic/Makefile
#	/usr/ports/sysutils/p5-Ubic/distinfo
#	/usr/ports/sysutils/p5-Ubic/pkg-descr
#	/usr/ports/sysutils/p5-Ubic/pkg-message
#	/usr/ports/sysutils/p5-Ubic/pkg-plist
#	/usr/ports/sysutils/p5-Ubic/work
#
echo c - /usr/ports/sysutils/p5-Ubic
mkdir -p /usr/ports/sysutils/p5-Ubic > /dev/null 2>&1
echo x - /usr/ports/sysutils/p5-Ubic/Makefile
sed 's/^X//' >/usr/ports/sysutils/p5-Ubic/Makefile << 'END-of-/usr/ports/sysutils/p5-Ubic/Makefile'
X# New ports collection makefile for:	p5-Ubic
X# Date created:	21 Sep 2011
X# Whom:	Dmitry Yashin <dmitry at yashin.su>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	Ubic
XPORTVERSION=	1.33
XCATEGORIES=	sysutils perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	CPAN:MMCLERIC
XPKGNAMEPREFIX=	p5-
XDISTNAME=	${PORTNAME}-${PORTVERSION}_04
X
XMAINTAINER=	dmitry at yashin.su
XCOMMENT=	flexible perl-based service manager
X
XLICENSE_FILES=	${WRKSRC}/LICENSE
X
XRUN_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
X		p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \
X		p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
X		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
X		p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
X		p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
X		p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XTEST_DEPENDS=	p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \
X		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
X		p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP 
X
XPERL_CONFIGURE=	YES
X
XMAN1=		ubic.1 \
X		ubic-admin.1 \
X		ubic-daemon.1 \
X		ubic-periodic.1 \
X		ubic-update.1 \
X		ubic-watchdog.1
XMAN3=		Ubic.3 \
X		Ubic::AccessGuard.3 \
X		Ubic::Admin::Setup.3 \
X		Ubic::AtomicFile.3 \
X		Ubic::Cmd.3 \
X		Ubic::Cmd::Results.3 \
X		Ubic::Credentials.3 \
X		Ubic::Credentials::OS::MacOSX.3 \
X		Ubic::Credentials::OS::POSIX.3 \
X		Ubic::Credentials::OS::Windows.3 \
X		Ubic::Daemon.3 \
X		Ubic::Daemon::OS.3 \
X		Ubic::Daemon::OS::Linux.3 \
X		Ubic::Daemon::OS::POSIX.3 \
X		Ubic::Daemon::PidState.3 \
X		Ubic::Daemon::Status.3 \
X		Ubic::Lockf.3 \
X		Ubic::Lockf::Alarm.3 \
X		Ubic::Logger.3 \
X		Ubic::Manual::FAQ.3 \
X		Ubic::Manual::Intro.3 \
X		Ubic::Manual::Multiservices.3 \
X		Ubic::Manual::Overview.3 \
X		Ubic::Multiservice.3 \
X		Ubic::Multiservice::Dir.3 \
X		Ubic::Multiservice::Simple.3 \
X		Ubic::Persistent.3 \
X		Ubic::Ping.3 \
X		Ubic::Ping::Service.3 \
X		Ubic::PortMap.3 \
X		Ubic::Result.3 \
X		Ubic::Result::Class.3 \
X		Ubic::Run.3 \
X		Ubic::Service.3 \
X		Ubic::Service::Common.3 \
X		Ubic::Service::SimpleDaemon.3 \
X		Ubic::Service::Skeleton.3 \
X		Ubic::Service::Utils.3 \
X		Ubic::Settings.3 \
X		Ubic::Settings::ConfigFile.3 \
X		Ubic::SingletonLock.3 \
X		Ubic::Watchdog.3
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/lib/Ubic/Admin/Setup.pm
X	@${RM} -f ${WRKSRC}/lib/Ubic/Admin/Setup.pm.bak
X	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/lib/Ubic/Settings.pm
X	@${RM} -f ${WRKSRC}/lib/Ubic/Settings.pm.bak
X
Xpost-install:
X	${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/sysutils/p5-Ubic/Makefile
echo x - /usr/ports/sysutils/p5-Ubic/distinfo
sed 's/^X//' >/usr/ports/sysutils/p5-Ubic/distinfo << 'END-of-/usr/ports/sysutils/p5-Ubic/distinfo'
XSHA256 (Ubic-1.33_04.tar.gz) = c8ba4595f9547702f5d4a692232b006dd3e0ac5fffa8671f2046a83c4abc7cd2
XSIZE (Ubic-1.33_04.tar.gz) = 82495
END-of-/usr/ports/sysutils/p5-Ubic/distinfo
echo x - /usr/ports/sysutils/p5-Ubic/pkg-descr
sed 's/^X//' >/usr/ports/sysutils/p5-Ubic/pkg-descr << 'END-of-/usr/ports/sysutils/p5-Ubic/pkg-descr'
Xflexible perl-based service manager
X
XWWW: https://metacpan.org/release/Ubic
END-of-/usr/ports/sysutils/p5-Ubic/pkg-descr
echo x - /usr/ports/sysutils/p5-Ubic/pkg-message
sed 's/^X//' >/usr/ports/sysutils/p5-Ubic/pkg-message << 'END-of-/usr/ports/sysutils/p5-Ubic/pkg-message'
X*******************************************
X
XUbic has been installed!
XTo config and run Ubic use: ubic-admin setup
X
X********************************************
END-of-/usr/ports/sysutils/p5-Ubic/pkg-message
echo x - /usr/ports/sysutils/p5-Ubic/pkg-plist
sed 's/^X//' >/usr/ports/sysutils/p5-Ubic/pkg-plist << 'END-of-/usr/ports/sysutils/p5-Ubic/pkg-plist'
Xbin/ubic
Xbin/ubic-admin
Xbin/ubic-daemon
Xbin/ubic-periodic
Xbin/ubic-update
Xbin/ubic-watchdog
X%%SITE_PERL%%/Ubic.pm
X%%SITE_PERL%%/Ubic/AccessGuard.pm
X%%SITE_PERL%%/Ubic/Admin/Setup.pm
X at dirrm %%SITE_PERL%%/Ubic/Admin
X%%SITE_PERL%%/Ubic/AtomicFile.pm
X%%SITE_PERL%%/Ubic/Cmd.pm
X%%SITE_PERL%%/Ubic/Cmd/Results.pm
X at dirrm %%SITE_PERL%%/Ubic/Cmd
X%%SITE_PERL%%/Ubic/Credentials.pm
X%%SITE_PERL%%/Ubic/Credentials/OS/MacOSX.pm
X%%SITE_PERL%%/Ubic/Credentials/OS/POSIX.pm
X%%SITE_PERL%%/Ubic/Credentials/OS/Windows.pm
X at dirrm %%SITE_PERL%%/Ubic/Credentials/OS
X at dirrm %%SITE_PERL%%/Ubic/Credentials
X%%SITE_PERL%%/Ubic/Daemon.pm
X%%SITE_PERL%%/Ubic/Daemon/OS.pm
X%%SITE_PERL%%/Ubic/Daemon/OS/Linux.pm
X%%SITE_PERL%%/Ubic/Daemon/OS/POSIX.pm
X at dirrm %%SITE_PERL%%/Ubic/Daemon/OS
X%%SITE_PERL%%/Ubic/Daemon/PidState.pm
X%%SITE_PERL%%/Ubic/Daemon/Status.pm
X at dirrm %%SITE_PERL%%/Ubic/Daemon
X%%SITE_PERL%%/Ubic/Lockf.pm
X%%SITE_PERL%%/Ubic/Lockf/Alarm.pm
X at dirrm %%SITE_PERL%%/Ubic/Lockf
X%%SITE_PERL%%/Ubic/Logger.pm
X%%SITE_PERL%%/Ubic/Manual/FAQ.pod
X%%SITE_PERL%%/Ubic/Manual/Intro.pod
X%%SITE_PERL%%/Ubic/Manual/Multiservices.pod
X%%SITE_PERL%%/Ubic/Manual/Overview.pod
X at dirrm %%SITE_PERL%%/Ubic/Manual
X%%SITE_PERL%%/Ubic/Multiservice.pm
X%%SITE_PERL%%/Ubic/Multiservice/Dir.pm
X%%SITE_PERL%%/Ubic/Multiservice/Simple.pm
X at dirrm %%SITE_PERL%%/Ubic/Multiservice
X%%SITE_PERL%%/Ubic/Persistent.pm
X%%SITE_PERL%%/Ubic/Ping.pm
X%%SITE_PERL%%/Ubic/Ping/Service.pm
X at dirrm %%SITE_PERL%%/Ubic/Ping
X%%SITE_PERL%%/Ubic/PortMap.pm
X%%SITE_PERL%%/Ubic/Result.pm
X%%SITE_PERL%%/Ubic/Result/Class.pm
X at dirrm %%SITE_PERL%%/Ubic/Result
X%%SITE_PERL%%/Ubic/Run.pm
X%%SITE_PERL%%/Ubic/Service.pm
X%%SITE_PERL%%/Ubic/Service/Common.pm
X%%SITE_PERL%%/Ubic/Service/SimpleDaemon.pm
X%%SITE_PERL%%/Ubic/Service/Skeleton.pm
X%%SITE_PERL%%/Ubic/Service/Utils.pm
X at dirrm %%SITE_PERL%%/Ubic/Service
X%%SITE_PERL%%/Ubic/Settings.pm
X%%SITE_PERL%%/Ubic/Settings/ConfigFile.pm
X at dirrm %%SITE_PERL%%/Ubic/Settings
X%%SITE_PERL%%/Ubic/SingletonLock.pm
X%%SITE_PERL%%/Ubic/Watchdog.pm
END-of-/usr/ports/sysutils/p5-Ubic/pkg-plist
echo c - /usr/ports/sysutils/p5-Ubic/work
mkdir -p /usr/ports/sysutils/p5-Ubic/work > /dev/null 2>&1
exit



More information about the freebsd-ports-bugs mailing list