mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
38 lines
961 B
Makefile
38 lines
961 B
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= modules
|
|
PORTVERSION= svn20130912
|
|
PORTREVISION= 4
|
|
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
|
|
|
|
LIB_DEPENDS= libbgdrtm.so:${PORTSDIR}/devel/bennugd-core \
|
|
libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
USES= tar:bzip2 dos2unix pkgconfig libtool
|
|
USE_SDL= sdl mixer
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/bennugd"
|
|
CONFIGURE_ENV= ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
|
|
DOS2UNIX_GLOB= *.c
|
|
INSTALL_TARGET= install-strip
|
|
|
|
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
|
|
|
|
post-extract:
|
|
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|