freebsd-ports/emulators/gnuboy/Makefile

45 lines
972 B
Makefile
Raw Normal View History

# 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
PORTREVISION= 11
2001-03-12 07:10:25 +01:00
CATEGORIES= emulators games
MASTER_SITES= http://www.sourcefiles.org/Emulators/Videogames/
2001-03-12 07:10:25 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Nintendo GameBoy emulator
2001-03-12 07:10:25 +01:00
LICENSE= GPLv2 # (or later)
2011-08-02 13:31:36 +02:00
LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib
2001-03-12 07:10:25 +01:00
USES= compiler
2004-01-23 23:24:30 +01:00
USE_SDL= sdl
USE_XORG= x11
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --with-sdl --enable-optimize=low
2001-03-12 07:10:25 +01:00
PORTDOCS= *
PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
2001-03-12 07:10:25 +01:00
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == "clang"
CONFIGURE_ARGS+=--disable-asm
.endif
do-install:
.for i in sdlgnuboy sgnuboy xgnuboy
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
.include <bsd.port.post.mk>