mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-10 02:45:11 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
31 lines
766 B
Makefile
31 lines
766 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An SDL game engine library
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_SDL= image sdl
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= 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>
|