2002-08-04 09:26:00 +02:00
|
|
|
# New ports collection makefile for: lbreakout2
|
|
|
|
# Date created: 12 June 2002
|
|
|
|
# Whom: verm@drunkmonk.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lbreakout2
|
|
|
|
PORTVERSION= 2.2.2
|
2004-03-16 05:23:56 +01:00
|
|
|
PORTREVISION= 3
|
2002-08-04 09:26:00 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= lgames
|
|
|
|
|
2004-12-18 22:46:46 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= The polished successor to LBreakout
|
2002-08-04 09:26:00 +02:00
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2002-08-04 09:26:00 +02:00
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
USE_SDL= mixer sdl
|
2002-08-04 09:26:00 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-08-04 09:59:20 +02:00
|
|
|
CONFIGURE_ARGS= --with-highscore-path=/var/games \
|
|
|
|
--with-doc-path=${PREFIX}/share/doc
|
2004-01-20 22:18:12 +01:00
|
|
|
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib
|
2002-08-04 09:26:00 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/games\/lbreakout2/lbreakout2/g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's/if .*lbreakout2.hscr/if false/' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
2002-08-04 09:59:20 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's/ docs / /g' ${WRKSRC}/src/Makefile.in
|
|
|
|
.endif
|
2002-08-04 09:26:00 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/empty.hscr ${DATADIR}
|
|
|
|
@${CHOWN} root:games ${PREFIX}/bin/lbreakout2
|
|
|
|
@${CHMOD} g+s ${PREFIX}/bin/lbreakout2
|
|
|
|
@${SETENV} "PKG_PREFIX=${PREFIX}" \
|
|
|
|
${SH} pkg-install ${PKGNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|