From nemysis@gmx.ch  Fri Mar 15 21:49:39 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id AB872DA5
	for <freebsd-gnats-submit@freebsd.org>; Fri, 15 Mar 2013 21:49:39 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22])
	by mx1.freebsd.org (Postfix) with ESMTP id 454F07EF
	for <freebsd-gnats-submit@freebsd.org>; Fri, 15 Mar 2013 21:49:38 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.24]) by mrigmx.server.lan
 (mrigmx002) with ESMTP (Nemesis) id 0LlKmm-1UqDyO0D1K-00b1q0 for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Mar 2013 22:49:38 +0100
Received: (qmail invoked by alias); 15 Mar 2013 21:49:36 -0000
Received: from 38-21.104-92.cust.bluewin.ch (EHLO something.email.com) [92.104.21.38]
  by mail.gmx.net (mp024) with SMTP; 15 Mar 2013 22:49:36 +0100
Received: by something.email.com (sSMTP sendmail emulation); Fri, 15 Mar 2013 22:49:35 +0100
Message-Id: <20130315214939.AB872DA5@hub.freebsd.org>
Date: Fri, 15 Mar 2013 22:49:35 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] comms/spandsp-devel: Port is now safe with NOPORTDOCS=yes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         177003
>Category:       ports
>Synopsis:       [MAINTAINER] comms/spandsp-devel: Port is now safe with NOPORTDOCS=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 15 21:50:00 UTC 2013
>Closed-Date:    Sun Apr 28 22:16:30 UTC 2013
>Last-Modified:  Sun Apr 28 22:20:00 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Makefile changed:
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} <-- to install only if are enabled Doxygen and DOCS

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

Port is now safe with NOPORTDOCS=yes in /etc/make.conf

port test: clean

>Fix:

--- spandsp-devel-0.0.6.p21_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/comms/spandsp-devel/Makefile ./Makefile
--- /usr/ports/comms/spandsp-devel/Makefile	2013-02-15 20:10:11.000000000 +0100
+++ ./Makefile	2013-03-15 22:39:14.000000000 +0100
@@ -2,6 +2,7 @@
 
 PORTNAME=	spandsp
 DISTVERSION=	0.0.6pre21
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.soft-switch.org/downloads/spandsp/
 PKGNAMESUFFIX=	-devel
@@ -30,7 +31,7 @@
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
 CONFIGURE_ARGS+=--enable-doc
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
 		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
@@ -41,7 +42,7 @@
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	(cd ${WRKSRC}/doc && \
 		${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1")
--- spandsp-devel-0.0.6.p21_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 15 21:50:07 UTC 2013 
Responsible-Changed-Why:  
beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177003 

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177003: [MAINTAINER] comms/spandsp-devel: Port is now
 safe with NOPORTDOCS=yes
Date: Sat, 16 Mar 2013 10:05:53 +0100

 --MP_/BOwfaeL52yUJu870o7/Vxak
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Move PORTDOCS= from .if variable to the top Makefile, sorry.
 --MP_/BOwfaeL52yUJu870o7/Vxak
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=spandsp-devel.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/comms/spandsp-devel/Makefile ./Makefile
 --- /usr/ports/comms/spandsp-devel/Makefile	2013-02-15 20:10:11.000000000 +0100
 +++ ./Makefile	2013-03-16 09:58:57.000000000 +0100
 @@ -2,6 +2,7 @@
  
  PORTNAME=	spandsp
  DISTVERSION=	0.0.6pre21
 +PORTREVISION=	1
  CATEGORIES=	comms
  MASTER_SITES=	http://www.soft-switch.org/downloads/spandsp/
  PKGNAMESUFFIX=	-devel
 @@ -28,20 +29,21 @@
  
  OPTIONS_DEFINE=	DOXYGEN
  
 +PORTDOCS=	*
 +
  .include <bsd.port.options.mk>
  
 -.if ${PORT_OPTIONS:MDOXYGEN}
 +.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
  CONFIGURE_ARGS+=--enable-doc
  BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
  		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
  USE_GNOME+=	libxslt
 -PORTDOCS=	*
  .else
  CONFIGURE_ARGS+=--disable-doc
  .endif
  
  post-install:
 -.if ${PORT_OPTIONS:MDOXYGEN}
 +.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
  	${MKDIR} ${DOCSDIR}
  	(cd ${WRKSRC}/doc && \
  		${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1")
 ===> Done
 
 --MP_/BOwfaeL52yUJu870o7/Vxak--
State-Changed-From-To: open->patched 
State-Changed-By: beech 
State-Changed-When: Sun Mar 24 18:50:33 UTC 2013 
State-Changed-Why:  
In progress 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177003 
State-Changed-From-To: patched->closed 
State-Changed-By: beech 
State-Changed-When: Sun Apr 28 22:16:16 UTC 2013 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177003 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177003: commit references a PR
Date: Sun, 28 Apr 2013 22:16:11 +0000 (UTC)

 Author: beech
 Date: Sun Apr 28 22:16:02 2013
 New Revision: 316761
 URL: http://svnweb.freebsd.org/changeset/ports/316761
 
 Log:
   - Safe with NOPORTDOCS=yes
   
   PR:		ports/177003
   Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
 
 Modified:
   head/comms/spandsp-devel/Makefile
 
 Modified: head/comms/spandsp-devel/Makefile
 ==============================================================================
 --- head/comms/spandsp-devel/Makefile	Sun Apr 28 22:11:47 2013	(r316760)
 +++ head/comms/spandsp-devel/Makefile	Sun Apr 28 22:16:02 2013	(r316761)
 @@ -2,6 +2,7 @@
  
  PORTNAME=	spandsp
  DISTVERSION=	0.0.6pre21
 +PORTREVISION=	1
  CATEGORIES=	comms
  MASTER_SITES=	http://www.soft-switch.org/downloads/spandsp/
  PKGNAMESUFFIX=	-devel
 @@ -28,20 +29,21 @@ CONFLICTS=	spandsp-[0-9]*
  
  OPTIONS_DEFINE=	DOXYGEN
  
 +PORTDOCS=	*
 +
  .include <bsd.port.options.mk>
  
 -.if ${PORT_OPTIONS:MDOXYGEN}
 +.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
  CONFIGURE_ARGS+=--enable-doc
  BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
  		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
  USE_GNOME+=	libxslt
 -PORTDOCS=	*
  .else
  CONFIGURE_ARGS+=--disable-doc
  .endif
  
  post-install:
 -.if ${PORT_OPTIONS:MDOXYGEN}
 +.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
  	${MKDIR} ${DOCSDIR}
  	(cd ${WRKSRC}/doc && \
  		${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1")
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
