mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
Add p5-Class-DBI-Plugin-RetrieveAll 1, more complex retrieve_all() for
Class::DBI. This is a simple plugin to a Class::DBI subclass which provides a 'retrieve_all_sorted_by' method. WWW: http://search.cpan.org/dist/Class-DBI-Plugin-RetrieveAll/ PR: ports/65146 Submitted by: Lars Thegler <lars@thegler.dk>
This commit is contained in:
parent
82a1a467ee
commit
b5d0f2f386
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106139
@ -118,6 +118,7 @@
|
||||
SUBDIR += p5-Class-DBI-Oracle
|
||||
SUBDIR += p5-Class-DBI-Pager
|
||||
SUBDIR += p5-Class-DBI-Pg
|
||||
SUBDIR += p5-Class-DBI-Plugin-RetrieveAll
|
||||
SUBDIR += p5-Class-DBI-Replication
|
||||
SUBDIR += p5-Class-DBI-SAK
|
||||
SUBDIR += p5-Class-DBI-SQLite
|
||||
|
36
databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile
Normal file
36
databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: p5-Class-DBI-Plugin-RetrieveAll
|
||||
# Date created: Apr 2 2004
|
||||
# Whom: Lars Thegler <lars@thegler.dk>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Class-DBI-Plugin-RetrieveAll
|
||||
PORTVERSION= 1
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Class
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= lars@thegler.dk
|
||||
COMMENT= More complex retrieve_all() for Class::DBI
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Class::DBI::Plugin::RetrieveAll.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
||||
-e '$$_="" if /use warnings/;' \
|
||||
${WRKSRC}/lib/Class/DBI/Plugin/RetrieveAll.pm
|
||||
|
||||
post-configure:
|
||||
${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo
Normal file
2
databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Class-DBI-Plugin-RetrieveAll-1.tar.gz) = 90683c19c505813a4640f549d33bd5e4
|
||||
SIZE (Class-DBI-Plugin-RetrieveAll-1.tar.gz) = 7984
|
4
databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr
Normal file
4
databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is a simple plugin to a Class::DBI subclass which provides a
|
||||
'retrieve_all_sorted_by' method.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Class-DBI-Plugin-RetrieveAll/
|
9
databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist
Normal file
9
databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
%%SITE_PERL%%/Class/DBI/Plugin/RetrieveAll.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/RetrieveAll/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/RetrieveAll
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Class/DBI/Plugin 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user