Support staging.

This commit is contained in:
Emanuel Haupt 2014-02-05 13:43:06 +00:00
parent 7fb63a7d64
commit 58fb45f3dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342698
25 changed files with 55 additions and 78 deletions

View File

@ -14,9 +14,7 @@ BUILD_DEPENDS= p5-Class-DBI>=0:${PORTSDIR}/databases/p5-Class-DBI \
USES= perl5
USE_PERL5= configure
MAN3= Class::DBI::Plugin::Senna.3
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == ia64

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/Class/DBI/Plugin/Senna.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Senna/.packlist
%%PERL5_MAN3%%/Class::DBI::Plugin::Senna.3.gz
@dirrmtry %%SITE_PERL%%/Class/DBI/Plugin
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Senna
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin

View File

@ -20,13 +20,10 @@ EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
USES= perl5
USE_PERL5= configure
MAN3= DBD::Excel.3
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -13,6 +13,7 @@
%%PORTDOCS%%share/examples/DBD-Excel/texj.pl
%%PORTDOCS%%share/examples/DBD-Excel/thidden.pl
%%PORTDOCS%%share/examples/DBD-Excel/thidden.xls
%%PERL5_MAN3%%/DBD::Excel.3.gz
@dirrmtry %%SITE_PERL%%/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Excel
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD

View File

@ -21,8 +21,4 @@ RUN_DEPENDS= p5-DBIx-Class>=0.07003:${PORTSDIR}/databases/p5-DBIx-Class \
USES= perl5
USE_PERL5= configure
MAN1= dbicdeploy.1
MAN3= DBICx::Deploy.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,4 +1,6 @@
bin/dbicdeploy
%%PERL5_MAN3%%/DBICx::Deploy.3.gz
man/man1/dbicdeploy.1.gz
%%SITE_PERL%%/DBICx/Deploy.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBICx/Deploy/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBICx/Deploy

View File

@ -9,21 +9,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for fast, safe DBI connection management
RUN_DEPENDS= \
p5-DBI>=1.605:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= p5-DBI>=1.605:${PORTSDIR}/databases/p5-DBI
BUILD_DEPENDS:= ${RUN_DEPENDS}
TEST_DEPENDS= p5-Test-MockModule>=0:${PORTSDIR}/devel/p5-Test-MockModule
USES= perl5
USE_PERL5= modbuild
MAN3= DBIx::Connector.3 \
DBIx::Connector::Driver.3 \
DBIx::Connector::Driver::MSSQL.3 \
DBIx::Connector::Driver::Oracle.3 \
DBIx::Connector::Driver::Pg.3 \
DBIx::Connector::Driver::SQLite.3 \
DBIx::Connector::Driver::mysql.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -5,6 +5,13 @@
%%SITE_PERL%%/DBIx/Connector/Driver/Pg.pm
%%SITE_PERL%%/DBIx/Connector/Driver/SQLite.pm
%%SITE_PERL%%/DBIx/Connector/Driver/mysql.pm
%%PERL5_MAN3%%/DBIx::Connector.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver::MSSQL.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver::Oracle.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver::Pg.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver::SQLite.3.gz
%%PERL5_MAN3%%/DBIx::Connector::Driver::mysql.3.gz
@dirrm %%SITE_PERL%%/DBIx/Connector/Driver
@dirrm %%SITE_PERL%%/DBIx/Connector
@dirrmtry %%SITE_PERL%%/DBIx

View File

@ -22,11 +22,4 @@ TEST_DEPENDS= \
USES= perl5
USE_PERL5= modbuild
MAN3= DBIx::Inspector.3 \
DBIx::Inspector::Column.3 \
DBIx::Inspector::ForeignKey.3 \
DBIx::Inspector::Iterator.3 \
DBIx::Inspector::Table.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -11,6 +11,11 @@
%%SITE_PERL%%/DBIx/Inspector/Iterator/Null.pm
%%SITE_PERL%%/DBIx/Inspector/Table.pm
%%SITE_PERL%%/DBIx/Inspector/Table/Pg.pm
%%PERL5_MAN3%%/DBIx::Inspector.3.gz
%%PERL5_MAN3%%/DBIx::Inspector::Column.3.gz
%%PERL5_MAN3%%/DBIx::Inspector::ForeignKey.3.gz
%%PERL5_MAN3%%/DBIx::Inspector::Iterator.3.gz
%%PERL5_MAN3%%/DBIx::Inspector::Table.3.gz
@dirrm %%SITE_PERL%%/DBIx/Inspector/Table
@dirrm %%SITE_PERL%%/DBIx/Inspector/Iterator
@dirrm %%SITE_PERL%%/DBIx/Inspector/ForeignKey

View File

@ -20,9 +20,6 @@ TEST_DEPENDS= \
USES= perl5
USE_PERL5= modbuild
MAN3= DBIx::QueryLog.3
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400

View File

@ -1,2 +1,3 @@
%%SITE_PERL%%/DBIx/QueryLog.pm
%%PERL5_MAN3%%/DBIx::QueryLog.3.gz
@dirrmtry %%SITE_PERL%%/DBIx

View File

@ -21,12 +21,6 @@ TEXT_TABLE_DESC= Create plain text table from data
USES= perl5
USE_PERL5= configure
MAN3= DBIx::Simple.3 \
DBIx::Simple::Examples.3 \
DBIx::Simple::Comparison.3 \
DBIx::Simple::Result::RowObject.3
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQL_INTERP}

View File

@ -3,6 +3,10 @@
%%SITE_PERL%%/DBIx/Simple/Examples.pod
%%SITE_PERL%%/DBIx/Simple/Result/RowObject.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Simple/.packlist
%%PERL5_MAN3%%/DBIx::Simple.3.gz
%%PERL5_MAN3%%/DBIx::Simple::Comparison.3.gz
%%PERL5_MAN3%%/DBIx::Simple::Examples.3.gz
%%PERL5_MAN3%%/DBIx::Simple::Result::RowObject.3.gz
@dirrm %%SITE_PERL%%/DBIx/Simple/Result
@dirrm %%SITE_PERL%%/DBIx/Simple
@dirrmtry %%SITE_PERL%%/DBIx

View File

@ -27,9 +27,4 @@ RUN_DEPENDS= p5-DBD-SQLite>=1.31:${PORTSDIR}/databases/p5-DBD-SQLite \
USES= perl5
USE_PERL5= configure
MAN1= migrate_schema.1
MAN3= DBIx::VersionedDDL.3 \
DBIx::VersionedDDL::Plugin::DefaultScriptProcessor.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -2,6 +2,9 @@ bin/migrate_schema
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/VersionedDDL/.packlist
%%SITE_PERL%%/DBIx/VersionedDDL.pm
%%SITE_PERL%%/DBIx/VersionedDDL/Plugin/DefaultScriptProcessor.pm
%%PERL5_MAN3%%/DBIx::VersionedDDL.3.gz
%%PERL5_MAN3%%/DBIx::VersionedDDL::Plugin::DefaultScriptProcessor.3.gz
man/man1/migrate_schema.1.gz
@dirrm %%SITE_PERL%%/DBIx/VersionedDDL/Plugin
@dirrm %%SITE_PERL%%/DBIx/VersionedDDL
@dirrmtry %%SITE_PERL%%/DBIx

View File

@ -13,5 +13,4 @@ COMMENT= Parse the gigantic dmoz.org content file into smaller parts
USES= perl5
USE_PERL5= configure
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -15,20 +15,12 @@ BUILD_DEPENDS= p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USES= perl5 shebangfix
USE_PERL5= configure
MAN1= mysqldiff.1
MAN3= MySQL::Diff.3 \
MySQL::Diff::Database.3 \
MySQL::Diff::Table.3 \
MySQL::Diff::Utils.3
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/bin/mysqldiff
SHEBANG_FILES= bin/mysqldiff
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,9 +1,14 @@
bin/mysqldiff
man/man1/mysqldiff.1.gz
%%SITE_PERL%%/MySQL/Diff.pm
%%SITE_PERL%%/MySQL/Diff/Database.pm
%%SITE_PERL%%/MySQL/Diff/Table.pm
%%SITE_PERL%%/MySQL/Diff/Utils.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff/.packlist
%%PERL5_MAN3%%/MySQL::Diff.3.gz
%%PERL5_MAN3%%/MySQL::Diff::Database.3.gz
%%PERL5_MAN3%%/MySQL::Diff::Table.3.gz
%%PERL5_MAN3%%/MySQL::Diff::Utils.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL
@dirrm %%SITE_PERL%%/MySQL/Diff

View File

@ -21,13 +21,4 @@ TEST_DEPENDS= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple \
USES= perl5
USE_PERL5= modbuild
MAN3= SQL::Maker.3 \
SQL::Maker::Condition.3 \
SQL::Maker::Plugin::InsertMulti.3 \
SQL::Maker::Plugin::InsertOnDuplicate.3 \
SQL::Maker::SQLType.3 \
SQL::Maker::Select.3 \
SQL::Maker::SelectSet.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -7,6 +7,13 @@
%%SITE_PERL%%/SQL/Maker/Select/Oracle.pm
%%SITE_PERL%%/SQL/Maker/SelectSet.pm
%%SITE_PERL%%/SQL/Maker/Util.pm
%%PERL5_MAN3%%/SQL::Maker.3.gz
%%PERL5_MAN3%%/SQL::Maker::Condition.3.gz
%%PERL5_MAN3%%/SQL::Maker::Plugin::InsertMulti.3.gz
%%PERL5_MAN3%%/SQL::Maker::Plugin::InsertOnDuplicate.3.gz
%%PERL5_MAN3%%/SQL::Maker::SQLType.3.gz
%%PERL5_MAN3%%/SQL::Maker::Select.3.gz
%%PERL5_MAN3%%/SQL::Maker::SelectSet.3.gz
@dirrm %%SITE_PERL%%/SQL/Maker/Select
@dirrm %%SITE_PERL%%/SQL/Maker/Plugin
@dirrm %%SITE_PERL%%/SQL/Maker

View File

@ -22,12 +22,4 @@ TEST_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
USES= perl5
USE_PERL5= configure
MAN1= make_database_yaml.pl.1 \
make_fixture_yaml.pl.1
MAN3= Test::Fixture::DBI.3 \
Test::Fixture::DBI::Util.3 \
Test::Fixture::DBI::Util::SQLite.3 \
Test::Fixture::DBI::Util::mysql.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -5,6 +5,12 @@ bin/make_fixture_yaml.pl
%%SITE_PERL%%/Test/Fixture/DBI/Util.pm
%%SITE_PERL%%/Test/Fixture/DBI/Util/SQLite.pm
%%SITE_PERL%%/Test/Fixture/DBI/Util/mysql.pm
%%PERL5_MAN3%%/Test::Fixture::DBI.3.gz
%%PERL5_MAN3%%/Test::Fixture::DBI::Util.3.gz
%%PERL5_MAN3%%/Test::Fixture::DBI::Util::SQLite.3.gz
%%PERL5_MAN3%%/Test::Fixture::DBI::Util::mysql.3.gz
man/man1/make_database_yaml.pl.1.gz
man/man1/make_fixture_yaml.pl.1.gz
@dirrm %%SITE_PERL%%/Test/Fixture/DBI/Util
@dirrm %%SITE_PERL%%/Test/Fixture/DBI
@dirrmtry %%SITE_PERL%%/Test/Fixture

View File

@ -17,12 +17,6 @@ TEST_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
USES= perl5
USE_PERL5= configure patch
MAN3= Text::Query::BuildSQLMifluz.3 Text::Query::BuildSQLMySQL.3 \
Text::Query::BuildSQLFulcrum.3 Text::Query::BuildSQL.3 \
Text::Query::BuildSQLPg.3 Text::Query::SolveSQL.3 \
Bundle::Text::Query::BuildSQL.3
NO_STAGE= yes
pre-patch:
@${PERL} -pi -e '/DBI/ and $$_=""' ${WRKSRC}/Makefile.PL

View File

@ -6,6 +6,13 @@
%%SITE_PERL%%/Text/Query/BuildSQLPg.pm
%%SITE_PERL%%/Text/Query/SolveSQL.pm
%%SITE_PERL%%/Bundle/Text/Query/BuildSQL.pm
%%PERL5_MAN3%%/Bundle::Text::Query::BuildSQL.3.gz
%%PERL5_MAN3%%/Text::Query::BuildSQL.3.gz
%%PERL5_MAN3%%/Text::Query::BuildSQLFulcrum.3.gz
%%PERL5_MAN3%%/Text::Query::BuildSQLMifluz.3.gz
%%PERL5_MAN3%%/Text::Query::BuildSQLMySQL.3.gz
%%PERL5_MAN3%%/Text::Query::BuildSQLPg.3.gz
%%PERL5_MAN3%%/Text::Query::SolveSQL.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Query/SQL
@dirrmtry %%SITE_PERL%%/Bundle/Text/Query
@dirrmtry %%SITE_PERL%%/Bundle/Text