diff options
author | martymac <martymac@FreeBSD.org> | 2018-01-16 19:10:14 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:24:57 +0800 |
commit | d02228b957d434c24a600c776c27157c6d2260b1 (patch) | |
tree | 4d3276f90fdb078d5a89f5f6c15c03c0de709a78 /games | |
parent | d8f36d5800b2f891d9a6550bb63882fbb812abce (diff) | |
download | freebsd-ports-gnome-d02228b957d434c24a600c776c27157c6d2260b1.tar.gz freebsd-ports-gnome-d02228b957d434c24a600c776c27157c6d2260b1.tar.zst freebsd-ports-gnome-d02228b957d434c24a600c776c27157c6d2260b1.zip |
Update to 20171024 and switch to GH
Diffstat (limited to 'games')
-rw-r--r-- | games/openjazz/Makefile | 18 | ||||
-rw-r--r-- | games/openjazz/distinfo | 5 | ||||
-rw-r--r-- | games/openjazz/files/patch-Makefile | 15 |
3 files changed, 9 insertions, 29 deletions
diff --git a/games/openjazz/Makefile b/games/openjazz/Makefile index e5cd13026665..4b8eb8df30b1 100644 --- a/games/openjazz/Makefile +++ b/games/openjazz/Makefile @@ -2,36 +2,30 @@ # $FreeBSD$ PORTNAME= openjazz -PORTVERSION= 20120819 -PORTREVISION= 4 +PORTVERSION= 20171024 CATEGORIES= games -MASTER_SITES= http://alister.eu/jazz/oj/ \ - LOCAL/martymac -DISTNAME= OpenJazz-src-190812 MAINTAINER= martymac@FreeBSD.org COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine LICENSE= GPLv2 -WRKSRC= ${WRKDIR}/${PORTNAME} -EXTRACT_AFTER_ARGS= -d ${WRKSRC} +USES= dos2unix gmake + +USE_GITHUB= yes +GH_ACCOUNT= AlisterT -USES= dos2unix gmake zip DOS2UNIX_REGEX= .*\.(h|cpp) ALL_TARGET= OpenJazz USE_XORG= x11 xext xrandr xrender xau xdmcp USE_SDL= sdl -CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ +CXXFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ -DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR LDFLAGS+= -lpthread -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` SUB_FILES= pkg-message -pre-extract: - @${MKDIR} ${WRKSRC} - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${STAGEDIR}${DATADIR} diff --git a/games/openjazz/distinfo b/games/openjazz/distinfo index 1c6b70cbcddc..b88bf40488d6 100644 --- a/games/openjazz/distinfo +++ b/games/openjazz/distinfo @@ -1,2 +1,3 @@ -SHA256 (OpenJazz-src-190812.zip) = b8e628c663085ea8eb4ea86b12606ada1f0c005a3bba03aedca41570ec9a9b2a -SIZE (OpenJazz-src-190812.zip) = 224532 +TIMESTAMP = 1515619966 +SHA256 (AlisterT-openjazz-20171024_GH0.tar.gz) = 1722df8a528b0735e84f82bab1adb6beb7b8a99977b831060e483f6ee55311c0 +SIZE (AlisterT-openjazz-20171024_GH0.tar.gz) = 209725 diff --git a/games/openjazz/files/patch-Makefile b/games/openjazz/files/patch-Makefile deleted file mode 100644 index f17f84929b07..000000000000 --- a/games/openjazz/files/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig 2010-10-05 16:47:06.968648948 +0000 -+++ Makefile 2010-10-05 16:48:42.770653951 +0000 -@@ -27,10 +27,10 @@ - - - OpenJazz: $(objects) -- cc -Wall -o OpenJazz -lSDL -lstdc++ -lz $(objects) -+ ${CXX} ${LDFLAGS} -Wall -o OpenJazz $(objects) -lz -lm - - %.o: %.cpp -- cc -Wall -DUSE_SOCKETS -DSCALE -Isrc -O2 -c $< -o $@ -+ ${CXX} ${CPPFLAGS} ${CFLAGS} -Wall -DUSE_SOCKETS -DSCALE -Isrc -c $< -o $@ - - clean: - rm -f OpenJazz $(objects) |