From owner-svn-ports-head@freebsd.org Tue Sep 11 22:27:27 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8257A109F41A; Tue, 11 Sep 2018 22:27:27 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37E498D2C5; Tue, 11 Sep 2018 22:27:27 +0000 (UTC) (envelope-from ehaupt@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E3671DEFC; Tue, 11 Sep 2018 22:27:27 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8BMRRJw014330; Tue, 11 Sep 2018 22:27:27 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8BMRQnd014327; Tue, 11 Sep 2018 22:27:26 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201809112227.w8BMRQnd014327@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Tue, 11 Sep 2018 22:27:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479570 - head/audio/libopenmpt X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/audio/libopenmpt X-SVN-Commit-Revision: 479570 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.27 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, 11 Sep 2018 22:27:27 -0000 Author: ehaupt Date: Tue Sep 11 22:27:26 2018 New Revision: 479570 URL: https://svnweb.freebsd.org/changeset/ports/479570 Log: - Use distfile with bundled autotools files - Provide options for MPG123, OGG, VORBIS, PORTAUDIO, SNDFILE, FLAC - Install manpage - Don't install license twice Modified: head/audio/libopenmpt/Makefile head/audio/libopenmpt/distinfo head/audio/libopenmpt/pkg-plist Modified: head/audio/libopenmpt/Makefile ============================================================================== --- head/audio/libopenmpt/Makefile Tue Sep 11 20:55:38 2018 (r479569) +++ head/audio/libopenmpt/Makefile Tue Sep 11 22:27:26 2018 (r479570) @@ -3,7 +3,10 @@ PORTNAME= libopenmpt PORTVERSION= 0.3.11 +DISTVERSIONSUFFIX= +release.autotools +PORTREVISION= 1 CATEGORIES= audio +MASTER_SITES= https://lib.openmpt.org/files/libopenmpt/src/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Module music library based on OpenMPT @@ -11,19 +14,33 @@ COMMENT= Module music library based on OpenMPT LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake pkgconfig +USES= gmake libtool pkgconfig +GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_GITHUB= yes -GH_ACCOUNT= OpenMPT -GH_PROJECT= openmpt -GH_TAGNAME= ${PORTNAME}-${PORTVERSION} +CONFIGURE_ARGS+= --without-portaudiocpp -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES FLAC MPG123 OGG PORTAUDIO SNDFILE VORBIS +OPTIONS_DEFAULT=FLAC MPG123 OGG PORTAUDIO SNDFILE VORBIS -post-patch: - @${REINPLACE_CMD} -e \ - 's|$$(PREFIX)/share/doc/libopenmpt/examples|${EXAMPLESDIR}|g' \ - ${WRKSRC}/Makefile +FLAC_LIB_DEPENDS= libFLAC.so:audio/flac +MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 +OGG_LIB_DEPENDS= libogg.so:audio/libogg +PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio +SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile +VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis + +FLAC_CONFIGURE_WITH= flac +MPG123_CONFIGURE_WITH= mpg123 +OGG_CONFIGURE_WITH= ogg +PORTAUDIO_CONFIGURE_WITH= portaudio +SNDFILE_CONFIGURE_WITH= sndfile +VORBIS_CONFIGURE_WITH= vorbis vorbisfile + +post-install-DOCS-on: + @${RM} ${STAGEDIR}${DOCSDIR}/LICENSE # do not install twice + +post-install-EXAMPLES-on: + @${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/audio/libopenmpt/distinfo ============================================================================== --- head/audio/libopenmpt/distinfo Tue Sep 11 20:55:38 2018 (r479569) +++ head/audio/libopenmpt/distinfo Tue Sep 11 22:27:26 2018 (r479570) @@ -1,3 +1,3 @@ -TIMESTAMP = 1536677968 -SHA256 (OpenMPT-openmpt-0.3.11-libopenmpt-0.3.11_GH0.tar.gz) = 416355f542e2cbfde987e5af3d26c7ee15648c6c457ae19e55fe38dd2f40b942 -SIZE (OpenMPT-openmpt-0.3.11-libopenmpt-0.3.11_GH0.tar.gz) = 12049714 +TIMESTAMP = 1536696218 +SHA256 (libopenmpt-0.3.11+release.autotools.tar.gz) = df1ec44212e9f73b33d5aa4970cf3fb7ce27c9fef88d1d1a8be79271c4c705e6 +SIZE (libopenmpt-0.3.11+release.autotools.tar.gz) = 1412893 Modified: head/audio/libopenmpt/pkg-plist ============================================================================== --- head/audio/libopenmpt/pkg-plist Tue Sep 11 20:55:38 2018 (r479569) +++ head/audio/libopenmpt/pkg-plist Tue Sep 11 22:27:26 2018 (r479570) @@ -10,13 +10,13 @@ include/libopenmpt/libopenmpt_stream_callbacks_file.h include/libopenmpt/libopenmpt_version.h lib/libopenmpt.a lib/libopenmpt.so -lib/libopenmpt.so.1 +lib/libopenmpt.so.0 +lib/libopenmpt.so.0.1.1 libdata/pkgconfig/libopenmpt.pc -%%PORTDOCS%%%%DOCSDIR%%/LICENSE +man/man1/openmpt123.1.gz %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_mem.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_pipe.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_probe.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_stdout.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_unsafe.c