mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
73d891fa45
Approved by: portmgr
30 lines
737 B
Makefile
30 lines
737 B
Makefile
# New ports collection makefile for: gengameng
|
|
# Date created: Apr 12, 2001
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gengameng
|
|
PORTVERSION= 4.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
|
|
|
|
MAINTAINER= markp@FreeBSD.org
|
|
COMMENT= An SDL game engine library
|
|
|
|
USE_SDL= image sdl
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS+= --program-prefix=""
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \
|
|
s|^function ||g" ${WRKSRC}/gengameng-config.in
|
|
${REINPLACE_CMD} -e "s/sdl_image.m4//" ${WRKSRC}/macros/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|