From owner-svn-ports-head@freebsd.org Sat Jun 22 13:54:39 2019 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 B214415D5707; Sat, 22 Jun 2019 13:54:39 +0000 (UTC) (envelope-from thierry@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 51F15772D7; Sat, 22 Jun 2019 13:54:39 +0000 (UTC) (envelope-from thierry@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 43A87B792; Sat, 22 Jun 2019 13:54:39 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5MDsdOo030797; Sat, 22 Jun 2019 13:54:39 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5MDsdNN030796; Sat, 22 Jun 2019 13:54:39 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201906221354.x5MDsdNN030796@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 22 Jun 2019 13:54:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504866 - head/games/pinball X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: head/games/pinball X-SVN-Commit-Revision: 504866 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 51F15772D7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 22 Jun 2019 13:54:39 -0000 Author: thierry Date: Sat Jun 22 13:54:38 2019 New Revision: 504866 URL: https://svnweb.freebsd.org/changeset/ports/504866 Log: Modernize a bit this port. Remark: there remain many problem with pinball, more fixes to come. Modified: head/games/pinball/Makefile Modified: head/games/pinball/Makefile ============================================================================== --- head/games/pinball/Makefile Sat Jun 22 13:51:32 2019 (r504865) +++ head/games/pinball/Makefile Sat Jun 22 13:54:38 2019 (r504866) @@ -3,7 +3,7 @@ PORTNAME= pinball PORTVERSION= 0.3.1 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -13,11 +13,13 @@ COMMENT= Emilia Pinball is a free pinball game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake localbase:ldflags libtool:keepla # .la needed for plugin loading +USES= gl gmake localbase:ldflags libtool:keepla # .la needed for plugin loading +USE_XORG= ice sm USE_GL= gl glu +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-debug -USE_LDCONFIG= yes CPPFLAGS+= -DRZR_LIBSTATIC @@ -29,21 +31,21 @@ LIB_DEPENDS+= liballeg.so:devel/allegro CONFIGURE_ARGS+= --with-allegro USE_GL+= glu .else +USES+= sdl USE_SDL= image mixer sdl .endif -#MAKE_JOBS_UNSAFE= yes # For gmake>=3.82 pre-configure: - @${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ + ${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ ${REINPLACE_CMD} -e 's,^dnl,# dnl,' post-install: - @${MV} ${STAGEDIR}/var/games/pinball/professor/highscores \ + ${MV} ${STAGEDIR}/var/games/pinball/professor/highscores \ ${STAGEDIR}/var/games/pinball/professor/highscores.sample - @${MV} ${STAGEDIR}/var/games/pinball/tux/highscores \ + ${MV} ${STAGEDIR}/var/games/pinball/tux/highscores \ ${STAGEDIR}/var/games/pinball/tux/highscores.sample - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}