blob: 7140782ccb9acef368127c2b3f48467eb95fc1d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: xbl
# Date created: May 25 1997
# Whom: pgs (original)
#
# $FreeBSD$
#
PORTNAME= xbl
PORTVERSION= 1.1.6
CATEGORIES= games
MASTER_SITES= http://www710.univ-lyon1.fr/~exco/XBL/
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D block-dropping game
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>
|