2015-04-25 16:20:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2015/04/25 14:20:47 tnn Exp $
|
2005-07-24 16:01:02 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= sms_sdl-0.9.4a-r7.1-src
|
|
|
|
PKGNAME= sms_sdl-0.9.4a.7.1
|
2015-04-25 16:20:17 +02:00
|
|
|
PKGREVISION= 4
|
2005-07-24 16:01:02 +02:00
|
|
|
CATEGORIES= emulators
|
2010-11-13 22:08:54 +01:00
|
|
|
MASTER_SITES= http://membres.multimania.fr/cyxdown/smssdl/
|
2005-07-24 16:01:02 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-11-13 22:08:54 +01:00
|
|
|
HOMEPAGE= http://membres.multimania.fr/cyxdown/smssdl/
|
2005-07-24 16:01:02 +02:00
|
|
|
COMMENT= SMS Plus emulator port to SDL
|
|
|
|
|
2005-11-03 22:34:23 +01:00
|
|
|
WRKSRC= ${WRKDIR}/sms_sdl-0.9.4a-r7.1
|
|
|
|
BUILD_DIRS= sdl
|
2005-07-24 16:01:02 +02:00
|
|
|
|
2008-03-03 20:21:37 +01:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2012-05-16 16:38:05 +02:00
|
|
|
LDFLAGS.DragonFly= -lm
|
2014-08-21 18:20:43 +02:00
|
|
|
LDFLAGS.SunOS+= -lm
|
2012-05-16 16:38:05 +02:00
|
|
|
|
2015-03-31 17:26:46 +02:00
|
|
|
.include "../../mk/endian.mk"
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
|
|
|
|
CFLAGS+= -DX86_ASM
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_ENDIAN} == "little"
|
|
|
|
CFLAGS+= -DLSB_FIRST
|
|
|
|
.endif
|
|
|
|
|
2005-07-24 16:01:02 +02:00
|
|
|
do-install:
|
2008-03-03 20:21:37 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sdl/sms_sdl ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sms_sdl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sdl/README.TXT \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/sms_sdl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/license ${DESTDIR}${PREFIX}/share/doc/sms_sdl
|
2005-11-03 22:34:23 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.TXT \
|
2008-03-03 20:21:37 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/sms_sdl/README-CORE.TXT
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/SOURCE.TXT \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/sms_sdl
|
2005-07-24 16:01:02 +02:00
|
|
|
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|