2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2020/01/26 17:31:08 rillig Exp $
|
2004-07-23 21:01:40 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= Cygne-SDL-0.1-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2015-04-25 16:20:17 +02:00
|
|
|
PKGREVISION= 7
|
2004-07-23 21:01:40 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= http://sdlemu.ngemu.com/OpenProjects/
|
|
|
|
|
2006-12-18 02:34:54 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://icculus.org/Cygne-SDL/
|
2004-07-23 21:01:40 +02:00
|
|
|
COMMENT= Bandai Wonderswan Color handheld emulator
|
|
|
|
|
2013-04-13 21:08:27 +02:00
|
|
|
# The makefile mentions nasm but does not actually use it.
|
|
|
|
#BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
|
2004-07-23 21:01:40 +02:00
|
|
|
|
2005-11-03 22:34:23 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Cygne-SDL-0.1
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= Makefiles/Makefile.unix
|
2004-07-23 21:01:40 +02:00
|
|
|
NO_CONFIGURE= yes
|
2005-11-03 22:34:23 +01:00
|
|
|
BUILD_DIRS= src
|
2004-11-02 03:22:22 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2012-01-14 03:09:35 +01:00
|
|
|
USE_TOOLS+= zip
|
2004-07-23 21:01:40 +02:00
|
|
|
|
2013-04-13 21:08:27 +02:00
|
|
|
INSTALLATION_DIRS= bin share/Cygne-SDL share/doc/Cygne-SDL
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2004-07-23 21:01:40 +02:00
|
|
|
post-build:
|
2012-04-14 05:47:37 +02:00
|
|
|
cd ${WRKSRC}/WonderSnake && \
|
|
|
|
${TOOLS_PATH.zip} Wondersnake.zip Wondersnake.wsc
|
2004-07-23 21:01:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 20:21:37 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${DESTDIR}${PREFIX}/bin/Cygne-SDL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL
|
2005-11-03 22:34:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.txt \
|
2008-03-03 20:21:37 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/Cygne-SDL
|
2005-11-03 22:34:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.zip \
|
2008-03-03 20:21:37 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/Cygne-SDL
|
2004-07-23 21:01:40 +02:00
|
|
|
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|