2013-03-09 20:59:21 +01:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-10-19 18:15:35 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ltris
|
2013-11-11 18:07:11 +01:00
|
|
|
PORTVERSION= 1.0.19
|
2015-12-30 23:05:04 +01:00
|
|
|
PORTREVISION= 4
|
2002-01-15 08:31:43 +01:00
|
|
|
PORTEPOCH= 1
|
2000-10-19 18:15:35 +02:00
|
|
|
CATEGORIES= games
|
2009-11-12 11:52:18 +01:00
|
|
|
MASTER_SITES= SF/lgames/${PORTNAME}
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2013-03-13 19:49:55 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2013-03-09 20:59:21 +01:00
|
|
|
COMMENT= Tetris clone but a good one with bunch of cool features
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2004-01-20 19:21:02 +01:00
|
|
|
USE_SDL= mixer sdl
|
2000-10-19 18:15:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-12-30 23:05:04 +01:00
|
|
|
USES= gmake localbase
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/games
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2014-02-21 14:36:56 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2015-12-30 23:05:04 +01:00
|
|
|
OPTIONS_SUB= yes
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2015-12-30 23:05:04 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2005-10-29 21:51:13 +02:00
|
|
|
|
2003-08-05 08:07:54 +02:00
|
|
|
post-patch:
|
2013-07-19 17:12:46 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/\/icons/\/pixmaps/g' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's/= @mixer_flag@/= @INTLLIBS@ @mixer_flag@/g ; \
|
|
|
|
s/--mode=666//g' ${WRKSRC}/src/Makefile.in
|
2013-07-19 16:29:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/^inline //' \
|
|
|
|
${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2015-12-30 23:05:04 +01:00
|
|
|
post-install:
|
|
|
|
${MV$} ${STAGEDIR}/var/games/ltris.hscr ${STAGEDIR}/var/games/ltris.hscr.sample
|
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.include <bsd.port.mk>
|