2006-06-28 16:20:44 +02:00
|
|
|
# New ports collection makefile for: diameter
|
|
|
|
# Date created: 15 Jun 2006
|
2006-12-21 21:41:33 +01:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-06-28 16:20:44 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= diameter
|
2008-07-31 14:44:18 +02:00
|
|
|
PORTVERSION= 0.4.0.3
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 5
|
2006-06-28 16:20:44 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/game${PORTNAME}/game${PORTNAME}/${PORTNAME}-0.4.0
|
2006-06-28 16:20:44 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-06-28 16:20:44 +02:00
|
|
|
COMMENT= Arcade-style game with elements of economy and adventure
|
|
|
|
|
2008-07-31 14:44:18 +02:00
|
|
|
BUILD_DEPENDS= guichan>=0.8.1:${PORTSDIR}/devel/guichan
|
2008-03-20 21:43:35 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2006-06-28 16:20:44 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
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
|
2006-06-28 16:20:44 +02:00
|
|
|
USE_SDL= sdl mixer image
|
2007-02-03 10:49:07 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/gamediameter
|
2006-06-28 16:20:44 +02:00
|
|
|
|
- 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="`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="`${SDL_CONFIG} --libs` -L${LOCALBASE}/lib"
|
2006-06-28 16:20:44 +02:00
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/share/gamediameter
|
|
|
|
|
|
|
|
post-patch:
|
2007-11-05 12:09:55 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d; \
|
2010-03-30 13:02:24 +02:00
|
|
|
/PKG_CONFIG/ s|libpng|libpng14|' ${WRKSRC}/configure
|
2007-11-05 12:09:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|