aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-SPOPS/Makefile
blob: 687a3ed848cb00a2f32c1e8058fe7034451a7d7a (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
# New ports collection makefile for:    SPOPS
# Date created:     17 Dec 2001
# Whom:         Sergey Skvortsov <skv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   SPOPS
PORTVERSION=    0.80
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/C/CW/CWINTERS
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Simple Perl Object Persistence with Security

BUILD_DEPENDS=  ${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \
        ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
        ${SITE_PERL}/${PERL_ARCH}/Class/Date.pm:${PORTSDIR}/devel/p5-Class-Date \
        ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
        ${SITE_PERL}/Class/Fields.pm:${PORTSDIR}/devel/p5-Class-Fields \
        ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
        ${SITE_PERL}/Class/Factory.pm:${PORTSDIR}/devel/p5-Class-Factory \
        ${SITE_PERL}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace \
        ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
        ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece \
        ${SITE_PERL}/${PERL_ARCH}/Data/UUID.pm:${PORTSDIR}/devel/p5-Data-UUID
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       SPOPS.3 SPOPS::ClassFactory.3 SPOPS::ClassFactory::DBI.3 \
        SPOPS::ClassFactory::DefaultBehavior.3 \
        SPOPS::ClassFactory::LDAP.3 SPOPS::DBI.3 \
        SPOPS::DBI::InterBase.3 SPOPS::DBI::MySQL.3 \
        SPOPS::DBI::Oracle.3 SPOPS::DBI::Pg.3 SPOPS::DBI::SQLite.3 \
        SPOPS::DBI::Sybase.3 SPOPS::DBI::TypeInfo.3 SPOPS::Error.3 \
        SPOPS::Exception.3 SPOPS::Exception::DBI.3 \
        SPOPS::Exception::LDAP.3 SPOPS::Exception::Security.3 \
        SPOPS::Export.3 SPOPS::Export::DBI::Data.3 \
        SPOPS::Export::Object.3 SPOPS::Export::Perl.3 \
        SPOPS::Export::SQL.3 SPOPS::Export::XML.3 SPOPS::GDBM.3 \
        SPOPS::HashFile.3 SPOPS::Import.3 SPOPS::Import::DBI::Data.3 \
        SPOPS::Import::DBI::Table.3 \
        SPOPS::Import::DBI::TableTransform.3 \
        SPOPS::Import::DBI::TableTransform::InterBase.3 \
        SPOPS::Import::DBI::TableTransform::MySQL.3 \
        SPOPS::Import::DBI::TableTransform::Oracle.3 \
        SPOPS::Import::DBI::TableTransform::Pg.3 \
        SPOPS::Import::DBI::TableTransform::SQLite.3 \
        SPOPS::Import::DBI::TableTransform::Sybase.3 \
        SPOPS::Import::Object.3 SPOPS::Initialize.3 SPOPS::Iterator.3 \
        SPOPS::Iterator::DBI.3 SPOPS::Iterator::LDAP.3 \
        SPOPS::Iterator::WrapList.3 SPOPS::Key::DBI::HandleField.3 \
        SPOPS::Key::DBI::Identity.3 SPOPS::Key::DBI::Pool.3 \
        SPOPS::Key::DBI::Sequence.3 SPOPS::Key::Random.3 \
        SPOPS::Key::UUID.3 SPOPS::LDAP.3 SPOPS::LDAP::MultiDatasource.3 \
        SPOPS::Loopback.3 SPOPS::Manual.3 \
        SPOPS::Manual::CodeGeneration.3 SPOPS::Manual::Configuration.3 \
        SPOPS::Manual::Cookbook.3 SPOPS::Manual::Datasource.3 \
        SPOPS::Manual::Exceptions.3 SPOPS::Manual::ImportExport.3 \
        SPOPS::Manual::Intro.3 SPOPS::Manual::Object.3 \
        SPOPS::Manual::ObjectRules.3 SPOPS::Manual::Relationships.3 \
        SPOPS::Manual::Security.3 SPOPS::Manual::Serialization.3 \
        SPOPS::SQLInterface.3 SPOPS::Secure.3 SPOPS::Secure::DBI.3 \
        SPOPS::Secure::Hierarchy.3 SPOPS::Secure::Loopback.3 \
        SPOPS::Secure::Util.3 SPOPS::Tie.3 SPOPS::Tie::StrictField.3 \
        SPOPS::Tool::CreateOnly.3 SPOPS::Tool::DBI::Datasource.3 \
        SPOPS::Tool::DBI::DiscoverField.3 \
        SPOPS::Tool::DBI::FindDefaults.3 \
        SPOPS::Tool::DBI::MaintainLinkedList.3 \
        SPOPS::Tool::DateConvert.3 SPOPS::Tool::LDAP::Datasource.3 \
        SPOPS::Tool::ReadOnly.3 SPOPS::Tool::UTFConvert.3 \
        SPOPS::Utility.3

post-install:
.ifndef(NOPORTDOCS)
        @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
        @${MKDIR} ${EXAMPLESDIR}/My
        @${INSTALL_SCRIPT} ${WRKSRC}/eg/*.pl ${EXAMPLESDIR}
        @${INSTALL_DATA} ${WRKSRC}/eg/*.sql ${WRKSRC}/eg/README \
            ${EXAMPLESDIR}
        @${INSTALL_DATA} ${WRKSRC}/eg/My/*.pm ${EXAMPLESDIR}/My
.endif

.include <bsd.port.mk>