37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# 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
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
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}
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
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
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mason
|
|
${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${EXAMPLESMASON:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}/mason
|
|
|
|
.include <bsd.port.mk>
|