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

PORTNAME=	SPOPS
PORTVERSION=	0.61
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:S|/modules/by-module|/authors/id|}
MASTER_SITE_SUBDIR=	C/CW/CWINTERS
PKGNAMEPREFIX=	p5-

MAINTAINER=	skv@FreeBSD.org

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

PERL_CONFIGURE=	yes
CONFIGURE_ARGS=	</dev/null
PLIST_SUB+=	EXAMPLESDIR="share/examples/${PORTNAME}"

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
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::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::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::Hierarchy.3 SPOPS::Tie.3 \
		SPOPS::Tie::StrictField.3 SPOPS::Tool::DBI::Datasource.3 \
		SPOPS::Tool::DBI::DiscoverField.3 \
		SPOPS::Tool::DBI::FindDefaults.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>