From owner-svn-ports-all@freebsd.org Fri Dec 28 12:38:21 2018 Return-Path: Delivered-To: svn-ports-all@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 ECAEF1437AF5; Fri, 28 Dec 2018 12:38:20 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92AC289307; Fri, 28 Dec 2018 12:38:20 +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 85FF122F33; Fri, 28 Dec 2018 12:38:20 +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 wBSCcKLC028031; Fri, 28 Dec 2018 12:38:20 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBSCcJD7028026; Fri, 28 Dec 2018 12:38:19 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201812281238.wBSCcJD7028026@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Fri, 28 Dec 2018 12:38:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488598 - in head/audio/gbsplay: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/audio/gbsplay: . files X-SVN-Commit-Revision: 488598 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 92AC289307 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 12:38:21 -0000 Author: ehaupt Date: Fri Dec 28 12:38:19 2018 New Revision: 488598 URL: https://svnweb.freebsd.org/changeset/ports/488598 Log: - Update to 0.0.93-130-g6225989 and use version in compliance with PHP section 5.14. This requires a PORTEPOCH bump. - Provide an OPTION for installing bash completions - Pacify portlint Added: head/audio/gbsplay/files/ head/audio/gbsplay/files/patch-Makefile (contents, props changed) head/audio/gbsplay/files/patch-configure (contents, props changed) Modified: head/audio/gbsplay/Makefile head/audio/gbsplay/distinfo head/audio/gbsplay/pkg-plist Modified: head/audio/gbsplay/Makefile ============================================================================== --- head/audio/gbsplay/Makefile Fri Dec 28 12:03:14 2018 (r488597) +++ head/audio/gbsplay/Makefile Fri Dec 28 12:38:19 2018 (r488598) @@ -2,92 +2,56 @@ # $FreeBSD$ PORTNAME= gbsplay -PORTVERSION= 0.0.93.20161217 -PORTREVISION= 6 +DISTVERSION= 0.0.93-130 +DISTVERSIONSUFFIX= -g6225989 +PORTEPOCH= 1 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Emulates the sound hardware of the Nintendo Game Boy(TM) LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -USES= gmake compiler:c++11-lib +USES= compiler:c++11-lib desktop-file-utils gmake localbase:ldflags \ + shared-mime-info +USE_CSTD= gnu89 + USE_GITHUB= yes GH_ACCOUNT= mmitch -GH_TAGNAME= 2c4486e + HAS_CONFIGURE= yes -USE_CSTD= gnu89 -CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --prefix=${PREFIX} --without-xmmsplugin \ + --sysconfdir=${PREFIX}/etc -CONFIGURE_ARGS+= --without-xmmsplugin +MAKE_ENV+= EXAMPLESDIR="${STAGEDIR}${EXAMPLESDIR}" -MANPAGE1= gbsplay.1 gbsinfo.1 -MANPAGE5= gbsplayrc.5 -PORTDOCS= COPYRIGHT HISTORY README - -OPTIONS_DEFINE= DOCS NAS NLS +OPTIONS_DEFINE= BASH_COMPLETIONS DOCS EXAMPLES NAS NLS +OPTIONS_DEFAULT=BASH_COMPLETIONS OPTIONS_SUB= yes +BASH_COMPLETIONS_DESC= Install bash completions + NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CONFIGURE_ENABLE= nas NLS_CONFIGURE_OFF= --disable-i18n NLS_USES= gettext -NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl +NLS_LDFLAGS= -lintl -.include - post-patch: - @${REINPLACE_CMD} \ - -e 's|^\(default.*\)test|\1|' \ - -e 's#md5sum | cut -f1 -d..#md5 -q#' \ - ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e \ - '/^need_include\ /d; \ - 468s|char argc|int argc|; \ - s|/usr/local/include|${LOCALBASE}/include|; \ - s|/usr/local/lib|${LOCALBASE}/lib|; \ - s|/usr/X11R6/include||; \ - s|/usr/X11R6/lib||; \ - s|/usr/X11/lib|${LOCALBASE}/lib|; \ - s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \ - s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \ - s|-march=$$ARCH||' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/\(etc/gbsplayrc\)|${PREFIX}/\1|' \ - ${WRKSRC}/gbsplay.c \ - ${WRKSRC}/gbsplay.in.1 \ - ${WRKSRC}/gbsplayrc.in.5 + @${REINPLACE_CMD} -e "s|/etc/\(gbsplayrc\)|${PREFIX}/etc/\1|" \ + ${WRKSRC}/man/gbsplay.in.1 ${WRKSRC}/man/gbsplayrc.in.5 -do-install: -.for f in ${PORTNAME} gbsinfo - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin -.endfor - -.for f in ${MANPAGE1} ${MANPAGE5} - ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN${f:E}PREFIX}/man/man${f:E} -.endfor - - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs \ - ${STAGEDIR}${EXAMPLESDIR} - +post-install: ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.sample -.if !exists(${STAGEDIR}${PREFIX}/etc/gbsplayrc) - ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ - ${STAGEDIR}${PREFIX}/etc/gbsplayrc -.endif + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gbsplay \ + ${STAGEDIR}${PREFIX}/bin/gbsinfo -.if ${PORT_OPTIONS:MNLS} -.for l in de en - ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \ - ${STAGEDIR}${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo -.endfor -.endif - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor +post-install-BASH_COMPLETIONS-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKSRC}/contrib/gbsplay.bashcompletion \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} .include Modified: head/audio/gbsplay/distinfo ============================================================================== --- head/audio/gbsplay/distinfo Fri Dec 28 12:03:14 2018 (r488597) +++ head/audio/gbsplay/distinfo Fri Dec 28 12:38:19 2018 (r488598) @@ -1,3 +1,3 @@ -TIMESTAMP = 1486032638 -SHA256 (mmitch-gbsplay-0.0.93.20161217-2c4486e_GH0.tar.gz) = 07358b957397b565bbe66e3b515ff22b33f5eb1f8381f8ce7f9a29a6d729901d -SIZE (mmitch-gbsplay-0.0.93.20161217-2c4486e_GH0.tar.gz) = 126791 +TIMESTAMP = 1545989371 +SHA256 (mmitch-gbsplay-0.0.93-130-g6225989_GH0.tar.gz) = 00bc00bbec4a66edef6dfd71df4c0b55c28fa9b65cc614381ae258576fdd1622 +SIZE (mmitch-gbsplay-0.0.93-130-g6225989_GH0.tar.gz) = 129907 Added: head/audio/gbsplay/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/gbsplay/files/patch-Makefile Fri Dec 28 12:38:19 2018 (r488598) @@ -0,0 +1,25 @@ +--- Makefile.orig 2018-12-25 13:50:45 UTC ++++ Makefile +@@ -71,7 +71,7 @@ xmmsdir := $(DESTDIR)$(XMMSPREFIX)$(XMMS_INPUT_PLU + man1dir := $(mandir)/man1 + man5dir := $(mandir)/man5 + contribdir := $(docdir)/contrib +-exampledir := $(docdir)/examples ++exampledir := $(EXAMPLESDIR) + + DISTDIR := gbsplay-$(VERSION) + +@@ -82,10 +82,10 @@ GBSPLAYLDFLAGS := + + export Q VERBOSE CC HOSTCC BUILDCC GBSCFLAGS GBSLDFLAGS + +-docs := README HISTORY COPYRIGHT ++docs := README + docs-dist := INSTALL CODINGSTYLE TESTSUITE gbsformat.txt +-contribs := contrib/gbs2ogg.sh contrib/gbsplay.bashcompletion +-examples := examples/nightmode.gbs examples/gbsplayrc_sample ++contribs := contrib/gbs2ogg.sh ++examples := examples/nightmode.gbs + + mans := man/gbsplay.1 man/gbsinfo.1 man/gbsplayrc.5 + mans_src := man/gbsplay.in.1 man/gbsinfo.in.1 man/gbsplayrc.in.5 Added: head/audio/gbsplay/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/gbsplay/files/patch-configure Fri Dec 28 12:38:19 2018 (r488598) @@ -0,0 +1,33 @@ +--- configure.orig 2018-12-25 13:50:45 UTC ++++ configure +@@ -669,7 +669,6 @@ fi + + ## check for various headers + +-need_include inttypes.h + + if [ "$use_devdsp" != no ]; then + remember_use devdsp +@@ -729,11 +728,11 @@ fi + + if [ "$use_nas" != no ]; then + remember_use nas +- check_include audio/audiolib.h "/usr/X11R6/include" ++ check_include audio/audiolib.h "" + retval1=$? + retval2=1 + if [ $retval1 -eq 0 ]; then +- check_libs audio "X11 Xt m" "/usr/X11R6/lib /usr/X11/lib /usr/lib/X11" <