From owner-svn-ports-head@FreeBSD.ORG Fri Jun 14 12:25:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6B3A9150; Fri, 14 Jun 2013 12:25:14 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0FB1C20; Fri, 14 Jun 2013 12:25:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5ECPEUL008481; Fri, 14 Jun 2013 12:25:14 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5ECPDhB008478; Fri, 14 Jun 2013 12:25:13 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201306141225.r5ECPDhB008478@svn.freebsd.org> From: Dmitry Marakasov Date: Fri, 14 Jun 2013 12:25:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320903 - head/games/plee-the-bear 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.14 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: Fri, 14 Jun 2013 12:25:14 -0000 Author: amdmi3 Date: Fri Jun 14 12:25:13 2013 New Revision: 320903 URL: http://svnweb.freebsd.org/changeset/ports/320903 Log: - Fix WWW - Add LICENSE - Make NLS optional - Install manpages PR: 179329 Submitted by: nemysis Modified: head/games/plee-the-bear/Makefile head/games/plee-the-bear/pkg-descr head/games/plee-the-bear/pkg-plist Modified: head/games/plee-the-bear/Makefile ============================================================================== --- head/games/plee-the-bear/Makefile Fri Jun 14 12:23:58 2013 (r320902) +++ head/games/plee-the-bear/Makefile Fri Jun 14 12:25:13 2013 (r320903) @@ -3,13 +3,20 @@ PORTNAME= plee-the-bear PORTVERSION= 0.6.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Plee%20the%20Bear/${PORTVERSION:R} MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D platform jump and run game +LICENSE= GPLv2 CCbySA3 +LICENSE_COMB= dual +LICENSE_NAME_CCbySA3=Attribution-ShareAlike 3.0 Unported +LICENSE_FILE_CCbySA3=${WRKSRC}/CCPL +LICENSE_PERMS_CCbySA3=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs \ claw_application:${PORTSDIR}/devel/libclaw @@ -21,8 +28,27 @@ USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes USE_GCC= 4.6+ -USES= cmake gettext +USES= cmake CMAKE_ARGS= -Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \ -DBEAR_NO_EDITOR=YES +MAN6= plee-the-bear.6 running-bear.6 + +.include + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/CMakeLists.txt +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|locale||' \ + ${WRKSRC}/bear-engine/desktop/CMakeLists.txt \ + ${WRKSRC}/plee-the-bear/desktop/CMakeLists.txt +.endif + .include Modified: head/games/plee-the-bear/pkg-descr ============================================================================== --- head/games/plee-the-bear/pkg-descr Fri Jun 14 12:23:58 2013 (r320902) +++ head/games/plee-the-bear/pkg-descr Fri Jun 14 12:25:13 2013 (r320903) @@ -3,4 +3,4 @@ the best platform games of the 90's (the of games). You're a bear, trying to catch his son, which ran away after he ate all your honey. -WWW: http://plee-the-bear.sourceforge.net/ +WWW: http://sourceforge.net/projects/plee-the-bear/ Modified: head/games/plee-the-bear/pkg-plist ============================================================================== --- head/games/plee-the-bear/pkg-plist Fri Jun 14 12:23:58 2013 (r320902) +++ head/games/plee-the-bear/pkg-plist Fri Jun 14 12:25:13 2013 (r320903) @@ -108,10 +108,10 @@ share/icons/hicolor/24x24/apps/ptb.png share/icons/hicolor/32x32/apps/ptb.png share/icons/hicolor/48x48/apps/ptb.png share/icons/hicolor/64x64/apps/ptb.png -share/locale/fr/LC_MESSAGES/bear-engine.mo -share/locale/fr/LC_MESSAGES/plee-the-bear.mo -share/locale/nn/LC_MESSAGES/bear-engine.mo -share/locale/nn/LC_MESSAGES/plee-the-bear.mo +%%NLS%%share/locale/fr/LC_MESSAGES/bear-engine.mo +%%NLS%%share/locale/fr/LC_MESSAGES/plee-the-bear.mo +%%NLS%%share/locale/nn/LC_MESSAGES/bear-engine.mo +%%NLS%%share/locale/nn/LC_MESSAGES/plee-the-bear.mo share/pixmaps/ptb.png share/pixmaps/ptb.xpm %%DATADIR%%/animation/air_bubble_generator.canim