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} |