From nemysis@gmx.ch  Wed Jul  3 13:39:46 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 8EA42570;
	Wed,  3 Jul 2013 13:39:46 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18])
	by mx1.freebsd.org (Postfix) with ESMTP id 34D0A1D0B;
	Wed,  3 Jul 2013 13:39:45 +0000 (UTC)
Received: from something.email.com ([83.77.80.5]) by mail.gmx.com (mrgmx103)
 with ESMTPSA (Nemesis) id 0Md31i-1UdOf510ok-00IHAi; Wed, 03 Jul 2013 15:39:38
 +0200
Received: by something.email.com (sSMTP sendmail emulation); Wed, 03 Jul 2013 15:39:34 +0200
Message-Id: <0LpKY5-1UG6qV3D1x-00f8yx@mail.gmx.com>
Date: Wed, 03 Jul 2013 15:39:34 +0200
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jpaetzel@FreeBSD.org
Subject: [MAINTAINER] audio/alure: Remove unnecessary STATIC LIB
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         180235
>Category:       ports
>Synopsis:       [MAINTAINER] audio/alure: Remove unnecessary STATIC LIB
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 03 13:40:00 UTC 2013
>Closed-Date:    Sun Jul 14 18:11:55 UTC 2013
>Last-Modified:  Sun Jul 14 18:11:55 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013
>Description:

- Bump portrevision
- Trim Makefile header
- Add DOCS EXAMPLES Option
- Trim docs, examples
- Remove unnecessary STATIC LIB
- Trim typo \* --> .
- Trim pkg-plist, remove docs, examples, static library

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

Upstream has suggested to disable STATIC LIB and use dynamic libraries.

Build log

https://redports.org/buildarchive/20130703105100-12374/

>Fix:

--- alure-1.2_2.patch begins here ---
diff -ruN /usr/ports/audio/alure/Makefile ./Makefile
--- /usr/ports/audio/alure/Makefile	2013-06-10 15:04:45.000000000 +0200
+++ ./Makefile	2013-07-03 12:49:12.000000000 +0200
@@ -1,9 +1,9 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD: head/audio/alure/Makefile 320405 2013-06-09 19:30:58Z naddy $
 
 PORTNAME=	alure
 PORTVERSION=	1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://kcat.strangesoft.net/alure-releases/
 
@@ -14,13 +14,16 @@
 
 LIB_DEPENDS+=	sndfile:${PORTSDIR}/audio/libsndfile
 
+USES=		cmake
 USE_OPENAL=	soft
 USE_LDCONFIG=	yes
-USES=		cmake
 
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=		VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH DOCS EXAMPLES
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=		DOCS EXAMPLES VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH
 OPTIONS_DEFAULT=	VORBIS FLAC DUMB
 
 DUMB_DESC=		DUMB audio library decoding support
@@ -92,6 +95,7 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
+		-e 's|"Build the static version of the library" ON)|"Build the static version of the library" OFF)|' \
 		-e 's|"ModPlug support (for IT/XM/S3M/MOD)" OFF)|"ModPlug support (for IT/XM/S3M/MOD)" ON)|' \
 		${WRKSRC}/CMakeLists.txt
 	@${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|' \
@@ -110,8 +114,8 @@
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+	@${MKDIR} ${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/audio/alure/pkg-plist ./pkg-plist
--- /usr/ports/audio/alure/pkg-plist	2013-06-02 19:00:34.000000000 +0200
+++ ./pkg-plist	2013-07-03 12:05:37.000000000 +0200
@@ -2,45 +2,8 @@
 bin/alureplay
 bin/alurestream
 include/AL/alure.h
-lib/libalure-static.a
 lib/libalure.so
 lib/libalure.so.1
 lib/libalure.so.1.2.0
-libdata/pkgconfig/alure-static.pc
 libdata/pkgconfig/alure.pc
-%%PORTDOCS%%%%DOCSDIR%%/html/files/alure-cpp.html
-%%PORTDOCS%%%%DOCSDIR%%/html/files/buffer-cpp.html
-%%PORTDOCS%%%%DOCSDIR%%/html/files/istream-cpp.html
-%%PORTDOCS%%%%DOCSDIR%%/html/files/stream-cpp.html
-%%PORTDOCS%%%%DOCSDIR%%/html/files/streamplay-cpp.html
-%%PORTDOCS%%%%DOCSDIR%%/html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/html/index/Functions.html
-%%PORTDOCS%%%%DOCSDIR%%/html/index/General.html
-%%PORTDOCS%%%%DOCSDIR%%/html/javascript/main.js
-%%PORTDOCS%%%%DOCSDIR%%/html/javascript/searchdata.js
-%%PORTDOCS%%%%DOCSDIR%%/html/search/FunctionsA.html
-%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralA.html
-%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralF.html
-%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralM.html
-%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralS.html
-%%PORTDOCS%%%%DOCSDIR%%/html/search/NoResults.html
-%%PORTDOCS%%%%DOCSDIR%%/html/styles/1.css
-%%PORTDOCS%%%%DOCSDIR%%/html/styles/2.css
-%%PORTDOCS%%%%DOCSDIR%%/html/styles/main.css
-%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/CustomStyle.css
-%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Languages.txt
-%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Menu.txt
-%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Topics.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurecdplay.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alureplay.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurestream.c
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/naturaldocs
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/styles
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/search
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/javascript
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/index
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/files
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry include/AL
--- alure-1.2_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Jul 3 16:07:59 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

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

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180235: [MAINTAINER] audio/alure: Remove unnecessary
 STATIC LIB
Date: Sat, 13 Jul 2013 19:23:44 +0200

 --MP_/2_u=W6jJ4jaWwMz9YTaQSpy
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 - Bump portrevision
 - Trim Makefile header
 - Add DOCS EXAMPLES STATIC Option
 - Trim docs, examples
 - Trim STATIC LIB
 - Trim typo \* --> .
 - Trim pkg-plist, remove docs, examples
 --MP_/2_u=W6jJ4jaWwMz9YTaQSpy
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=alure.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN /usr/ports/audio/alure/Makefile ./Makefile
 --- /usr/ports/audio/alure/Makefile	2013-06-10 15:04:45.000000000 +0200
 +++ ./Makefile	2013-07-13 19:15:48.000000000 +0200
 @@ -1,9 +1,9 @@
 -# Created by: nemysis@gmx.ch
 +# Created by: nemysis <nemysis@gmx.ch>
  # $FreeBSD: head/audio/alure/Makefile 320405 2013-06-09 19:30:58Z naddy $
  
  PORTNAME=	alure
  PORTVERSION=	1.2
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	audio
  MASTER_SITES=	http://kcat.strangesoft.net/alure-releases/
  
 @@ -14,13 +14,16 @@
  
  LIB_DEPENDS+=	sndfile:${PORTSDIR}/audio/libsndfile
  
 +USES=		cmake pkgconfig
  USE_OPENAL=	soft
  USE_LDCONFIG=	yes
 -USES=		cmake
  
  CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
  
 -OPTIONS_DEFINE=		VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH DOCS EXAMPLES
 +PORTDOCS=	*
 +PORTEXAMPLES=	*
 +
 +OPTIONS_DEFINE=		DOCS EXAMPLES STATIC VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH
  OPTIONS_DEFAULT=	VORBIS FLAC DUMB
  
  DUMB_DESC=		DUMB audio library decoding support
 @@ -90,12 +93,16 @@
  PLIST_SUB+=	PORTDOCS="@comment "
  .endif
  
 +.if ${PORT_OPTIONS:MSTATIC}
 +PLIST_SUB+=	STATIC=""
 +.else
 +PLIST_SUB+=	STATIC="@comment "
 +.endif
 +
  post-patch:
  	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
  		-e 's|"ModPlug support (for IT/XM/S3M/MOD)" OFF)|"ModPlug support (for IT/XM/S3M/MOD)" ON)|' \
  		${WRKSRC}/CMakeLists.txt
 -	@${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|' \
 -		${WRKSRC}/XCompile.txt
  
  .if ${PORT_OPTIONS:MDOCS}
  	@${REINPLACE_CMD} \
 @@ -108,10 +115,15 @@
  	@${REINPLACE_CMD} -i '' -e '/INSTALL(DIRECTORY "$${ALURE_SOURCE_DIR}/,+2d' ${WRKSRC}/CMakeLists.txt
  .endif
  
 +.if ! ${PORT_OPTIONS:MSTATIC}
 +	@${REINPLACE_CMD} -e 's|"Build the static version of the library" ON)|"Build the static version of the library" OFF)|' \
 +		${WRKSRC}/CMakeLists.txt
 +.endif
 +
  post-install:
  .if ${PORT_OPTIONS:MEXAMPLES}
 -	${MKDIR} ${EXAMPLESDIR}
 -	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
 +	@${MKDIR} ${EXAMPLESDIR}
 +	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
  .endif
  
  .include <bsd.port.mk>
 diff -ruN /usr/ports/audio/alure/pkg-plist ./pkg-plist
 --- /usr/ports/audio/alure/pkg-plist	2013-06-02 19:00:34.000000000 +0200
 +++ ./pkg-plist	2013-07-13 19:09:33.000000000 +0200
 @@ -2,45 +2,10 @@
  bin/alureplay
  bin/alurestream
  include/AL/alure.h
 -lib/libalure-static.a
 +%%STATIC%%lib/libalure-static.a
  lib/libalure.so
  lib/libalure.so.1
  lib/libalure.so.1.2.0
 -libdata/pkgconfig/alure-static.pc
 +%%STATIC%%libdata/pkgconfig/alure-static.pc
  libdata/pkgconfig/alure.pc
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/alure-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/buffer-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/istream-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/stream-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/streamplay-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index/Functions.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index/General.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/main.js
 -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/searchdata.js
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/FunctionsA.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralA.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralF.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralM.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralS.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/NoResults.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/1.css
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/2.css
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/main.css
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/CustomStyle.css
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Languages.txt
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Menu.txt
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Topics.txt
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurecdplay.c
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alureplay.c
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurestream.c
 -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/naturaldocs
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/styles
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/search
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/javascript
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/index
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/files
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%
  @dirrmtry include/AL
 ===> Done
 
 --MP_/2_u=W6jJ4jaWwMz9YTaQSpy--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180235: commit references a PR
Date: Sun, 14 Jul 2013 18:07:45 +0000 (UTC)

 Author: wg
 Date: Sun Jul 14 18:07:37 2013
 New Revision: 322994
 URL: http://svnweb.freebsd.org/changeset/ports/322994
 
 Log:
   audio/alure: minor fixes
   
   - Use pkgconfig
   - Add DOCS, EXAMPLES and STATIC options
   - Remove unused PLIST_SUB and convert to OPTIONS_SUB
   
   PR:		ports/180235
   Submitted by:	nemysis <nemysis gmx.ch> (maintainer)
 
 Modified:
   head/audio/alure/Makefile
   head/audio/alure/pkg-plist
 
 Modified: head/audio/alure/Makefile
 ==============================================================================
 --- head/audio/alure/Makefile	Sun Jul 14 16:22:29 2013	(r322993)
 +++ head/audio/alure/Makefile	Sun Jul 14 18:07:37 2013	(r322994)
 @@ -1,9 +1,9 @@
 -# Created by: nemysis@gmx.ch
 +# Created by: nemysis <nemysis@gmx.ch>
  # $FreeBSD$
  
  PORTNAME=	alure
  PORTVERSION=	1.2
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	audio
  MASTER_SITES=	http://kcat.strangesoft.net/alure-releases/
  
 @@ -12,90 +12,78 @@ COMMENT=	Utility library to help manage 
  
  LICENSE=	MIT
  
 -LIB_DEPENDS+=	sndfile:${PORTSDIR}/audio/libsndfile
 +LIB_DEPENDS=	sndfile:${PORTSDIR}/audio/libsndfile
  
 +USES=		cmake pkgconfig
  USE_OPENAL=	soft
  USE_LDCONFIG=	yes
 -USES=		cmake
  
  CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
  
 -OPTIONS_DEFINE=		VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH DOCS EXAMPLES
 +PORTDOCS=	*
 +PORTEXAMPLES=	*
 +
 +OPTIONS_DEFINE=		DOCS EXAMPLES STATIC VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH
  OPTIONS_DEFAULT=	VORBIS FLAC DUMB
  
  DUMB_DESC=		DUMB audio library decoding support
  MODPLUG_DESC=		MOD decoding via ModPlug
  FLUIDSYNTH_DESC=	MIDI support via FluidSynth
  
 +OPTIONS_SUB=	yes
 +
  .include <bsd.port.options.mk>
  
  .if ${PORT_OPTIONS:MVORBIS}
 -PLIST_SUB+=	VORBIS=""
  LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_VORBIS:BOOL=TRUE
  .else
 -PLIST_SUB+=	VORBIS="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_VORBIS:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MFLAC}
 -PLIST_SUB+=	FLAC=""
  LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_FLAC:BOOL=TRUE
  .else
 -PLIST_SUB+=	FLAC="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_FLAC:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MMPG123}
 -PLIST_SUB+=	MPG123=""
  LIB_DEPENDS+=	mpg123:${PORTSDIR}/audio/mpg123
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_MPG123:BOOL=TRUE
  .else
 -PLIST_SUB+=	mpg123="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_MPG123:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MDUMB}
 -PLIST_SUB+=	DUMB=""
  BUILD_DEPENDS+=	${LOCALBASE}/include/dumb.h:${PORTSDIR}/audio/dumb-allegro
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_DUMB:BOOL=TRUE
  .else
 -PLIST_SUB+=	DUMB="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_DUMB:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MMODPLUG}
 -PLIST_SUB+=	MODPLUG=""
  BUILD_DEPENDS+=	${LOCALBASE}/include/libmodplug/modplug.h:${PORTSDIR}/audio/libmodplug
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_MODPLUG:BOOL=TRUE
  .else
 -PLIST_SUB+=	MODPLUG="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_MODPLUG:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MFLUIDSYNTH}
 -PLIST_SUB+=	FLUIDSYNTH=""
  LIB_DEPENDS+=	fluidsynth:${PORTSDIR}/audio/fluidsynth
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_FLUIDSYNTH:BOOL=TRUE
  .else
 -PLIST_SUB+=	FLUIDSYNTH="@comment "
  PLUGIN_OPTIONS_CMAKE+=	-DUSE_FLUIDSYNTH:BOOL=FALSE
  .endif
  
  .if ${PORT_OPTIONS:MDOCS}
  BUILD_DEPENDS+=	NaturalDocs:${PORTSDIR}/devel/naturaldocs
 -PLIST_SUB+=	PORTDOCS=""
 -.else
 -PLIST_SUB+=	PORTDOCS="@comment "
  .endif
  
  post-patch:
  	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
  		-e 's|"ModPlug support (for IT/XM/S3M/MOD)" OFF)|"ModPlug support (for IT/XM/S3M/MOD)" ON)|' \
  		${WRKSRC}/CMakeLists.txt
 -	@${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|' \
 -		${WRKSRC}/XCompile.txt
  
  .if ${PORT_OPTIONS:MDOCS}
  	@${REINPLACE_CMD} \
 @@ -108,10 +96,15 @@ post-patch:
  	@${REINPLACE_CMD} -i '' -e '/INSTALL(DIRECTORY "$${ALURE_SOURCE_DIR}/,+2d' ${WRKSRC}/CMakeLists.txt
  .endif
  
 +.if ! ${PORT_OPTIONS:MSTATIC}
 +	@${REINPLACE_CMD} -e 's|"Build the static version of the library" ON)|"Build the static version of the library" OFF)|' \
 +		${WRKSRC}/CMakeLists.txt
 +.endif
 +
  post-install:
  .if ${PORT_OPTIONS:MEXAMPLES}
 -	${MKDIR} ${EXAMPLESDIR}
 -	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
 +	@${MKDIR} ${EXAMPLESDIR}
 +	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
  .endif
  
  .include <bsd.port.mk>
 
 Modified: head/audio/alure/pkg-plist
 ==============================================================================
 --- head/audio/alure/pkg-plist	Sun Jul 14 16:22:29 2013	(r322993)
 +++ head/audio/alure/pkg-plist	Sun Jul 14 18:07:37 2013	(r322994)
 @@ -2,45 +2,10 @@ bin/alurecdplay
  bin/alureplay
  bin/alurestream
  include/AL/alure.h
 -lib/libalure-static.a
 +%%STATIC%%lib/libalure-static.a
  lib/libalure.so
  lib/libalure.so.1
  lib/libalure.so.1.2.0
 -libdata/pkgconfig/alure-static.pc
 +%%STATIC%%libdata/pkgconfig/alure-static.pc
  libdata/pkgconfig/alure.pc
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/alure-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/buffer-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/istream-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/stream-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/files/streamplay-cpp.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index/Functions.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/index/General.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/main.js
 -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/searchdata.js
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/FunctionsA.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralA.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralF.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralM.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralS.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/search/NoResults.html
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/1.css
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/2.css
 -%%PORTDOCS%%%%DOCSDIR%%/html/styles/main.css
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/CustomStyle.css
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Languages.txt
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Menu.txt
 -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Topics.txt
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurecdplay.c
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alureplay.c
 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurestream.c
 -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/naturaldocs
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/styles
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/search
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/javascript
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/index
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/files
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%
  @dirrmtry include/AL
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Sun Jul 14 18:11:54 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180235 
>Unformatted:
 Severity:	non-critical
