From owner-svn-ports-all@FreeBSD.ORG Fri Dec 20 17:13:03 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 750CE956; Fri, 20 Dec 2013 17:13:03 +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 60D2D16A4; Fri, 20 Dec 2013 17:13:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKHD3ZM050900; Fri, 20 Dec 2013 17:13:03 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKHD3Fm050899; Fri, 20 Dec 2013 17:13:03 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201312201713.rBKHD3Fm050899@svn.freebsd.org> From: Dmitry Marakasov Date: Fri, 20 Dec 2013 17:13:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337043 - head/games/biniax2 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.17 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: Fri, 20 Dec 2013 17:13:03 -0000 Author: amdmi3 Date: Fri Dec 20 17:13:02 2013 New Revision: 337043 URL: http://svnweb.freebsd.org/changeset/ports/337043 Log: - Support staging - Prevent DOS2UNIX from corrupting binary files Deleted: head/games/biniax2/pkg-plist Modified: head/games/biniax2/Makefile Modified: head/games/biniax2/Makefile ============================================================================== --- head/games/biniax2/Makefile Fri Dec 20 17:10:47 2013 (r337042) +++ head/games/biniax2/Makefile Fri Dec 20 17:13:02 2013 (r337043) @@ -3,7 +3,7 @@ PORTNAME= biniax2 PORTVERSION= 1.30 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://mordred.dir.bg/biniax/ \ http://mirror.amdmi3.ru/distfiles/ @@ -13,10 +13,12 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Original logic game with arcade and tactics modes USE_SDL= sdl mixer image -USE_DOS2UNIX= yes +USE_DOS2UNIX= biniax.c NO_WRKSUBDIR= yes -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + post-patch: @${RM} -f ${WRKSRC}/data/Thumbs.db @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \ @@ -29,8 +31,7 @@ do-build: -lSDL_image -lSDL_mixer -o ${PORTNAME} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} - cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ .include