1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/lbreakout2/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: lbreakout2
# Date created: 12 June 2002
# Whom: verm@drunkmonk.net
#
# $FreeBSD$
#
PORTNAME= lbreakout2
DISTVERSION= 2.6beta-3
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lgames
MAINTAINER= mmendez@gmail.com
COMMENT= The polished successor to LBreakout
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_SDL= mixer net sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-sdl-net \
--localstatedir=/var/games \
--disable-nls
CONFIGURE_TARGET=
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
's|== "-D|= "-D|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|client docs|client|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|: install-data-local|:|g' ${WRKSRC}/client/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/client/empty.hscr ${DATADIR}
@${CHOWN} root:games ${PREFIX}/bin/lbreakout2
@${CHMOD} g+s ${PREFIX}/bin/lbreakout2
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
.endif
@${SETENV} "PKG_PREFIX=${PREFIX}" \
${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>