Lines 6-26
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= burgerspace |
8 |
PORTNAME= burgerspace |
9 |
PORTVERSION= 1.4 |
9 |
PORTVERSION= 1.5 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= http://sites.netscape.net/sarrazip/ |
11 |
MASTER_SITES= http://sites.netscape.net/sarrazip/ |
12 |
|
12 |
|
13 |
MAINTAINER= mark@kyne.com.au |
13 |
MAINTAINER= mark@kyne.com.au |
14 |
|
14 |
|
15 |
LIB_DEPENDS= gengameng.2:${PORTSDIR}/devel/gengameng \ |
15 |
LIB_DEPENDS= gengameng.3:${PORTSDIR}/devel/gengameng \ |
16 |
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
16 |
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
17 |
|
17 |
|
18 |
USE_X_PREFIX= yes |
18 |
USE_X_PREFIX= yes |
19 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
|
|
20 |
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config |
20 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" |
21 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" |
21 |
CONFIGURE_ARGS+= --with-gengameng-prefix="${X11BASE}" |
22 |
CONFIGURE_ARGS+= --with-gengameng-prefix="${X11BASE}" |
22 |
|
23 |
|
23 |
MAN6= burgerspace.6 |
24 |
MAN6= burgerspace.6 |
|
|
25 |
|
26 |
pre-patch: |
27 |
${PERL} -pi -e "s|sdl-config|${SDL_CONFIG}|g; s|include/SDL/|include/SDL11/|g;" \ |
28 |
${WRKSRC}/configure |
24 |
|
29 |
|
25 |
do-install: |
30 |
do-install: |
26 |
${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin |