2013-09-20 18:43:52 +02:00
|
|
|
# Created by: Jacques Vidrine <nectar@FreeBSD.org>
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-07-31 09:19:46 +02:00
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= stella
|
2018-07-28 09:08:24 +02:00
|
|
|
PORTVERSION= 5.1.3
|
1997-07-31 09:19:46 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
2006-12-29 18:03:21 +01:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2014-06-10 09:39:01 +02:00
|
|
|
COMMENT= Multi-platform Atari 2600 VCS emulator
|
1997-07-31 09:19:46 +02:00
|
|
|
|
2016-03-25 11:07:40 +01:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
|
|
|
|
2018-07-28 09:08:24 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= stella-emu
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2003-09-24 15:55:05 +02:00
|
|
|
|
2017-12-19 15:41:29 +01:00
|
|
|
BROKEN_aarch64= fails to compile: Checking for compiler version... 5.0.0, bad; Please ensure you are using GCC 4.7 / Clang 3.4 or above
|
|
|
|
BROKEN_armv6= fails to compile: Checking for compiler version... 5.0.0, bad; Please ensure you are using GCC 4.7 / Clang 3.4 or above
|
|
|
|
BROKEN_armv7= fails to compile: Checking for compiler version... 5.0.0, bad; Please ensure you are using GCC 4.7 / Clang 3.4 or above
|
|
|
|
BROKEN_powerpc64= fails to compile: CartDebug.cxx: 'snprintf' is not a member of 'std'
|
|
|
|
|
2017-12-16 00:54:09 +01:00
|
|
|
CONFLICTS_INSTALL= rubygem-stella
|
|
|
|
|
2003-01-13 15:29:56 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1999-04-07 17:52:58 +02:00
|
|
|
|
2016-03-25 11:07:40 +01:00
|
|
|
USE_SDL= sdl2
|
2017-03-18 06:54:52 +01:00
|
|
|
USES= compiler:c++11-lib gmake tar:xz
|
2005-10-20 22:42:31 +02:00
|
|
|
HAS_CONFIGURE= yes
|
1997-07-31 09:19:46 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-10-20 22:42:31 +02:00
|
|
|
|
2014-07-04 00:10:07 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
1997-07-31 09:19:46 +02:00
|
|
|
do-install:
|
2014-04-06 05:26:38 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stella ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${STAGEDIR}${DATADIR}
|
2016-03-25 11:07:40 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-04-06 05:26:38 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2016-03-25 11:07:40 +01:00
|
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
1997-07-31 09:19:46 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|