Bug 177003

Summary: [MAINTAINER] comms/spandsp-devel: Port is now safe with NOPORTDOCS=yes
Product: Ports & Packages Reporter: nemysis <nemysis>
Component: Individual Port(s)Assignee: Beech Rintoul <beech>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
spandsp-devel-0.0.6.p21_1.patch
none
spandsp-devel.diff none

Description nemysis 2013-03-15 21:50:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-15 21:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 nemysis 2013-03-16 09:05:53 UTC
Move PORTDOCS= from .if variable to the top Makefile, sorry.
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-24 18:50:33 UTC
State Changed
From-To: open->patched

In progress
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-04-28 23:16:11 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"
Comment 5 Beech Rintoul freebsd_committer freebsd_triage 2013-04-28 23:16:16 UTC
State Changed
From-To: patched->closed

Committed, Thanks!