Bug 177038 - [MAINTAINER] audio/portaudio2 Port is now safe with NOPORTDOCS=yes
Summary: [MAINTAINER] audio/portaudio2 Port is now safe with NOPORTDOCS=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-16 23:50 UTC by nemysis
Modified: 2013-03-23 00:10 UTC (History)
0 users

See Also:


Attachments
portaudio2.diff (432 bytes, patch)
2013-03-16 23:50 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-16 23:50:00 UTC
Makefile changed:

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

Removed options DOCS

Generated and tested manually, tested with port test, sent with send-pr

How-To-Repeat: 
portlint -A
looks fine.

port test: clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-16 23:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-23 00:07:48 UTC
Author: beech
Date: Sat Mar 23 00:07:40 2013
New Revision: 314976
URL: http://svnweb.freebsd.org/changeset/ports/314976

Log:
  - Makefile tweaks
  - fix NOPORTDOCS
  
  PR:		ports/177038
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Modified:
  head/audio/portaudio2/Makefile
  head/audio/portaudio2/pkg-plist   (contents, props changed)

Modified: head/audio/portaudio2/Makefile
==============================================================================
--- head/audio/portaudio2/Makefile	Fri Mar 22 23:29:18 2013	(r314975)
+++ head/audio/portaudio2/Makefile	Sat Mar 23 00:07:40 2013	(r314976)
@@ -32,13 +32,14 @@ CPPFLAGS+=	-I${LOCALBASE}/include ${PTHR
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
 PORTDOCS=	*
+PORTEXAMPLES=	*
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}2
 
 DOCSRCDIR1=	${WRKSRC}
 DOC_FILES1=	README.txt index.html
 
-OPTIONS_DEFINE=	DOCS EXAMPLES JACK PATEST DOXYGEN
+OPTIONS_DEFINE=	JACK PATEST DOXYGEN
 OPTIONS_DEFAULT=PATEST DOXYGEN
 
 PATEST_DESC=	PortAudio Test Programs
@@ -70,6 +71,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|g' \
 		${WRKSRC}/Makefile.in
 
+.if ! ${PORT_OPTIONS:MEXAMPLES}
+	@${REINPLACE_CMD} -i '' '/EXAMPLES =/,/bin\/paex_write_sine_nonint/s/^/#/' \
+		${WRKSRC}/Makefile.in
+.endif
+
 post-install:
 .if ${PORT_OPTIONS:MPATEST}
 	@(cd ${WRKSRC}/bin && for i in *; do ${MV} "$$i" "$${i}"-2; done)
@@ -87,7 +93,7 @@ post-install:
 .endif
 
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/audio/portaudio2/pkg-plist
==============================================================================
--- head/audio/portaudio2/pkg-plist	Fri Mar 22 23:29:18 2013	(r314975)
+++ head/audio/portaudio2/pkg-plist	Sat Mar 23 00:07:40 2013	(r314976)
@@ -1,13 +1,13 @@
-%%PATEST%%bin/pa_devs-2
-%%PATEST%%bin/pa_fuzz-2
+%%PORTEXAMPLES%%bin/pa_devs-2
+%%PORTEXAMPLES%%bin/pa_fuzz-2
 %%PATEST%%bin/pa_minlat-2
-%%PATEST%%bin/paex_pink-2
-%%PATEST%%bin/paex_read_write_wire-2
-%%PATEST%%bin/paex_record-2
-%%PATEST%%bin/paex_saw-2
-%%PATEST%%bin/paex_sine-2
-%%PATEST%%bin/paex_write_sine-2
-%%PATEST%%bin/paex_write_sine_nonint-2
+%%PORTEXAMPLES%%bin/paex_pink-2
+%%PORTEXAMPLES%%bin/paex_read_write_wire-2
+%%PORTEXAMPLES%%bin/paex_record-2
+%%PORTEXAMPLES%%bin/paex_saw-2
+%%PORTEXAMPLES%%bin/paex_sine-2
+%%PORTEXAMPLES%%bin/paex_write_sine-2
+%%PORTEXAMPLES%%bin/paex_write_sine_nonint-2
 %%PATEST%%bin/paqa_devs-2
 %%PATEST%%bin/paqa_errs-2
 %%PATEST%%bin/paqa_latency-2
@@ -46,18 +46,5 @@ lib/portaudio2/libportaudio.la
 lib/portaudio2/libportaudio.so
 lib/portaudio2/libportaudio.so.2
 libdata/pkgconfig/portaudio-2.0.pc
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pa_devs.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pa_fuzz.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_mono_asio_channel_select.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_pink.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_read_write_wire.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_record.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_saw.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_sine.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_wmme_ac3.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_wmme_surround.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_write_sine.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paex_write_sine_nonint.c
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrm lib/portaudio2
 @dirrm include/portaudio2
_______________________________________________
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 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-23 00:08:02 UTC
State Changed
From-To: open->closed

Committed, Thanks!