freebsd-ports/devel/bennugd-modules/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: bennugd
# Date created: 06 Nov 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= modules
PORTVERSION= r20091106
2012-06-01 07:26:28 +02:00
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
BUILD_DEPENDS= ${LOCALBASE}/lib/libbgdrtm.so:${PORTSDIR}/devel/bennugd-core
RUN_DEPENDS= ${LOCALBASE}/lib/libbgdrtm.so:${PORTSDIR}/devel/bennugd-core
2012-06-01 07:26:28 +02:00
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
2012-06-01 07:26:28 +02:00
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/bennugd"
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
post-extract:
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|-lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/configure
.include <bsd.port.mk>