2013-01-07 03:07:26 +01:00
|
|
|
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
2007-07-28 23:16:06 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cheech
|
|
|
|
PORTVERSION= 0.8
|
2014-09-01 21:34:02 +02:00
|
|
|
PORTREVISION= 7
|
2007-07-28 23:16:06 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2008-03-02 09:25:11 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-01-07 03:07:26 +01:00
|
|
|
COMMENT= Multiplayer Chinese Checkers game
|
2007-07-28 23:16:06 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-10-29 16:33:44 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2007-07-28 23:16:06 +02:00
|
|
|
|
2013-12-19 17:59:39 +01:00
|
|
|
LIB_DEPENDS= libgnet-2.0.so:${PORTSDIR}/net/gnet2
|
2007-07-28 23:16:06 +02:00
|
|
|
|
2013-10-30 16:51:36 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake pkgconfig tar:tgz
|
2013-12-19 17:59:39 +01:00
|
|
|
USE_GNOME= gtkmm24
|
|
|
|
USE_AUTOTOOLS= automake:env
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2014-10-29 16:33:44 +01:00
|
|
|
DESKTOP_ENTRIES="cheech" \
|
|
|
|
"${COMMENT}" \
|
|
|
|
"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
|
|
|
|
"cheech" \
|
|
|
|
"Game;BoardGame;" \
|
|
|
|
"false"
|
2007-07-28 23:16:06 +02:00
|
|
|
|
|
|
|
post-patch:
|
2013-12-19 17:59:39 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|$${prefix}/doc|$$(datadir)/doc| ; \
|
|
|
|
/^cheechdoc_DATA/s|COPYING||' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^AM_CXXFLAGS/s|[[:blank:]]-g||' ${WRKSRC}/src/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|\([[:blank:]]\)usleep|\1Glib::usleep|' ${WRKSRC}/src/utility.cc
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
|
|
|
|
s|#include <sigc++\/compatibility\.h>||g' ${WRKSRC}/src/*.cc
|
2007-07-28 23:16:06 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|