1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/emulators/gnuboy/Makefile
Mark Linimon a931122c7a Fix up Makefiles for ports that used to fetch from www.sourcefiles.org.
It is gone.

While here, chase other mastersites, pet portlint, and set DEPRECATED
for ports that do not fetch from alternative sites.

Note: most of these ports are ancient and unmaintained.
2018-01-02 01:51:11 +00:00

53 lines
1.1 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnuboy
PORTVERSION= 1.0.3
PORTREVISION= 11
CATEGORIES= emulators games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Nintendo GameBoy emulator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Latest version is 1.0.5, older version does not fetch
EXPIRATION_DATE= 2018-03-01
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= relies on features specific to x86
LIB_DEPENDS= libvga.so:graphics/svgalib
USES= autoreconf compiler
USE_SDL= sdl
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sdl --enable-optimize=low
PORTDOCS= *
PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
.include <bsd.port.post.mk>