aboutsummaryrefslogtreecommitdiff
path: root/dns/libasr
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2018-01-30 12:14:40 +0000
committerDima Panov <fluffy@FreeBSD.org>2018-01-30 12:14:40 +0000
commite80e0a412545ff61e1b09dc9b83d37dc9ec7b8af (patch)
tree90668957ad07747720a60f437bd1f11734037b91 /dns/libasr
parentb87d705335c1acbae95945a38434dca34be5fe66 (diff)
downloadports-e80e0a412545ff61e1b09dc9b83d37dc9ec7b8af.tar.gz
ports-e80e0a412545ff61e1b09dc9b83d37dc9ec7b8af.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
Notes
Notes: svn path=/head/; revision=460381
Diffstat (limited to 'dns/libasr')
-rw-r--r--dns/libasr/Makefile11
-rw-r--r--dns/libasr/pkg-plist2
2 files changed, 11 insertions, 2 deletions
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