2001-04-17 19:44:13 +02:00
|
|
|
# New ports collection makefile for: gengameng
|
|
|
|
# Date created: Apr 12, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gengameng
|
2002-11-24 10:17:35 +01:00
|
|
|
PORTVERSION= 4.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 8
|
2001-04-17 19:44:13 +02:00
|
|
|
CATEGORIES= devel
|
2005-11-22 11:12:14 +01:00
|
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
|
2001-04-17 19:44:13 +02:00
|
|
|
|
2006-04-15 02:01:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An SDL game engine library
|
2001-04-17 19:44:13 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2004-01-20 22:44:21 +01:00
|
|
|
USE_SDL= image sdl
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-24 10:17:35 +01:00
|
|
|
CONFIGURE_ARGS+= --program-prefix=""
|
- 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" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2001-04-17 19:44:13 +02:00
|
|
|
|
2002-11-24 10:17:35 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \
|
2003-02-15 16:21:35 +01:00
|
|
|
s|^function ||g" ${WRKSRC}/gengameng-config.in
|
2002-11-24 10:17:35 +01:00
|
|
|
${REINPLACE_CMD} -e "s/sdl_image.m4//" ${WRKSRC}/macros/Makefile.in
|
2001-06-08 19:42:08 +02:00
|
|
|
|
2001-04-17 19:44:13 +02:00
|
|
|
.include <bsd.port.mk>
|