Lines 16-45
Link Here
|
16 |
|
16 |
|
17 |
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg |
17 |
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg |
18 |
|
18 |
|
19 |
USE_SDL= mixer net sdl |
|
|
20 |
USE_GMAKE= yes |
19 |
USE_GMAKE= yes |
|
|
20 |
USE_SDL= mixer net sdl |
21 |
|
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \ |
23 |
CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \ |
23 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
CONFIGURE_ARGS+=--disable-cpu-opt |
25 |
CONFIGURE_ARGS+=--disable-cpu-opt |
25 |
|
26 |
|
|
|
27 |
OPTIONS= GL "Enable OpenGL support" on |
28 |
|
26 |
MAN5= boom.cfg.5 |
29 |
MAN5= boom.cfg.5 |
27 |
MAN6= prboom.6 prboom-game-server.6 |
30 |
MAN6= prboom.6 prboom-game-server.6 |
28 |
|
31 |
|
|
|
32 |
DATADIR= ${DMDIR} |
33 |
|
34 |
.include "${.CURDIR}/../doom-data/Makefile.include" |
35 |
|
36 |
.include <bsd.port.pre.mk> |
37 |
|
29 |
.if defined(WITH_GL) |
38 |
.if defined(WITH_GL) |
30 |
CONFIGURE_ARGS+=--enable-gl |
39 |
CONFIGURE_ARGS+=--enable-gl |
31 |
USE_GL= yes |
40 |
USE_GL= yes |
32 |
.endif |
41 |
.endif |
33 |
|
42 |
|
34 |
.include <bsd.port.pre.mk> |
|
|
35 |
|
36 |
post-install: |
43 |
post-install: |
37 |
.if !defined(NOPORTDOCS) |
44 |
.if !defined(NOPORTDOCS) |
38 |
${MKDIR} ${PREFIX}/share/doc/prboom |
45 |
${MKDIR} ${DOCSDIR} |
39 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/prboom |
46 |
. for f in README doc/README.compat doc/README.demos doc/boom.txt |
40 |
${INSTALL_DATA} ${WRKSRC}/doc/README.compat ${PREFIX}/share/doc/prboom |
47 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
41 |
${INSTALL_DATA} ${WRKSRC}/doc/README.demos ${PREFIX}/share/doc/prboom |
48 |
. endfor |
42 |
${INSTALL_DATA} ${WRKSRC}/doc/boom.txt ${PREFIX}/share/doc/prboom |
|
|
43 |
.endif |
49 |
.endif |
44 |
|
50 |
|
45 |
.include <bsd.port.post.mk> |
51 |
.include <bsd.port.post.mk> |