From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 14:15:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5FCF1E5B; Wed, 30 Oct 2013 14:15:07 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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 33DAF24DD; Wed, 30 Oct 2013 14:15:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UEF7H6002639; Wed, 30 Oct 2013 14:15:07 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9UEF7Ep002638; Wed, 30 Oct 2013 14:15:07 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201310301415.r9UEF7Ep002638@svn.freebsd.org> From: Dmitry Marakasov Date: Wed, 30 Oct 2013 14:15:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332114 - head/games/caph 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.14 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: Wed, 30 Oct 2013 14:15:07 -0000 Author: amdmi3 Date: Wed Oct 30 14:15:06 2013 New Revision: 332114 URL: http://svnweb.freebsd.org/changeset/ports/332114 Log: - Support staging - Use new LIB_DEPENDS syntax Deleted: head/games/caph/pkg-plist Modified: head/games/caph/Makefile Modified: head/games/caph/Makefile ============================================================================== --- head/games/caph/Makefile Wed Oct 30 14:12:29 2013 (r332113) +++ head/games/caph/Makefile Wed Oct 30 14:15:06 2013 (r332114) @@ -10,10 +10,9 @@ MASTER_SITES= SF/caphgame/${PORTNAME}/ca MAINTAINER= amdmi3@FreeBSD.org COMMENT= Physics-based sandbox game -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png - LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING + +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png USES= iconv USE_BZIP2= yes @@ -22,7 +21,9 @@ USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src -PORTDOCS= README CHANGELOG +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * +PORTDOCS= * DESKTOP_ENTRIES="Caph" \ "Physics-based sandbox game" \ @@ -31,10 +32,9 @@ DESKTOP_ENTRIES="Caph" \ "Game;LogicGame;" \ false -OPTIONS_DEFINE= OPTIMIZED_CFLAGS -OPTIONS_DEFAULT=OPTIMIZED_CFLAGS +OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS +OPTIONS_DEFAULT=DOCS OPTIMIZED_CFLAGS -NO_STAGE= yes .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} @@ -49,12 +49,9 @@ post-patch: @${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${MKDIR} ${DATADIR} - cd ${WRKSRC}/share/caph && ${COPYTREE_SHARE} '*' ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc/caph && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ -.endif + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/share/caph && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc/caph && ${INSTALL_DATA} README CHANGELOG ${STAGEDIR}${DOCSDIR}/ .include