From owner-svn-ports-head@freebsd.org Tue Aug 8 17:53:37 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5DD5DC643C; Tue, 8 Aug 2017 17:53:37 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFCCA6C4D7; Tue, 8 Aug 2017 17:53:37 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v78Hra2L031279; Tue, 8 Aug 2017 17:53:36 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v78Hrap4031275; Tue, 8 Aug 2017 17:53:36 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201708081753.v78Hrap4031275@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Tue, 8 Aug 2017 17:53:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447551 - head/audio/wildmidi X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: head/audio/wildmidi X-SVN-Commit-Revision: 447551 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 17:53:37 -0000 Author: ultima Date: Tue Aug 8 17:53:36 2017 New Revision: 447551 URL: https://svnweb.freebsd.org/changeset/ports/447551 Log: * Updated to 0.4.1 * Cleanup Makefile PR: 220843 Submitted by: SimaMoto,RyōTa (maintainer) Reviewed by: matthew (mentor), mat Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11831 Modified: head/audio/wildmidi/Makefile head/audio/wildmidi/distinfo head/audio/wildmidi/pkg-plist Modified: head/audio/wildmidi/Makefile ============================================================================== --- head/audio/wildmidi/Makefile Tue Aug 8 17:36:35 2017 (r447550) +++ head/audio/wildmidi/Makefile Tue Aug 8 17:53:36 2017 (r447551) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= wildmidi -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= audio @@ -11,35 +11,29 @@ COMMENT= Simple software midi player and core softsynt # player: GPLv3, library: LGPL3 LICENSE= LGPL3 -USE_GITHUB= yes -GH_ACCOUNT= Mindwerks - USES= cmake:outsource USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= Mindwerks + OPTIONS_SUB= yes OPTIONS_RADIO= BACKEND OPTIONS_RADIO_BACKEND= ALSA OPENAL OSS OPTIONS_DEFINE= PLAYER PLAYERSTATIC STATIC OPTIONS_DEFAULT= ALSA PLAYER -STATIC_CMAKE_ON= -DWANT_STATIC:BOOL=ON -STATIC_CMAKE_OFF= -DWANT_STATIC:BOOL=OFF +STATIC_CMAKE_BOOL= WANT_STATIC PLAYER_DESC= Simple player PLAYERSTATIC_DESC= Simple player using STATIC libWildMidi BACKEND_DESC= Sound system PLAYER and PLAYERSTATIC use -PLAYER_CMAKE_ON= -DWANT_PLAYER:BOOL=ON -PLAYER_CMAKE_OFF= -DWANT_PLAYER:BOOL=OFF -PLAYERSTATIC_CMAKE_ON= -DWANT_PLAYERSTATIC:BOOL=ON -PLAYERSTATIC_CMAKE_OFF= -DWANT_PLAYERSTATIC:BOOL=OFF +PLAYER_CMAKE_BOOL= WANT_PLAYER +PLAYERSTATIC_CMAKE_BOOL= WANT_PLAYERSTATIC PLAYERSTATIC_IMPLIES= STATIC -ALSA_CMAKE_ON= -DWANT_ALSA:BOOL=ON -ALSA_CMAKE_OFF= -DWANT_ALSA:BOOL=OFF -OPENAL_CMAKE_ON= -DWANT_OPENAL:BOOL=ON -OPENAL_CMAKE_OFF= -DWANT_OPENAL:BOOL=OFF -OSS_CMAKE_ON= -DWANT_OSS:BOOL=ON -OSS_CMAKE_OFF= -DWANT_OSS:BOOL=OFF +ALSA_CMAKE_BOOL= WANT_ALSA +OPENAL_CMAKE_BOOL= WANT_OPENAL +OSS_CMAKE_BOOL= WANT_OSS .include @@ -59,18 +53,17 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_wm__tty.c .endif post-patch: - @${GREP} -L ${LOCALBASE} ${WRKSRC}/cfg/wildmidi.cfg | ${XARGS} \ - ${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \ + ${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \ -e "s|/usr/share/midi/freepats|${LOCALBASE}/share/freepats|;" \ -e "h; x; s|^|# |; s|freepats|guspat|; H; s|guspat|eawpats|; H;" \ - -e "s|eawpats|eawplus|; H; x;}" - @${GREP} -L ${LOCALBASE} ${WRKSRC}/docs/man/man1/wildmidi.1 \ + -e "s|eawpats|eawplus|; H; x;}" ${WRKSRC}/cfg/wildmidi.cfg + ${REINPLACE_CMD} -e 's@/etc/wildmidi/@${DATADIR}/@' \ + -e 's@/etc/@${DATADIR}/@' ${WRKSRC}/docs/man/man1/wildmidi.1 \ ${WRKSRC}/docs/man/man5/wildmidi.cfg.5 \ - ${WRKSRC}/CMakeLists.txt | ${XARGS} \ - ${REINPLACE_CMD} -e 's@/etc/wildmidi/@${DATADIR}/@' \ - -e 's@/etc/@${DATADIR}/@' - @${GREP} -l share/man ${WRKSRC}/src/CMakeLists.txt | ${XARGS} \ - ${REINPLACE_CMD} '/INSTALL/s@share/man@man@' + ${WRKSRC}/CMakeLists.txt + ${REINPLACE_CMD} -e '/INSTALL/s@share/man@man@' \ + -e '/pkgconfig/s/$${WILDMIDILIB_INSTALLDIR}/libdata/' \ + ${WRKSRC}/src/CMakeLists.txt pre-install: @${RM} ${WRKSRC}/docs/man/man1/wildmidi.1${REINPLACE_ARGS:S/-i//} \ Modified: head/audio/wildmidi/distinfo ============================================================================== --- head/audio/wildmidi/distinfo Tue Aug 8 17:36:35 2017 (r447550) +++ head/audio/wildmidi/distinfo Tue Aug 8 17:53:36 2017 (r447551) @@ -1,3 +1,3 @@ -TIMESTAMP = 1466091419 -SHA256 (Mindwerks-wildmidi-wildmidi-0.4.0_GH0.tar.gz) = ca2064f6fbab37250ab4fff4aed00d6d4fa24254718661e3e2f56b1536015d23 -SIZE (Mindwerks-wildmidi-wildmidi-0.4.0_GH0.tar.gz) = 175575 +TIMESTAMP = 1491656038 +SHA256 (Mindwerks-wildmidi-wildmidi-0.4.1_GH0.tar.gz) = 880f1cb5bf68589915a82a8e603ff561bdda7ddb5864c15ad28b5428d4abf9ea +SIZE (Mindwerks-wildmidi-wildmidi-0.4.1_GH0.tar.gz) = 191368 Modified: head/audio/wildmidi/pkg-plist ============================================================================== --- head/audio/wildmidi/pkg-plist Tue Aug 8 17:36:35 2017 (r447550) +++ head/audio/wildmidi/pkg-plist Tue Aug 8 17:53:36 2017 (r447551) @@ -4,7 +4,8 @@ include/wildmidi_lib.h %%STATIC%%lib/libWildMidi.a lib/libWildMidi.so lib/libWildMidi.so.2 -lib/libWildMidi.so.2.0.0 +lib/libWildMidi.so.2.0.1 +libdata/pkgconfig/wildmidi.pc man/man1/wildmidi.1.gz man/man3/WildMidi_ClearError.3.gz man/man3/WildMidi_Close.3.gz