freebsd-ports/games/pinball/Makefile

60 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pinball
# Date created: Tue 13 aug 2002 22:46:02 CEST
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= pinball
PORTVERSION= 0.3.1
2012-06-01 07:26:28 +02:00
PORTREVISION= 14
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
2003-02-21 13:06:51 +01:00
COMMENT= Emilia Pinball is a free pinball game
.if !defined(WITH_ALLEGRO)
BUILD_DEPENDS= ${SDL_CONFIG}:${PORTSDIR}/devel/sdl12
.else
BROKEN= support with Allegro is (temporarily) broken as of version 0.3.1
BUILD_DEPENDS= ${ALLEGRO_CONFIG}:${PORTSDIR}/devel/allegro
2005-11-13 16:17:00 +01:00
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
.endif
USE_SDL= image mixer sdl
USE_GMAKE= yes
USE_GL= gl
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug
.if defined(WITH_ALLEGRO)
CONFIGURE_ARGS+= --with-allegro
EXTRA_LIBS= -lGL -lGLU
.endif
CPPFLAGS+= -I${LOCALBASE}/include -DRZR_LIBSTATIC
LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS}
MAKE_JOBS_UNSAFE= yes
ALLEGRO_CONFIG= ${LOCALBASE}/bin/allegro-config
DOCS= README
2004-02-09 03:08:06 +01:00
.include <bsd.port.pre.mk>
# For gmake>=3.82
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \
${REINPLACE_CMD} -e 's,^dnl,# dnl,'
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
2004-02-09 03:08:06 +01:00
.include <bsd.port.post.mk>