1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/lbreakout/Makefile
Trevor Johnson 7e223b8511 Define USE_PERL5_BUILD, not erroneous USE_PERL.
Submitted by:	Oliver Eikemeier
2003-11-20 15:06:14 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: lbreakout
# Date created: 19 October 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lbreakout
PORTVERSION= 010315
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lgames
MAINTAINER= ports@FreeBSD.org
COMMENT= A nice clone of classical Breakout game
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-lcompat" \
SDL_CONFIG="${SDL_CONFIG}"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
${XARGS} ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
pre-install:
${MKDIR} /var/games/${PORTNAME}
post-install:
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
${CHMOD} 664 /var/games/${PORTNAME}/${PORTNAME}.hscr
${CHOWN} root:games /var/games/${PORTNAME}/${PORTNAME}.hscr
.include <bsd.port.mk>