# New ports collection makefile for: bennugd # Date created: 06 Nov 2009 # Whom: Dmitry Marakasov # # $FreeBSD$ # PORTNAME= modules PORTVERSION= r20091106 PORTREVISION= 3 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 LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png USE_SDL= sdl mixer GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include 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