2013-07-23 00:50:30 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-11-08 04:19:45 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= modules
|
2014-01-20 02:34:53 +01:00
|
|
|
PORTVERSION= svn20130912
|
2009-11-08 04:19:45 +01:00
|
|
|
CATEGORIES= devel games
|
|
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
|
|
|
PKGNAMEPREFIX= bennugd-
|
|
|
|
DISTNAME= bennugd-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= High level open source game development suite, modules
|
|
|
|
|
2014-01-20 02:34:53 +01:00
|
|
|
LIB_DEPENDS= libbgdrtm.so:${PORTSDIR}/devel/bennugd-core \
|
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
2009-11-08 04:19:45 +01:00
|
|
|
|
2014-01-20 02:34:53 +01:00
|
|
|
USE_BZIP2= yes
|
2009-11-08 04:19:45 +01:00
|
|
|
USE_SDL= sdl mixer
|
|
|
|
GNU_CONFIGURE= yes
|
2014-01-20 02:34:53 +01:00
|
|
|
USES= pkgconfig
|
2012-06-01 07:26:28 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
|
2013-02-14 10:42:12 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-11-08 04:19:45 +01:00
|
|
|
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/bennugd"
|
2014-01-20 02:34:53 +01:00
|
|
|
CONFIGURE_ENV= ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
|
2009-11-08 04:19:45 +01:00
|
|
|
|
2013-07-12 17:01:45 +02:00
|
|
|
USE_DOS2UNIX= *.c
|
|
|
|
|
2009-11-08 04:19:45 +01:00
|
|
|
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
|
|
|
|
|
|
|
|
post-patch:
|
2013-02-14 10:42:12 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
2009-11-08 04:19:45 +01:00
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|