mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: bennugd
|
|
# Date created: 06 Nov 2009
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= modules
|
|
PORTVERSION= r20091106
|
|
PORTREVISION= 2
|
|
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 <bsd.port.mk>
|