2002-11-25 00:05:18 +01:00
|
|
|
# New ports collection makefile for: pinball
|
|
|
|
# Date created: Tue 13 aug 2002 22:46:02 CEST
|
|
|
|
# Whom: thierry@pompo.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pinball
|
2003-12-17 10:31:35 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 12
|
2002-11-25 00:05:18 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2002-11-25 00:05:18 +01:00
|
|
|
|
2004-12-06 18:04:31 +01:00
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Emilia Pinball is a free pinball game
|
2002-11-25 00:05:18 +01:00
|
|
|
|
|
|
|
.if !defined(WITH_ALLEGRO)
|
|
|
|
BUILD_DEPENDS= ${SDL_CONFIG}:${PORTSDIR}/devel/sdl12
|
|
|
|
.else
|
2010-06-13 10:40:06 +02:00
|
|
|
BROKEN= support with Allegro is (temporarily) broken as of version 0.3.1
|
2002-11-25 00:05:18 +01:00
|
|
|
BUILD_DEPENDS= ${ALLEGRO_CONFIG}:${PORTSDIR}/devel/allegro
|
2005-11-13 16:17:00 +01:00
|
|
|
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
2002-11-25 00:05:18 +01:00
|
|
|
.endif
|
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
USE_SDL= image mixer sdl
|
2002-11-25 00:05:18 +01:00
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= gl
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-25 00:05:18 +01:00
|
|
|
|
2003-12-17 10:31:35 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug
|
2002-11-25 00:05:18 +01:00
|
|
|
.if defined(WITH_ALLEGRO)
|
|
|
|
CONFIGURE_ARGS+= --with-allegro
|
2003-06-14 06:08:18 +02:00
|
|
|
EXTRA_LIBS= -lGL -lGLU
|
2002-11-25 00:05:18 +01:00
|
|
|
.endif
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -DRZR_LIBSTATIC" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${EXTRA_LIBS}"
|
2009-11-20 23:53:09 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2002-11-25 00:05:18 +01:00
|
|
|
ALLEGRO_CONFIG= ${LOCALBASE}/bin/allegro-config
|
|
|
|
|
|
|
|
DOCS= README
|
|
|
|
|
2004-02-09 03:08:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-11-25 00:05:18 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for FILE in ${DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-06-14 06:08:18 +02:00
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
2002-11-25 00:05:18 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-09 03:08:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|