Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 12:14:40 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460381 - in head/dns: libasr libasr-devel
Message-ID:  <201801301214.w0UCEew0038524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Tue Jan 30 12:14:40 2018
New Revision: 460381
URL: https://svnweb.freebsd.org/changeset/ports/460381

Log:
  - 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

Modified:
  head/dns/libasr-devel/Makefile
  head/dns/libasr-devel/pkg-plist
  head/dns/libasr/Makefile
  head/dns/libasr/pkg-plist

Modified: head/dns/libasr-devel/Makefile
==============================================================================
--- head/dns/libasr-devel/Makefile	Tue Jan 30 10:54:48 2018	(r460380)
+++ head/dns/libasr-devel/Makefile	Tue Jan 30 12:14:40 2018	(r460381)
@@ -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>

Modified: head/dns/libasr-devel/pkg-plist
==============================================================================
--- head/dns/libasr-devel/pkg-plist	Tue Jan 30 10:54:48 2018	(r460380)
+++ head/dns/libasr-devel/pkg-plist	Tue Jan 30 12:14:40 2018	(r460381)
@@ -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

Modified: head/dns/libasr/Makefile
==============================================================================
--- head/dns/libasr/Makefile	Tue Jan 30 10:54:48 2018	(r460380)
+++ head/dns/libasr/Makefile	Tue Jan 30 12:14:40 2018	(r460381)
@@ -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}

Modified: head/dns/libasr/pkg-plist
==============================================================================
--- head/dns/libasr/pkg-plist	Tue Jan 30 10:54:48 2018	(r460380)
+++ head/dns/libasr/pkg-plist	Tue Jan 30 12:14:40 2018	(r460381)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801301214.w0UCEew0038524>