1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/games/ltris/Makefile
2021-04-06 16:31:07 +02:00

35 lines
828 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= ltris
PORTVERSION= 1.2.1
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME}
MAINTAINER= marcel@herrbischoff.com
COMMENT= Tetris clone but a good one with bunch of cool features
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gmake localbase sdl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${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
post-install:
${MV$} ${STAGEDIR}/var/games/ltris.hscr ${STAGEDIR}/var/games/ltris.hscr.sample
.include <bsd.port.mk>