2013-07-12 17:01:45 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-11-08 04:19:45 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= core
|
2014-01-20 02:34:31 +01:00
|
|
|
PORTVERSION= svn20130912
|
2014-09-13 21:20:22 +02:00
|
|
|
PORTREVISION= 1
|
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, core libs
|
|
|
|
|
2014-09-13 21:20:22 +02:00
|
|
|
USES= dos2unix libtool tar:bzip2
|
2009-11-08 04:19:45 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/libexec"
|
|
|
|
SUB_FILES= bgdc bgdi
|
|
|
|
USE_LDCONFIG= yes
|
2014-05-07 22:42:38 +02:00
|
|
|
DOS2UNIX_GLOB= *.c *.h
|
2009-11-08 04:19:45 +01:00
|
|
|
|
2009-11-30 20:20:48 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
ONLY_FOR_ARCHS_REASON= Segfaults on !i386
|
|
|
|
|
2014-01-20 02:34:31 +01:00
|
|
|
CONFIGURE_ENV= ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
|
|
|
|
|
2009-11-08 04:19:45 +01:00
|
|
|
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/bgdc bin/bgdi \
|
|
|
|
libexec/bgdc libexec/bgdi \
|
2014-09-13 21:20:22 +02:00
|
|
|
lib/libbgdrtm.so
|
2009-11-08 04:19:45 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-install:
|
2014-01-20 02:34:31 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/bgdi ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/bgdc ${STAGEDIR}${PREFIX}/bin
|
2009-11-08 04:19:45 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|