summaryrefslogtreecommitdiffstats
path: root/games/lbreakout2/Makefile
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2002-08-04 07:26:00 +0000
committermarkp <markp@FreeBSD.org>2002-08-04 07:26:00 +0000
commitf28a56f8c11baaa07034fc6cdfa495bb971be9a6 (patch)
tree53b4a0324307b6599bdd08826f43e65fd4517694 /games/lbreakout2/Makefile
parent3e26b86b279e7d16dd39702f81573008888fd574 (diff)
downloadFreeBSD-ports-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.zip
FreeBSD-ports-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.tar.gz
Add lbreakout2 2.2.2, the polished successor to LBreakout.
PR: 40589 Submitted by: verm@drunkmonk.net
Diffstat (limited to 'games/lbreakout2/Makefile')
-rw-r--r--games/lbreakout2/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
new file mode 100644
index 0000000..182e6c6
--- /dev/null
+++ b/games/lbreakout2/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: lbreakout2
+# Date created: 12 June 2002
+# Whom: verm@drunkmonk.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= lbreakout2
+PORTVERSION= 2.2.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lgames
+
+MAINTAINER= verm@drunkmonk.net
+
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-highscore-path=/var/games
+CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
+ LDFLAGS=-L${LOCALBASE}/lib
+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
+
+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>
OpenPOWER on IntegriCloud