diff options
author | fluffy <fluffy@FreeBSD.org> | 2018-01-30 20:14:40 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2018-01-30 20:14:40 +0800 |
commit | c24bd1dbc36238b29bc46176c7bed2bb22bb9570 (patch) | |
tree | 90668957ad07747720a60f437bd1f11734037b91 | |
parent | 150ba79f8151be045a8fb235e6026530268b2921 (diff) | |
download | freebsd-ports-gnome-c24bd1dbc36238b29bc46176c7bed2bb22bb9570.tar.gz freebsd-ports-gnome-c24bd1dbc36238b29bc46176c7bed2bb22bb9570.tar.zst freebsd-ports-gnome-c24bd1dbc36238b29bc46176c7bed2bb22bb9570.zip |
- Make MAN3 documentation optional and OFF by default,
this will skip 50+ dependencies via textproc/groff
on recent systems without groff in base
- Bump PORTREVISION due to dependencies changes
Requested by: julian
-rw-r--r-- | dns/libasr-devel/Makefile | 10 | ||||
-rw-r--r-- | dns/libasr-devel/pkg-plist | 2 | ||||
-rw-r--r-- | dns/libasr/Makefile | 11 | ||||
-rw-r--r-- | dns/libasr/pkg-plist | 2 |
4 files changed, 21 insertions, 4 deletions
diff --git a/dns/libasr-devel/Makefile b/dns/libasr-devel/Makefile index e6f37a02e96e..04423286a322 100644 --- a/dns/libasr-devel/Makefile +++ b/dns/libasr-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= libasr PORTVERSION= 201602131606 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.opensmtpd.org/archives/ \ http://distfiles.pirateparty.in/ashish/ @@ -19,7 +20,14 @@ CONFLICTS= libasr-[0-9]* GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= groff libtool +OPTIONS_DEFINE= MAN3 +OPTIONS_SUB= yes + +MAN3_DESC= Install API manpages (section 3) +MAN3_USES= groff +MAN3_CONFIGURE_OFF= ac_cv_path_GROFF="" ac_cv_path_NROFF="" ac_cv_path_MANDOC="" + +USES= libtool ssl:build USE_LDCONFIG= yes .include <bsd.port.mk> diff --git a/dns/libasr-devel/pkg-plist b/dns/libasr-devel/pkg-plist index f90cd798bf99..da6f794c2767 100644 --- a/dns/libasr-devel/pkg-plist +++ b/dns/libasr-devel/pkg-plist @@ -3,4 +3,4 @@ lib/libasr.a lib/libasr.so lib/libasr.so.0 lib/libasr.so.0.0.2 -man/man3/asr_run.3.gz +%%MAN3%%man/man3/asr_run.3.gz diff --git a/dns/libasr/Makefile b/dns/libasr/Makefile index 3ed7b6733a57..ddcb41c47d96 100644 --- a/dns/libasr/Makefile +++ b/dns/libasr/Makefile @@ -3,6 +3,7 @@ PORTNAME= libasr PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.opensmtpd.org/archives/ \ http://distfiles.pirateparty.in/ashish/ @@ -18,7 +19,15 @@ CONFLICTS= libasr-devel-[0-9]* GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= groff libtool ssl:build +OPTIONS_DEFINE= MAN3 +OPTIONS_SUB= yes + +MAN3_DESC= Install API manpages (section 3) +MAN3_USES= groff +MAN3_CONFIGURE_OFF= ac_cv_path_GROFF="" ac_cv_path_NROFF="" ac_cv_path_MANDOC="" +MAN3_CONFIGURE_ON= --with-mantype="man" + +USES= libtool ssl:build USE_LDCONFIG= yes CFLAGS+= -I${OPENSSLINC} diff --git a/dns/libasr/pkg-plist b/dns/libasr/pkg-plist index f90cd798bf99..da6f794c2767 100644 --- a/dns/libasr/pkg-plist +++ b/dns/libasr/pkg-plist @@ -3,4 +3,4 @@ lib/libasr.a lib/libasr.so lib/libasr.so.0 lib/libasr.so.0.0.2 -man/man3/asr_run.3.gz +%%MAN3%%man/man3/asr_run.3.gz |