pkgsrc/games/REminiscence/Makefile
2008-04-07 16:25:37 +00:00

39 lines
940 B
Makefile

# $NetBSD: Makefile,v 1.10 2008/04/07 16:26:30 joerg Exp $
#
DISTNAME= REminiscence-0.1.6
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= http://cyxdown.free.fr/reminiscence/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://cyxdown.free.fr/reminiscence/
COMMENT= Engine to play Flashback by Delphine Software
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c++
BUILD_TARGET= rs
MAKE_ENV+= DEFINES=${DEFINES:Q}
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"
DEFINES+= -DSYS_BIG_ENDIAN
.elif ${MACHINE_ENDIAN} == "little"
DEFINES+= -DSYS_LITTLE_ENDIAN
.else
PKG_FAIL_REASON+= "Unknown endianness."
.endif
.include "../../devel/SDL/buildlink3.mk"
INSTALLATION_DIRS= bin share/doc/REminiscence
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rs ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/REminiscence
.include "../../mk/bsd.pkg.mk"