svn commit: r320903 - head/games/plee-the-bear
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Jun 14 12:25:14 UTC 2013
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 <nemysis at gmx.ch>
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 at 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 <bsd.port.options.mk>
+
+.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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list