blob: 62b2a328d2d1f331ea8c455b5cde958aab91a4f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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= 2
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_XLIB= yes
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-sdl
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy
post-patch:
.for file in sys/sdl/sdl.c sys/sdl/keymap.c
@${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file}
.endfor
do-install:
.for file in sdlgnuboy sgnuboy xgnuboy
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|