|
Lines 6-26
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= naev |
8 |
PORTNAME= naev |
| 9 |
PORTVERSION= 0.5.2 |
9 |
PORTVERSION= 0.5.3 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= games |
10 |
CATEGORIES= games |
| 12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
| 13 |
${MASTER_SITE_GOOGLE_CODE} |
|
|
| 14 |
DIST_SUBDIR= ${PORTNAME} |
12 |
DIST_SUBDIR= ${PORTNAME} |
| 15 |
|
13 |
|
| 16 |
MAINTAINER= acm@FreeBSD.org |
14 |
MAINTAINER= acm@FreeBSD.org |
| 17 |
COMMENT= 2D action/rpg space game |
15 |
COMMENT= 2D action/rpg space trading combat game |
| 18 |
|
16 |
|
| 19 |
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ |
|
|
| 20 |
freetype:${PORTSDIR}/print/freetype2 |
| 21 |
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data |
17 |
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data |
|
|
18 |
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ |
| 19 |
png15:${PORTSDIR}/graphics/png \ |
| 20 |
vorbis:${PORTSDIR}/audio/libvorbis |
| 22 |
|
21 |
|
| 23 |
USE_AUTOTOOLS= automake:env aclocal:env autoconf:env |
|
|
| 24 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
| 25 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
| 26 |
USE_GL= gl |
24 |
USE_GL= gl |
|
Lines 33-40
Link Here
|
| 33 |
LDFLAGS+= -L${LOCALBASE}/lib |
31 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 34 |
|
32 |
|
| 35 |
MAN6= naev.6 |
33 |
MAN6= naev.6 |
| 36 |
PLIST_FILES= bin/${PORTNAME} |
|
|
| 37 |
SUB_FILES= pkg-message |
| 38 |
|
34 |
|
| 39 |
OPTIONS= OPENAL "Use the OpenAL sound backend" on \ |
35 |
OPTIONS= OPENAL "Use the OpenAL sound backend" on \ |
| 40 |
SDL_MIXER "Use the SDL_mixer sound backend" on |
36 |
SDL_MIXER "Use the SDL_mixer sound backend" on |
|
Lines 42-65
Link Here
|
| 42 |
.include <bsd.port.options.mk> |
38 |
.include <bsd.port.options.mk> |
| 43 |
|
39 |
|
| 44 |
.if defined(WITH_OPENAL) |
40 |
.if defined(WITH_OPENAL) |
| 45 |
USE_OPENAL= yes |
41 |
USE_OPENAL= yes |
| 46 |
CONFIGURE_ARGS+= --with-openal=yes |
42 |
CONFIGURE_ARGS+= --with-openal=yes |
| 47 |
.else |
43 |
.else |
| 48 |
CONFIGURE_ARGS+= --with-openal=no |
44 |
CONFIGURE_ARGS+= --with-openal=no |
| 49 |
.endif |
45 |
.endif |
| 50 |
|
46 |
|
| 51 |
.if defined(WITH_SDL_MIXER) |
47 |
.if defined(WITH_SDL_MIXER) |
| 52 |
USE_SDL+= mixer |
48 |
USE_SDL+= mixer |
| 53 |
CONFIGURE_ARGS+= --with-sdlmixer=yes |
49 |
CONFIGURE_ARGS+= --with-sdlmixer=yes |
| 54 |
.else |
50 |
.else |
| 55 |
CONFIGURE_ARGS+= --with-sdlmixer=no |
51 |
CONFIGURE_ARGS+= --with-sdlmixer=no |
| 56 |
.endif |
52 |
.endif |
| 57 |
|
53 |
|
| 58 |
do-install: |
|
|
| 59 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} |
| 60 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${PREFIX}/man/man6 |
| 61 |
|
| 62 |
post-install: |
| 63 |
@${CAT} ${PKGMESSAGE} |
| 64 |
|
| 65 |
.include <bsd.port.mk> |
54 |
.include <bsd.port.mk> |