From owner-svn-ports-all@FreeBSD.ORG Thu Nov 21 13:20:16 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A0449B2; Thu, 21 Nov 2013 13:20:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 79AB02704; Thu, 21 Nov 2013 13:20:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALDKGd4098164; Thu, 21 Nov 2013 13:20:16 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALDKG0u098163; Thu, 21 Nov 2013 13:20:16 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201311211320.rALDKG0u098163@svn.freebsd.org> From: Ganael LAPLANCHE Date: Thu, 21 Nov 2013 13:20:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334484 - head/games/openjazz X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 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: Thu, 21 Nov 2013 13:20:16 -0000 Author: martymac Date: Thu Nov 21 13:20:15 2013 New Revision: 334484 URL: http://svnweb.freebsd.org/changeset/ports/334484 Log: - Enable staging - Work in a subdir of WRKDIR - Update USES - Strip binary Modified: head/games/openjazz/Makefile Modified: head/games/openjazz/Makefile ============================================================================== --- head/games/openjazz/Makefile Thu Nov 21 13:12:53 2013 (r334483) +++ head/games/openjazz/Makefile Thu Nov 21 13:20:15 2013 (r334484) @@ -3,6 +3,7 @@ PORTNAME= openjazz PORTVERSION= 20120819 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://alister.eu/jazz/oj/ \ LOCAL/martymac @@ -13,27 +14,34 @@ COMMENT= Free re-implementation of the J LICENSE= GPLv2 -NO_WRKSUBDIR= yes USE_ZIP= yes -USE_GMAKE= yes -ALL_TARGET= OpenJazz -USE_XORG= x11 xext xrandr xrender xau xdmcp -USE_SDL= sdl +WRKSRC= ${WRKDIR}/${PORTNAME} +EXTRACT_AFTER_ARGS= -d ${WRKSRC} USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*\.(h|cpp) +USES= gmake +ALL_TARGET= OpenJazz +USE_XORG= x11 xext xrandr xrender xau xdmcp +USE_SDL= sdl + CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ -DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs` SUB_FILES= pkg-message -NO_STAGE= yes +pre-extract: + @${MKDIR} ${WRKSRC} + do-install: - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${DATADIR}/ - @${INSTALL_SCRIPT} ${WRKDIR}/OpenJazz ${PREFIX}/bin/openjazz + @${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${STAGEDIR}${DATADIR} + @${INSTALL_SCRIPT} ${WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz @${CAT} ${PKGMESSAGE} +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openjazz + .include