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

(-)games/cheech/Makefile (-14 / +18 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	cheech
4
PORTNAME=	cheech
5
PORTVERSION=	0.8
5
PORTVERSION=	0.8
6
PORTREVISION=	6
6
PORTREVISION=	7
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	SF
8
MASTER_SITES=	SF
9
EXTRACT_SUFX=	.tgz
9
EXTRACT_SUFX=	.tgz
Lines 11-25 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Multiplayer Chinese Checkers game
12
COMMENT=	Multiplayer Chinese Checkers game
13
13
14
LIB_DEPENDS=	libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
14
LICENSE=	GPLv2 # (or later)
15
		libgnet-2.0.so:${PORTSDIR}/net/gnet2
16
15
17
USES=		gmake pkgconfig
16
LIB_DEPENDS=	libgnet-2.0.so:${PORTSDIR}/net/gnet2
18
GNU_CONFIGURE=	yes
19
USE_AUTOTOOLS=	automake:env
20
17
21
OPTIONS_DEFINE=	DOCS
18
OPTIONS_DEFINE=	DOCS
22
19
20
USES=		gmake pkgconfig
21
USE_GNOME=	gtkmm24
22
USE_AUTOTOOLS=	automake:env
23
GNU_CONFIGURE=	yes
24
23
DESKTOP_ENTRIES=	"cheech" \
25
DESKTOP_ENTRIES=	"cheech" \
24
			"${COMMENT}" \
26
			"${COMMENT}" \
25
			"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
27
			"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
Lines 27-41 Link Here
27
			"Game;BoardGame;" \
29
			"Game;BoardGame;" \
28
			"false"
30
			"false"
29
31
30
INSTALL_TARGET=	install install-cheechdocDATA
31
32
post-patch:
32
post-patch:
33
	@${REINPLACE_CMD} -e "s|doc/cheech|share/doc/cheech|g" \
33
	@${REINPLACE_CMD} -e \
34
		-e "s|: install-cheechdocDATA|:|g" \
34
		's|$${prefix}/doc|$$(datadir)/doc| ; \
35
		${WRKSRC}/Makefile.in
35
		 /^cheechdoc_DATA/s|COPYING||' ${WRKSRC}/Makefile.in
36
	@${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
36
	@${REINPLACE_CMD} -e \
37
		s|#include <sigc++\/compatibility\.h>||g' \
37
		'/^AM_CXXFLAGS/s|[[:blank:]]-g||' ${WRKSRC}/src/Makefile.in
38
			${WRKSRC}/src/*.cc
38
	@${REINPLACE_CMD} -e \
39
		's|\([[:blank:]]\)usleep|\1Glib::usleep|' ${WRKSRC}/src/utility.cc
40
	@${REINPLACE_CMD} -e \
41
		's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
42
		 s|#include <sigc++\/compatibility\.h>||g' ${WRKSRC}/src/*.cc
39
43
40
pre-configure:
44
pre-configure:
41
	@${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}
45
	@${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}
(-)games/cheech/pkg-plist (-6 / +5 lines)
Lines 39-45 Link Here
39
%%DATADIR%%/cheechweb/images/peg-yellow.png
39
%%DATADIR%%/cheechweb/images/peg-yellow.png
40
%%DATADIR%%/cheechweb/index.html
40
%%DATADIR%%/cheechweb/index.html
41
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
41
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
42
%%PORTDOCS%%%%DOCSDIR%%/COPYING
43
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
42
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
44
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
43
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
45
%%PORTDOCS%%%%DOCSDIR%%/NEWS
44
%%PORTDOCS%%%%DOCSDIR%%/NEWS
Lines 50-57 Link Here
50
share/pixmaps/cheech/highlight.png
49
share/pixmaps/cheech/highlight.png
51
share/pixmaps/cheech/pegs.png
50
share/pixmaps/cheech/pegs.png
52
share/pixmaps/cheech/smiley.png
51
share/pixmaps/cheech/smiley.png
53
@dirrmtry share/pixmaps/cheech
52
@dirrm share/pixmaps/cheech
54
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
53
%%PORTDOCS%%@dirrm %%DOCSDIR%%
55
@dirrmtry %%DATADIR%%/cheechweb/images
54
@dirrm %%DATADIR%%/cheechweb/images
56
@dirrmtry %%DATADIR%%/cheechweb
55
@dirrm %%DATADIR%%/cheechweb
57
@dirrmtry %%DATADIR%%
56
@dirrm %%DATADIR%%

Return to bug 184821