freebsd-ports/devel/gengameng/Makefile

31 lines
770 B
Makefile
Raw Normal View History

# New ports collection makefile for: gengameng
# Date created: Apr 12, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= gengameng
2002-11-24 10:17:35 +01:00
PORTVERSION= 4.1
PORTREVISION= 8
CATEGORIES= devel
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= An SDL game engine library
USE_AUTOTOOLS= libtool:22
USE_SDL= image sdl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
2002-11-24 10:17:35 +01:00
CONFIGURE_ARGS+= --program-prefix=""
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
2002-11-24 10:17:35 +01:00
post-patch:
${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \
s|^function ||g" ${WRKSRC}/gengameng-config.in
2002-11-24 10:17:35 +01:00
${REINPLACE_CMD} -e "s/sdl_image.m4//" ${WRKSRC}/macros/Makefile.in
.include <bsd.port.mk>