pkgsrc/emulators/gnuboy/Makefile
marino 1757d2eb68 emulators/gnuboy: Fix for modern gcc
The deprecated force-mem flag is not present on later gcc compilers.
2011-12-09 01:31:57 +00:00

34 lines
1,013 B
Makefile

# $NetBSD: Makefile,v 1.13 2011/12/09 01:31:57 marino Exp $
DISTNAME= gnuboy-1.0.3
PKGREVISION= 2
CATEGORIES= emulators games
MASTER_SITES= http://brightrain.aerifal.cx/~laguna/src/
MAINTAINER= njl@sdf.lonestar.org
#HOMEPAGE= http://gnuboy.unix-fu.org/
COMMENT= Gameboy emulator
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin
BUILDLINK_TRANSFORM+= rm:-fforce-mem
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gnuboy
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gnuboy
${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \
${DESTDIR}${PREFIX}/share/examples/gnuboy/
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \
${DESTDIR}${PREFIX}/share/doc/gnuboy/
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"