2010-11-16 06:23:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/11/16 11:23:26 espie Exp $
|
2008-07-06 16:43:20 -04:00
|
|
|
|
|
|
|
COMMENT= Cannon Smash 3D table tennis
|
|
|
|
|
|
|
|
DISTNAME= csmash-0.6.6
|
2010-10-11 04:11:24 -04:00
|
|
|
REVISION= 3
|
2008-07-06 16:43:20 -04:00
|
|
|
CATEGORIES= games
|
|
|
|
HOMEPAGE= http://cannonsmash.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Jason Dixon <jdixon@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cannonsmash/}
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
LIB_DEPENDS= devel/sdl-image \
|
|
|
|
devel/sdl-mixer \
|
|
|
|
x11/gtk+2
|
2008-07-06 16:43:20 -04:00
|
|
|
|
|
|
|
WANTLIB+= GL GLU ICE Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes \
|
|
|
|
Xi Xinerama Xmu Xrandr Xrender Xt atk-1.0 c cairo expat \
|
2010-10-11 04:11:24 -04:00
|
|
|
fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0 \
|
2009-06-16 21:53:32 -04:00
|
|
|
gobject-2.0 pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
|
2010-09-30 03:21:18 -04:00
|
|
|
png pthread pthread-stubs stdc++ xcb z X11 Xext m SDL \
|
2010-11-08 08:51:52 -05:00
|
|
|
gdk_pixbuf-2.0 SDL_image SDL_mixer gdk-x11-2.0 gtk-x11-2.0
|
2008-07-06 16:43:20 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@find ${WRKDIST} -name Makefile.in -exec \
|
|
|
|
perl -pi -e 's,/games/,/,g' {} \;
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|