From owner-svn-ports-head@freebsd.org Sun Oct 9 22:53:53 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 185F8C0B3C8; Sun, 9 Oct 2016 22:53:53 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id CF83CD71; Sun, 9 Oct 2016 22:53:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u99Mrp4Q056095; Sun, 9 Oct 2016 22:53:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u99MrpJa056091; Sun, 9 Oct 2016 22:53:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201610092253.u99MrpJa056091@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 9 Oct 2016 22:53:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423628 - in head/games/goonies: . files X-SVN-Group: ports-head 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.23 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: Sun, 09 Oct 2016 22:53:53 -0000 Author: amdmi3 Date: Sun Oct 9 22:53:51 2016 New Revision: 423628 URL: https://svnweb.freebsd.org/changeset/ports/423628 Log: - Update to 1.4.1528 - Add LICENSE Added: head/games/goonies/files/patch-Makefile (contents, props changed) head/games/goonies/pkg-plist (contents, props changed) Deleted: head/games/goonies/files/patch-build-linux-Makefile Modified: head/games/goonies/Makefile head/games/goonies/distinfo Modified: head/games/goonies/Makefile ============================================================================== --- head/games/goonies/Makefile Sun Oct 9 22:45:23 2016 (r423627) +++ head/games/goonies/Makefile Sun Oct 9 22:53:51 2016 (r423628) @@ -2,48 +2,38 @@ # $FreeBSD$ PORTNAME= goonies -PORTVERSION= 1.0.1 -PORTREVISION= 10 +PORTVERSION= 1.4.1528 CATEGORIES= games -MASTER_SITES= http://goonies.jorito.net/download/ \ +MASTER_SITES= http://braingames.jorito.net/goonies/downloads/ \ http://mirror.amdmi3.ru/distfiles/ -DISTNAME= ${PORTNAME}_r${PORTVERSION:C/\./-/g} +DISTNAME= ${PORTNAME}.src_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Remake of the 8 bit classic game 'The Goonies' -BROKEN_sparc64= does not compile on sparc64 +LICENSE= NONE USES= gmake tar:tgz USE_SDL= sdl mixer image -USE_GL= yes +USE_GL= gl glu -BUILD_WRKSRC= ${WRKSRC}/src -MAKEFILE= ../build/linux/Makefile -MAKE_ARGS= CC="${CXX}" -MAKE_ENV= DATADIR="${DATADIR}" +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= bin/${PORTNAME} - -PORTDOCS= * PORTDATA= * -OPTIONS_DEFINE= DOCS - post-patch: @${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \ - ${WRKSRC}/src/SFXManager.cpp - @${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g' \ + ${WRKSRC}/src/SoundManager.cpp + @${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g; \ + s|"graphics"|"${DATADIR}/graphics"|' \ ${WRKSRC}/src/GLTManager.cpp ${WRKSRC}/src/TheGooniesApp.cpp @${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|g' \ ${WRKSRC}/src/TheGoonies.cpp do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/goonies ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \ - 'sound graphics maps' ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics maps sound' ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications .include Modified: head/games/goonies/distinfo ============================================================================== --- head/games/goonies/distinfo Sun Oct 9 22:45:23 2016 (r423627) +++ head/games/goonies/distinfo Sun Oct 9 22:53:51 2016 (r423628) @@ -1,2 +1,3 @@ -SHA256 (goonies_r1-0-1.tgz) = f0e2e20707caacfbeb531561cd4421beb9007eb7c6aae6f0c5dffb2ec648ab86 -SIZE (goonies_r1-0-1.tgz) = 11708692 +TIMESTAMP = 1476028387 +SHA256 (goonies.src_1.4.1528.tgz) = 9e9c1e67a41dfae512e975b6931828cdc82f07397921ca0a41a81c3020a73799 +SIZE (goonies.src_1.4.1528.tgz) = 11428239 Added: head/games/goonies/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goonies/files/patch-Makefile Sun Oct 9 22:53:51 2016 (r423628) @@ -0,0 +1,49 @@ +--- Makefile.orig 2009-03-12 10:05:30 UTC ++++ Makefile +@@ -1,11 +1,11 @@ + EXE = goonies + SRC = src +-PREFIX = /usr ++PREFIX ?= /usr + EXTRADIR = ./build/linux + +-GAMEDIR = $(PREFIX)/games ++GAMEDIR = $(PREFIX)/bin + STARTUP = $(GAMEDIR)/$(EXE) +-BINDIR = $(PREFIX)/share/games/$(EXE) ++BINDIR = $(PREFIX)/share/$(EXE) + ICNDIR = $(PREFIX)/share/pixmaps + APPDIR = $(PREFIX)/share/applications + +@@ -56,24 +56,24 @@ OBJS = \ + $(SRC)/Symbol.o $(SRC)/TheGooniesApp.o \ + $(SRC)/TheGoonies.o $(SRC)/Vector.o + +-CC = gcc +-CFLAGS = -g3 -O3 -Wno-write-strings `sdl-config --cflags` -I/usr/X11R6/include +-LDFLAGS = `sdl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lGL -lGLU ++CXX ?= gcc ++CXXFLAGS ?= -g3 -O3 ++CXXFLAGS += -Wno-write-strings `sdl-config --cflags` ++LDFLAGS += `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -lm + RM = rm -f + CP = cp -r + MD = mkdir -p + ECHO = echo + CHMOD = chmod +-STRIP = strip ++STRIP ?= strip + + all: $(EXE) + + %.o: %.cpp +- $(CC) $(CFLAGS) -c $< -o $@ ++ $(CXX) $(CXXFLAGS) -c $< -o $@ + + $(EXE): $(OBJS) +- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ +- @$(STRIP) $@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ + @$(ECHO) " o If there are no errors, the game compiled succesfully" + + clean: Added: head/games/goonies/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goonies/pkg-plist Sun Oct 9 22:53:51 2016 (r423628) @@ -0,0 +1,3 @@ +bin/goonies +share/applications/goonies.desktop +share/pixmaps/goonies.png