SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
databases/p5-Sort-SQL/Makefile
Normal file
12
databases/p5-Sort-SQL/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
COMMENT= manipulate SQL sort strings
|
||||
|
||||
MODULES= cpan
|
||||
PKG_ARCH= *
|
||||
DISTNAME= Sort-SQL-0.08
|
||||
REVISION= 1
|
||||
CATEGORIES= databases devel
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/p5-Sort-SQL/distinfo
Normal file
2
databases/p5-Sort-SQL/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Sort-SQL-0.08.tar.gz) = FNQKjoievd5WZ4X2Jm/LNPJ6kIWlP5Af1VGuRtIVQu4=
|
||||
SIZE (Sort-SQL-0.08.tar.gz) = 3642
|
11
databases/p5-Sort-SQL/pkg/DESCR
Normal file
11
databases/p5-Sort-SQL/pkg/DESCR
Normal file
|
@ -0,0 +1,11 @@
|
|||
Sort::SQL is so simple it almost doesn't deserve to be on CPAN. But since I kept
|
||||
finding myself copy/pasting this method into multiple places, I finally figured
|
||||
it deserved to live in its own class.
|
||||
|
||||
Sort::SQL implements one method: string2array().
|
||||
|
||||
Takes a scalar string of the SQL C<ORDER BY> syntax and turns it into
|
||||
an array of key/value pair hashrefs.
|
||||
|
||||
This method can be used e.g. in Template Toolkit applications, to create
|
||||
re-sortable table columns.
|
3
databases/p5-Sort-SQL/pkg/PLIST
Normal file
3
databases/p5-Sort-SQL/pkg/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
${P5SITE}/Sort/
|
||||
${P5SITE}/Sort/SQL.pm
|
||||
@man man/man3p/Sort::SQL.3p
|
Loading…
Add table
Add a link
Reference in a new issue