Skip to content

Commit

Permalink
devel/rubygem-phonelib: Add rubygem-phonelib 0.8.8
Browse files Browse the repository at this point in the history
Phonelib is a gem allowing you to validate phone number. All validations are
based on Google libphonenumber. Currently it can make basic validations and
formatting to e164 international number format and national number format with
prefix. But it still doesn't include all Google's library functionality.
  • Loading branch information
sunpoet committed May 16, 2024
1 parent 655cf43 commit b5932ab
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7331,6 +7331,7 @@
SUBDIR += rubygem-peek-rails70
SUBDIR += rubygem-peek-rblineprof-rails52
SUBDIR += rubygem-peek-redis-rails52
SUBDIR += rubygem-phonelib
SUBDIR += rubygem-pkg-config
SUBDIR += rubygem-platform
SUBDIR += rubygem-pleaserun
Expand Down
17 changes: 17 additions & 0 deletions devel/rubygem-phonelib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
PORTNAME= phonelib
PORTVERSION= 0.8.8
CATEGORIES= devel rubygems
MASTER_SITES= RG

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Use Google libphonenumber's data file for validations and number formatting
WWW= https://github.com/daddyz/phonelib

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE

USES= gem

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/rubygem-phonelib/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1714227812
SHA256 (rubygem/phonelib-0.8.8.gem) = c2d826198b844f188e74398ec9416179a6acf12bec5d0b10efe9cb72bf1550c7
SIZE (rubygem/phonelib-0.8.8.gem) = 1035264
4 changes: 4 additions & 0 deletions devel/rubygem-phonelib/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Phonelib is a gem allowing you to validate phone number. All validations are
based on Google libphonenumber. Currently it can make basic validations and
formatting to e164 international number format and national number format with
prefix. But it still doesn't include all Google's library functionality.

0 comments on commit b5932ab

Please sign in to comment.