39 lines
965 B
Makefile
39 lines
965 B
Makefile
# $OpenBSD: Makefile,v 1.18 2019/05/01 19:29:43 sthen Exp $
|
|
|
|
COMMENT= Cannon Smash 3D table tennis
|
|
|
|
DISTNAME= csmash-0.6.6
|
|
REVISION= 10
|
|
CATEGORIES= games
|
|
HOMEPAGE= http://cannonsmash.sourceforge.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cannonsmash/}
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
LIB_DEPENDS= devel/sdl-image \
|
|
devel/sdl-mixer \
|
|
x11/gtk+2
|
|
|
|
WANTLIB+= GL GLU ICE Xcomposite Xcursor Xdamage Xfixes \
|
|
Xi Xinerama Xmu Xrandr Xrender Xt atk-1.0 c cairo \
|
|
fontconfig freetype gio-2.0 glib-2.0 \
|
|
gobject-2.0 iconv intl pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
pthread ${COMPILER_LIBCXX} z X11 Xext m SDL \
|
|
gdk_pixbuf-2.0 SDL_image SDL_mixer gdk-x11-2.0 gtk-x11-2.0
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
pre-configure:
|
|
@find ${WRKDIST} -name Makefile.in -exec \
|
|
perl -pi -e 's,/games/,/,g' {} \;
|
|
|
|
.include <bsd.port.mk>
|