blob: 74a9fc5159529d6d7d7c8225900c165157705d7f (
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: mat
# $FreeBSD$
PORTNAME= Alzabo
PORTVERSION= 0.92
CATEGORIES= devel databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Data modelling tool and RDBMS-OO mapper
BUILD_DEPENDS= p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
p5-Class-Factory-Util>=0:${PORTSDIR}/devel/p5-Class-Factory-Util \
p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= \
Alzabo.3 \
Alzabo::BackCompat.3 \
Alzabo::ChangeTracker.3 \
Alzabo::Column.3 \
Alzabo::ColumnDefinition.3 \
Alzabo::Config.3 \
Alzabo::Create.3 \
Alzabo::Create::Column.3 \
Alzabo::Create::ColumnDefinition.3 \
Alzabo::Create::ForeignKey.3 \
Alzabo::Create::Index.3 \
Alzabo::Create::Schema.3 \
Alzabo::Create::Table.3 \
Alzabo::Debug.3 \
Alzabo::Design.3 \
Alzabo::Driver.3 \
Alzabo::Driver::MySQL.3 \
Alzabo::Driver::PostgreSQL.3 \
Alzabo::Exceptions.3 \
Alzabo::FAQ.3 \
Alzabo::ForeignKey.3 \
Alzabo::Index.3 \
Alzabo::Intro.3 \
Alzabo::MethodMaker.3 \
Alzabo::MySQL.3 \
Alzabo::PostgreSQL.3 \
Alzabo::QuickRef.3 \
Alzabo::RDBMSRules.3 \
Alzabo::RDBMSRules::MySQL.3 \
Alzabo::RDBMSRules::PostgreSQL.3 \
Alzabo::Runtime.3 \
Alzabo::Runtime::Column.3 \
Alzabo::Runtime::ColumnDefinition.3 \
Alzabo::Runtime::Cursor.3 \
Alzabo::Runtime::ForeignKey.3 \
Alzabo::Runtime::Index.3 \
Alzabo::Runtime::InsertHandle.3 \
Alzabo::Runtime::JoinCursor.3 \
Alzabo::Runtime::Row.3 \
Alzabo::Runtime::RowCursor.3 \
Alzabo::Runtime::RowState::Deleted.3 \
Alzabo::Runtime::RowState::InCache.3 \
Alzabo::Runtime::RowState::Live.3 \
Alzabo::Runtime::RowState::Potential.3 \
Alzabo::Runtime::Schema.3 \
Alzabo::Runtime::Table.3 \
Alzabo::Runtime::UniqueRowCache.3 \
Alzabo::SQLMaker.3 \
Alzabo::SQLMaker::MySQL.3 \
Alzabo::SQLMaker::PostgreSQL.3 \
Alzabo::Schema.3 \
Alzabo::Table.3 \
Alzabo::Utils.3
.if !defined(NOPORTDOCS)
EXAMPLES= eg/alzabo_grep eg/alzabo_to_ascii eg/convert.pl eg/reverse_cardinality.pl
EXAMPLESMASON= mason/widgets/edit_field_checkbox mason/widgets/edit_field_text_input mason/widgets/edit_field_textarea mason/widgets/fk_to_one_select mason/widgets/insert mason/widgets/insert_or_update mason/widgets/update
PORTDOCS= README Changes TODO
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/mason
@${INSTALL_DATA} ${EXAMPLESMASON:S|^|${WRKSRC}/|} ${EXAMPLESDIR}/mason
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
@${FIND} -P ${EXAMPLESDIR} ! -type d 2>/dev/null | \
${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
@${FIND} -P -d ${EXAMPLESDIR} -type d 2>/dev/null | \
${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
|