2013-09-20 18:43:52 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-03-12 07:10:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnuboy
|
2001-12-09 17:41:39 +01:00
|
|
|
PORTVERSION= 1.0.3
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 11
|
2001-03-12 07:10:25 +01:00
|
|
|
CATEGORIES= emulators games
|
2011-08-26 05:46:11 +02:00
|
|
|
MASTER_SITES= http://www.sourcefiles.org/Emulators/Videogames/
|
2001-03-12 07:10:25 +01:00
|
|
|
|
2010-12-28 07:31:49 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Nintendo GameBoy emulator
|
2001-03-12 07:10:25 +01:00
|
|
|
|
2011-08-26 05:46:11 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2011-08-02 13:31:36 +02:00
|
|
|
|
2014-05-18 06:57:08 +02:00
|
|
|
LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib
|
2001-03-12 07:10:25 +01:00
|
|
|
|
2014-05-18 06:57:08 +02:00
|
|
|
USES= compiler
|
2004-01-23 23:24:30 +01:00
|
|
|
USE_SDL= sdl
|
2008-03-24 00:03:18 +01:00
|
|
|
USE_XORG= x11
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf
|
2014-05-18 06:57:08 +02:00
|
|
|
CONFIGURE_ARGS= --with-sdl --enable-optimize=low
|
2001-03-12 07:10:25 +01:00
|
|
|
|
2005-10-27 05:18:07 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2001-03-12 07:10:25 +01:00
|
|
|
|
2014-05-18 06:57:08 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
|
|
CONFIGURE_ARGS+=--disable-asm
|
|
|
|
.endif
|
|
|
|
|
2005-10-27 05:18:07 +02:00
|
|
|
do-install:
|
2014-05-18 06:57:08 +02:00
|
|
|
.for i in sdlgnuboy sgnuboy xgnuboy
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
|
2005-10-27 05:18:07 +02:00
|
|
|
.endfor
|
2014-05-18 06:57:08 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
|
2001-07-10 09:31:58 +02:00
|
|
|
|
2014-05-18 06:57:08 +02:00
|
|
|
.include <bsd.port.post.mk>
|