freebsd-ports/emulators/gnuboy/Makefile

40 lines
881 B
Makefile
Raw Normal View History

2001-03-12 07:10:25 +01:00
# ex:ts=8
# New ports collection makefile for: gnuboy
# Date created: Mar 11, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnuboy
2001-12-09 17:41:39 +01:00
PORTVERSION= 1.0.3
2001-03-12 07:10:25 +01:00
CATEGORIES= emulators games
MASTER_SITES= http://gnuboy.unix-fu.org/src/ \
http://brightrain.aerifal.cx/~laguna/src/
2001-03-12 07:10:25 +01:00
MAINTAINER= ijliao@FreeBSD.org
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \
SDL-1.1.3:${PORTSDIR}/devel/sdl12
2001-03-12 07:10:25 +01:00
USE_XLIB= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-sdl
post-patch:
.for file in sys/sdl/sdl.c sys/sdl/keymap.c
@${PERL} -pi -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file}
.endfor
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
2001-03-12 07:10:25 +01:00
.include <bsd.port.mk>