Brian Callahan <bcal...@protonmail.com> writes: > Hi ports -- > > Attached is a diff to update games/opentyrian. Among other things, it > includes -fno-common fixes. > > While there has been no new official releases, development has moved > to GitHub, where there has been activity ever since the last release. > I chose to move there, and grab the latest head of their git tree. > This additionally sees the game move from SDL to SDL2. > > I kept the same installation structure as before. > > Works on amd64. > > OK?
OK gnezdo@ > > ~Brian > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/games/opentyrian/Makefile,v > retrieving revision 1.5 > diff -u -p -r1.5 Makefile > --- Makefile 12 Jul 2019 20:46:22 -0000 1.5 > +++ Makefile 13 Feb 2021 17:33:41 -0000 > @@ -1,33 +1,34 @@ > # $OpenBSD: Makefile,v 1.5 2019/07/12 20:46:22 sthen Exp $ > > -V = 2.1.20130907 > +V = 2.1.20201204 > COMMENT = port of the DOS shoot-em-up Tyrian > -DISTNAME = opentyrian-${V}-src > -PKGNAME = opentyrian-${V} > -REVISION = 1 > +DISTNAME = opentyrian-${V} > CATEGORIES = games x11 > > -HOMEPAGE = https://bitbucket.org/opentyrian/opentyrian/ > +# No new releases... but years of activity > +GH_ACCOUNT = opentyrian > +GH_PROJECT = opentyrian > +GH_COMMIT = 650e1f72fd18d2242d10d706afa7f77f80151aea > > # GPLv2+ > PERMIT_PACKAGE = Yes > > -MASTER_SITES = http://www.camanis.net/opentyrian/releases/ > - > -WANTLIB += SDL SDL_net c m pthread > +WANTLIB += SDL2 SDL2_net c m > > RUN_DEPENDS = archivers/unzip > -LIB_DEPENDS = devel/sdl-net > +LIB_DEPENDS = devel/sdl2-net > > USE_GMAKE = Yes > MAKE_FLAGS = CC="${CC}" \ > MAKECMDGOALS=release > > -WRKDIST = ${WRKDIR}/opentyrian-${V} > +FAKE_FLAGS = mandir="${PREFIX}/man" > > -do-install: > - ${SUBST_PROGRAM} ${FILESDIR}/opentyrian ${PREFIX}/bin/opentyrian > +NO_TEST = Yes > + > +post-install: > ${INSTALL_DATA_DIR} ${PREFIX}/share/opentyrian > - ${INSTALL_PROGRAM} ${WRKSRC}/opentyrian > ${PREFIX}/share/opentyrian/opentyrian > + mv ${PREFIX}/bin/opentyrian ${PREFIX}/share/opentyrian/opentyrian > + ${SUBST_PROGRAM} ${FILESDIR}/opentyrian ${PREFIX}/bin/opentyrian > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /cvs/ports/games/opentyrian/distinfo,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 distinfo > --- distinfo 24 Mar 2014 09:08:55 -0000 1.1.1.1 > +++ distinfo 13 Feb 2021 17:33:41 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (opentyrian-2.1.20130907-src.tar.gz) = > 9UtrPO3O+hh8n2BdYWSq4p7EanMabfMNNRr0wAje5F8= > -SIZE (opentyrian-2.1.20130907-src.tar.gz) = 297517 > +SHA256 (opentyrian-2.1.20201204-650e1f72.tar.gz) = > 264l1jmasGRczg8Pnxtus4IZGsKEkkAb4C33HDAzf2s= > +SIZE (opentyrian-2.1.20201204-650e1f72.tar.gz) = 297432 > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/games/opentyrian/pkg/PLIST,v > retrieving revision 1.2 > diff -u -p -r1.2 PLIST > --- pkg/PLIST 4 Sep 2018 12:46:13 -0000 1.2 > +++ pkg/PLIST 13 Feb 2021 17:33:41 -0000 > @@ -1,5 +1,10 @@ > @comment $OpenBSD: PLIST,v 1.2 2018/09/04 12:46:13 espie Exp $ > bin/opentyrian > +@man man/man6/opentyrian.6 > +share/doc/opentyrian/ > +share/doc/opentyrian/CREDITS > +share/doc/opentyrian/NEWS > +share/doc/opentyrian/README > share/doc/pkg-readmes/${PKGSTEM} > share/opentyrian/ > @bin share/opentyrian/opentyrian