diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-16 06:13:41 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-16 06:21:50 +0000 |
| commit | b5932aba5e6a74eb6ac59e71e3edd0357d7844a5 (patch) | |
| tree | 0573ec78c3e8d35423ed0c2b986c91728891eb5e | |
| parent | 655cf434eb550038269992481b9c0f8ab3fbea73 (diff) | |
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.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/rubygem-phonelib/Makefile | 17 | ||||
| -rw-r--r-- | devel/rubygem-phonelib/distinfo | 3 | ||||
| -rw-r--r-- | devel/rubygem-phonelib/pkg-descr | 4 |
4 files changed, 25 insertions, 0 deletions
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. |
