Aloha,

it just wanted an upgrade of libidn2, but decided to install ruby and
all her friends

   ===>>> The following actions will be taken if you choose to proceed:
           Upgrade libidn2-2.0.2 to libidn2-2.0.3
           Install textproc/rubygem-ronn
           Install devel/ruby-gems
           Install lang/ruby23
           Install devel/libunwind
           Install devel/rubygem-mustache
           Install textproc/rubygem-rdiscount
           Install www/rubygem-hpricot

/usr/ports/dns/libidn2/Makefile:

   BUILD_DEPENDS=  ronn:textproc/rubygem-ronn

All that just to build manual pages and i can not even opt out?  this is
not helpful.

Maybe the attach will do.

The patch is sadly not ready to be committed in this form. It uses the old OPTION style which should not be used anymore. But its a good start! :)

Attached an updated patch. I will also send it to sunpoet (maintainer) and will ask for approval.

Greetings,
Torsten
--
Support me at:
https://www.patreon.com/TorstenZuehlsdorff
Index: Makefile
===================================================================
--- Makefile	(Revision 446668)
+++ Makefile	(Arbeitskopie)
@@ -12,11 +12,16 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	ronn:textproc/rubygem-ronn
 LIB_DEPENDS=	libunistring.so:devel/libunistring
 
+OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	ronn:textproc/rubygem-ronn
+
 CONFIGURE_ARGS=	--disable-nls \
 		--with-libunistring-prefix=${LOCALBASE}
+
+DOCS_CONFIGURE_OFF=	--disable-doc
+
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
Index: pkg-plist
===================================================================
--- pkg-plist	(Revision 446668)
+++ pkg-plist	(Arbeitskopie)
@@ -5,35 +5,35 @@
 lib/libidn2.so.0
 lib/libidn2.so.0.3.2
 libdata/pkgconfig/libidn2.pc
-man/man1/idn2.1.gz
-man/man3/idn2_check_version.3.gz
-man/man3/idn2_free.3.gz
-man/man3/idn2_lookup_u8.3.gz
-man/man3/idn2_lookup_ul.3.gz
-man/man3/idn2_register_u8.3.gz
-man/man3/idn2_register_ul.3.gz
-man/man3/idn2_strerror.3.gz
-man/man3/idn2_strerror_name.3.gz
-man/man3/idn2_to_ascii_4i.3.gz
-man/man3/idn2_to_ascii_4z.3.gz
-man/man3/idn2_to_ascii_8z.3.gz
-man/man3/idn2_to_ascii_lz.3.gz
-man/man3/idn2_to_unicode_44i.3.gz
-man/man3/idn2_to_unicode_4z4z.3.gz
-man/man3/idn2_to_unicode_8z4z.3.gz
-man/man3/idn2_to_unicode_8z8z.3.gz
-man/man3/idn2_to_unicode_8zlz.3.gz
-man/man3/idn2_to_unicode_lzlz.3.gz
-share/gtk-doc/html/libidn2/api-index-full.html
-share/gtk-doc/html/libidn2/home.png
-share/gtk-doc/html/libidn2/index.html
-share/gtk-doc/html/libidn2/left-insensitive.png
-share/gtk-doc/html/libidn2/left.png
-share/gtk-doc/html/libidn2/libidn2-idn2.html
-share/gtk-doc/html/libidn2/libidn2.devhelp2
-share/gtk-doc/html/libidn2/libidn2.html
-share/gtk-doc/html/libidn2/right-insensitive.png
-share/gtk-doc/html/libidn2/right.png
-share/gtk-doc/html/libidn2/style.css
-share/gtk-doc/html/libidn2/up-insensitive.png
-share/gtk-doc/html/libidn2/up.png
+%%PORTDOCS%%man/man1/idn2.1.gz
+%%PORTDOCS%%man/man3/idn2_check_version.3.gz
+%%PORTDOCS%%man/man3/idn2_free.3.gz
+%%PORTDOCS%%man/man3/idn2_lookup_u8.3.gz
+%%PORTDOCS%%man/man3/idn2_lookup_ul.3.gz
+%%PORTDOCS%%man/man3/idn2_register_u8.3.gz
+%%PORTDOCS%%man/man3/idn2_register_ul.3.gz
+%%PORTDOCS%%man/man3/idn2_strerror.3.gz
+%%PORTDOCS%%man/man3/idn2_strerror_name.3.gz
+%%PORTDOCS%%man/man3/idn2_to_ascii_4i.3.gz
+%%PORTDOCS%%man/man3/idn2_to_ascii_4z.3.gz
+%%PORTDOCS%%man/man3/idn2_to_ascii_8z.3.gz
+%%PORTDOCS%%man/man3/idn2_to_ascii_lz.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_44i.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_4z4z.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_8z4z.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_8z8z.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_8zlz.3.gz
+%%PORTDOCS%%man/man3/idn2_to_unicode_lzlz.3.gz
+%%PORTDOCS%%share/gtk-doc/html/libidn2/api-index-full.html
+%%PORTDOCS%%share/gtk-doc/html/libidn2/home.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/index.html
+%%PORTDOCS%%share/gtk-doc/html/libidn2/left-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/left.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2-idn2.html
+%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2.devhelp2
+%%PORTDOCS%%share/gtk-doc/html/libidn2/libidn2.html
+%%PORTDOCS%%share/gtk-doc/html/libidn2/right-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/right.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/style.css
+%%PORTDOCS%%share/gtk-doc/html/libidn2/up-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libidn2/up.png
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to