1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/devel/bennugd-core/Makefile
2014-05-07 20:42:38 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= core
PORTVERSION= svn20130912
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
USES= tar:bzip2 dos2unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/libexec"
SUB_FILES= bgdc bgdi
USE_LDCONFIG= yes
DOS2UNIX_GLOB= *.c *.h
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= Segfaults on !i386
CONFIGURE_ENV= ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
PLIST_FILES= bin/bgdc bin/bgdi \
libexec/bgdc libexec/bgdi \
lib/libbgdrtm.la lib/libbgdrtm.so
post-extract:
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/bgdi ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/bgdc ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>