blob: 1b038ac084909e5d03658b9a2ad3953fb6d6ed57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# Created by: Dmitry Yashin <dmitry@yashin.su>
# $FreeBSD$
PORTNAME= Ubic
PORTVERSION= 1.44
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MMCLERIC
PKGNAMEPREFIX= p5-
MAINTAINER= dmitry@yashin.su
COMMENT= Flexible perl-based service manager
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny \
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \
p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
USES= perl5
USE_PERL5= configure
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::ServiceLoader.3 \
Ubic::ServiceLoader::Base.3 \
Ubic::ServiceLoader::Default.3 \
Ubic::ServiceLoader::Ext::ini.3 \
Ubic::ServiceLoader::Ext::json.3 \
Ubic::Settings.3 \
Ubic::Settings::ConfigFile.3 \
Ubic::SingletonLock.3 \
Ubic::UA.3 \
Ubic::Watchdog.3
NO_STAGE= yes
.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>
|