summaryrefslogtreecommitdiff
path: root/games/xbl/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-20 23:01:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-20 23:01:05 +0000
commitd763e6001caecbd7884d5acfbd77b4d143b456fe (patch)
tree85f95986a132a17697521cbff73c089fde2b2adc /games/xbl/Makefile
parent- Update to 2.0.19 (diff)
- Update to version 1.1.6
PR: 132747 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=230530
Diffstat (limited to 'games/xbl/Makefile')
-rw-r--r--games/xbl/Makefile36
1 files changed, 30 insertions, 6 deletions
diff --git a/games/xbl/Makefile b/games/xbl/Makefile
index e3ad50e56e2b..7140782ccb9a 100644
--- a/games/xbl/Makefile
+++ b/games/xbl/Makefile
@@ -6,18 +6,42 @@
#
PORTNAME= xbl
-PORTVERSION= 1.1.5
-PORTREVISION= 2
+PORTVERSION= 1.1.6
CATEGORIES= games
-MASTER_SITES= http://www710.univ-lyon1.fr/~exco/XBL/ GENTOO/distfiles
+MASTER_SITES= http://www710.univ-lyon1.fr/~exco/XBL/
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D block-dropping game
-BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
-
-USE_XORG= x11 xext
+USE_XORG= x11
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ ac_cv_prog_IMAKE="" ac_cv_prog_XMKMF=""
+MAKE_ARGS= USE_SETGID="" \
+ GROUP_GID="" \
+ RESOURCEDIR="${PREFIX}/lib/X11/app-defaults" \
+ BINDIR="${PREFIX}/bin" \
+ SCOREDIR="${PREFIX}/lib/X11/xbl" \
+ MANPATH="${MANPREFIX}/man" \
+ LIBS="-lm -lX11" \
+ LDOPTIONS="${LDFLAGS}"
+
MAN1= xbl.1
+CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@CFLA@ -g|@CFLA@|g' ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bl ${PREFIX}/bin/xbl
+ ${INSTALL_MAN} ${WRKSRC}/xbl.man ${MANPREFIX}/man/man1/xbl.1
+ ${INSTALL_DATA} ${WRKSRC}/Xbl.ad ${PREFIX}/lib/X11/app-defaults/Xbl
+ @${MKDIR} ${PREFIX}/lib/X11/xbl
+ ${INSTALL_DATA} ${WRKSRC}/Xbl.ad ${PREFIX}/lib/X11/xbl/Xbl
+ ${INSTALL_DATA} ${WRKSRC}/*.gif ${PREFIX}/lib/X11/xbl
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/lib/X11/xbl
+
.include <bsd.port.mk>