View | Details | Raw Unified | Return to bug 179329
Collapse All | Expand All

(-)./Makefile (-3 / +38 lines)
Lines 3-15 Link Here
3
3
4
PORTNAME=	plee-the-bear
4
PORTNAME=	plee-the-bear
5
PORTVERSION=	0.6.0
5
PORTVERSION=	0.6.0
6
PORTREVISION=	3
6
PORTREVISION=	4
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	SF/${PORTNAME}/Plee%20the%20Bear/${PORTVERSION:R}
8
MASTER_SITES=	SF/${PORTNAME}/Plee%20the%20Bear/${PORTVERSION:R}
9
9
10
MAINTAINER=	amdmi3@FreeBSD.org
10
MAINTAINER=	amdmi3@FreeBSD.org
11
COMMENT=	2D platform jump and run game
11
COMMENT=	2D platform jump and run game
12
12
13
LICENSE=	GPLv2 CCbyNCSA3
14
LICENSE_COMB=	dual
15
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
16
LICENSE_FILE_CCbyNCSA3=${WRKSRC}/CCPL
17
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
18
19
BUILD_DEPENDS=	docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
13
LIB_DEPENDS=	boost_filesystem:${PORTSDIR}/devel/boost-libs \
20
LIB_DEPENDS=	boost_filesystem:${PORTSDIR}/devel/boost-libs \
14
		claw_application:${PORTSDIR}/devel/libclaw
21
		claw_application:${PORTSDIR}/devel/libclaw
15
22
Lines 21-28 Link Here
21
MAKE_JOBS_SAFE=	yes
28
MAKE_JOBS_SAFE=	yes
22
USE_GCC=	4.6+
29
USE_GCC=	4.6+
23
30
24
USES=		cmake gettext
31
USES=		cmake
25
CMAKE_ARGS=	-Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \
32
CMAKE_ARGS=	-Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \
26
		-DBEAR_NO_EDITOR=YES
33
		-DBEAR_NO_EDITOR=YES -DBEAR_NO_MANPAGES=YES
34
35
MAN6=		plee-the-bear.6 running-bear.6
36
37
OPTIONS_DEFINE=	NLS
38
39
.include <bsd.port.options.mk>
40
41
.if ${PORT_OPTIONS:MNLS}
42
USE_GETTEXT=	yes
43
PLIST_SUB+=	NLS=""
44
.else
45
PLIST_SUB+=	NLS="@comment "
46
.endif
47
48
post-patch:
49
.if ! ${PORT_OPTIONS:MNLS}
50
	@${REINPLACE_CMD} -e 's|locale||' \
51
		${WRKSRC}/bear-engine/desktop/CMakeLists.txt \
52
		${WRKSRC}/plee-the-bear/desktop/CMakeLists.txt
53
.endif
54
55
post-build:
56
	@(cd ${WRKSRC}/bear-engine/desktop/man && docbook-to-man running-bear.sgml > running-bear.6)
57
	@(cd ${WRKSRC}/plee-the-bear/desktop/man && docbook-to-man plee-the-bear.sgml > plee-the-bear.6)
58
59
post-install:
60
	${INSTALL_MAN} ${WRKSRC}/bear-engine/desktop/man/running-bear.6 ${MAN6PREFIX}/man/man6
61
	${INSTALL_MAN} ${WRKSRC}/plee-the-bear/desktop/man/plee-the-bear.6 ${MAN6PREFIX}/man/man6
27
62
28
.include <bsd.port.mk>
63
.include <bsd.port.mk>
(-)./pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
of games). You're a bear, trying to catch his son, which ran away
3
of games). You're a bear, trying to catch his son, which ran away
4
after he ate all your honey.
4
after he ate all your honey.
5
5
6
WWW: http://plee-the-bear.sourceforge.net/
6
WWW: http://sourceforge.net/projects/plee-the-bear/
(-)./pkg-plist (-18 / +4 lines)
Lines 108-117 Link Here
108
share/icons/hicolor/32x32/apps/ptb.png
108
share/icons/hicolor/32x32/apps/ptb.png
109
share/icons/hicolor/48x48/apps/ptb.png
109
share/icons/hicolor/48x48/apps/ptb.png
110
share/icons/hicolor/64x64/apps/ptb.png
110
share/icons/hicolor/64x64/apps/ptb.png
111
share/locale/fr/LC_MESSAGES/bear-engine.mo
111
%%NLS%%share/locale/fr/LC_MESSAGES/bear-engine.mo
112
share/locale/fr/LC_MESSAGES/plee-the-bear.mo
112
%%NLS%%share/locale/fr/LC_MESSAGES/plee-the-bear.mo
113
share/locale/nn/LC_MESSAGES/bear-engine.mo
113
%%NLS%%share/locale/nn/LC_MESSAGES/bear-engine.mo
114
share/locale/nn/LC_MESSAGES/plee-the-bear.mo
114
%%NLS%%share/locale/nn/LC_MESSAGES/plee-the-bear.mo
115
share/pixmaps/ptb.png
115
share/pixmaps/ptb.png
116
share/pixmaps/ptb.xpm
116
share/pixmaps/ptb.xpm
117
%%DATADIR%%/animation/air_bubble_generator.canim
117
%%DATADIR%%/animation/air_bubble_generator.canim
Lines 890-909 Link Here
890
@dirrm %%DATADIR%%/animation/effect
890
@dirrm %%DATADIR%%/animation/effect
891
@dirrm %%DATADIR%%/animation
891
@dirrm %%DATADIR%%/animation
892
@dirrm %%DATADIR%%
892
@dirrm %%DATADIR%%
893
@dirrmtry share/icons/hicolor/64x64/apps
894
@dirrmtry share/icons/hicolor/64x64
895
@dirrmtry share/icons/hicolor/48x48/apps
896
@dirrmtry share/icons/hicolor/48x48
897
@dirrmtry share/icons/hicolor/32x32/apps
898
@dirrmtry share/icons/hicolor/32x32
899
@dirrmtry share/icons/hicolor/24x24/apps
900
@dirrmtry share/icons/hicolor/24x24
901
@dirrmtry share/icons/hicolor/16x16/apps
902
@dirrmtry share/icons/hicolor/16x16
903
@dirrmtry share/icons/hicolor/128x128/apps
904
@dirrmtry share/icons/hicolor/128x128
905
@dirrmtry share/icons/hicolor
906
@dirrmtry share/icons
907
@dirrm share/bear-factory/plee-the-bear/item-description/mini-game
893
@dirrm share/bear-factory/plee-the-bear/item-description/mini-game
908
@dirrm share/bear-factory/plee-the-bear/item-description/item_brick
894
@dirrm share/bear-factory/plee-the-bear/item-description/item_brick
909
@dirrm share/bear-factory/plee-the-bear/item-description/forest
895
@dirrm share/bear-factory/plee-the-bear/item-description/forest

Return to bug 179329