git: b5932aba5e6a - main - devel/rubygem-phonelib: Add rubygem-phonelib 0.8.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 May 2024 06:29:32 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5932aba5e6a74eb6ac59e71e3edd0357d7844a5 commit b5932aba5e6a74eb6ac59e71e3edd0357d7844a5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-16 06:13:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-16 06:21:50 +0000 devel/rubygem-phonelib: Add rubygem-phonelib 0.8.8 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. --- devel/Makefile | 1 + devel/rubygem-phonelib/Makefile | 17 +++++++++++++++++ devel/rubygem-phonelib/distinfo | 3 +++ devel/rubygem-phonelib/pkg-descr | 4 ++++ 4 files changed, 25 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2baf4927b5cc..1e37b5b9ba7b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/rubygem-phonelib/Makefile b/devel/rubygem-phonelib/Makefile new file mode 100644 index 000000000000..2506f76274e2 --- /dev/null +++ b/devel/rubygem-phonelib/Makefile @@ -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> diff --git a/devel/rubygem-phonelib/distinfo b/devel/rubygem-phonelib/distinfo new file mode 100644 index 000000000000..12a90a4e8dc3 --- /dev/null +++ b/devel/rubygem-phonelib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227812 +SHA256 (rubygem/phonelib-0.8.8.gem) = c2d826198b844f188e74398ec9416179a6acf12bec5d0b10efe9cb72bf1550c7 +SIZE (rubygem/phonelib-0.8.8.gem) = 1035264 diff --git a/devel/rubygem-phonelib/pkg-descr b/devel/rubygem-phonelib/pkg-descr new file mode 100644 index 000000000000..a1ea0f739ea1 --- /dev/null +++ b/devel/rubygem-phonelib/pkg-descr @@ -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.