2000-10-19 18:15:35 +02:00
|
|
|
# New ports collection makefile for: ltris
|
|
|
|
# Date created: 19 October 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ltris
|
2010-09-24 05:09:19 +02:00
|
|
|
PORTVERSION= 1.0.15
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2010-09-24 05:09:19 +02:00
|
|
|
MAINTAINER= davide.italiano@gmail.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An another 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
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-11-12 11:52:18 +01:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${DATADIR}
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2004-03-19 00:14:50 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-29 21:51:13 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2003-08-05 08:07:54 +02:00
|
|
|
post-patch:
|
2009-12-29 12:17:02 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/icons|/pixmaps|g' ${WRKSRC}/Makefile.in
|
2005-10-29 21:51:13 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|= @mixer_flag@|= @INTLLIBS@ @mixer_flag@|g ; \
|
|
|
|
s|--mode=666||g' ${WRKSRC}/src/Makefile.in
|
2000-10-19 18:15:35 +02:00
|
|
|
|
|
|
|
post-install:
|
2009-11-12 11:52:18 +01:00
|
|
|
@${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${CHMOD} 0664 ${DATADIR}/${PORTNAME}.hscr
|
|
|
|
@${CHOWN} root:games ${DATADIR}/${PORTNAME}.hscr
|
2000-10-19 18:15:35 +02:00
|
|
|
|
2004-03-19 00:14:50 +01:00
|
|
|
.include <bsd.port.post.mk>
|