2012-12-21 10:29:42 +01:00
|
|
|
# Created by: neuroworker@gmail.com
|
2010-12-27 13:15:19 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= instead
|
2013-07-15 15:23:32 +02:00
|
|
|
PORTVERSION= 1.9.1
|
2013-12-25 15:55:33 +01:00
|
|
|
PORTREVISION= 2
|
2010-12-27 13:15:19 +01:00
|
|
|
CATEGORIES= games
|
2013-07-15 15:23:32 +02:00
|
|
|
MASTER_SITES= SF/instead/instead/${PORTVERSION}/ \
|
2012-02-22 22:43:33 +01:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2010-12-27 13:15:19 +01:00
|
|
|
DISTNAME= instead_${PORTVERSION}
|
|
|
|
|
2012-04-23 16:02:10 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2010-12-27 13:15:19 +01:00
|
|
|
COMMENT= Simple Text Adventure, The Interpreter
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2013-12-16 12:17:42 +01:00
|
|
|
USES= pkgconfig iconv gmake
|
2013-04-27 10:50:46 +02:00
|
|
|
USE_GNOME= gtk20
|
2010-12-27 13:15:19 +01:00
|
|
|
USE_LUA= 5.1
|
2013-09-30 21:58:20 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
2010-12-27 13:15:19 +01:00
|
|
|
|
|
|
|
CONFIGURE_SCRIPT= configure.sh
|
2012-02-22 22:43:33 +01:00
|
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}"
|
2010-12-27 13:15:19 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/instead-${PORTVERSION}
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2013-12-16 12:17:42 +01:00
|
|
|
PORTDATA= *
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
OPTIONS_DEFAULT=SDL
|
|
|
|
OPTIONS_SINGLE= SDL_VERSION
|
|
|
|
OPTIONS_SINGLE_SDL_VERSION= SDL SDL2
|
|
|
|
|
|
|
|
SDL_VERSION_DESC=SDL version
|
|
|
|
SDL_DESC= Use SDL 1.2
|
|
|
|
SDL2_DESC= Use SDL 2.0
|
2010-12-27 13:15:19 +01:00
|
|
|
|
2012-12-21 10:29:42 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-12-16 12:17:42 +01:00
|
|
|
.if ${PORT_OPTIONS:MSDL2}
|
|
|
|
USE_SDL= sdl2 image2 ttf2 mixer2
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|&-nonexistent|' ${WRKSRC}/configure.sh
|
|
|
|
.else
|
|
|
|
USE_SDL= sdl image ttf mixer
|
|
|
|
|
2012-02-22 22:43:33 +01:00
|
|
|
post-patch:
|
2013-12-16 12:17:42 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl2-config|&-nonexistent|' ${WRKSRC}/configure.sh
|
2010-12-27 13:15:19 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|