c9ea361463
on sdl12-1.2.5
40 lines
863 B
Makefile
40 lines
863 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: gnuboy
|
|
# Date created: Mar 11, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnuboy
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators games
|
|
MASTER_SITES= http://gnuboy.unix-fu.org/src/ \
|
|
http://brightrain.aerifal.cx/~laguna/src/
|
|
|
|
MAINTAINER= ijliao@FreeBSD.org
|
|
COMMENT= Nintendo GameBoy emulator
|
|
|
|
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
USE_SDL= sdl
|
|
USE_REINPLACE= yes
|
|
USE_XLIB= yes
|
|
USE_AUTOCONF_VER= 213
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
|
CONFIGURE_ARGS= --with-sdl
|
|
|
|
post-patch:
|
|
.for file in sys/sdl/sdl.c sys/sdl/keymap.c
|
|
@${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|