Lines 10-16
Link Here
|
10 |
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/} |
10 |
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/} |
11 |
|
11 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= A fast-action, networked, anti-social, kill-everything game |
13 |
COMMENT= Fast-action, networked, anti-social, kill-everything game |
14 |
|
14 |
|
15 |
LICENSE= GPLv2 |
15 |
LICENSE= GPLv2 |
16 |
|
16 |
|
Lines 18-30
Link Here
|
18 |
|
18 |
|
19 |
NO_WRKSUBDIR=yes |
19 |
NO_WRKSUBDIR=yes |
20 |
|
20 |
|
21 |
BROKEN= does not build |
|
|
22 |
|
23 |
USE_ZIP= yes |
21 |
USE_ZIP= yes |
24 |
USE_XORG= xpm |
22 |
USE_XORG= xpm |
25 |
USE_DOS2UNIX= *.cpp *.h config.mk makefile |
23 |
USE_DOS2UNIX= *.cpp *.h config.mk makefile |
26 |
MAKEFILE= makefile |
24 |
MAKEFILE= makefile |
27 |
MAKE_ARGS= DEPTH="${WKRSRC}" |
25 |
MAKE_ARGS= DEPTH="${WRKSRC}" |
28 |
ALL_TARGET= ${OPSYS:L} |
26 |
ALL_TARGET= ${OPSYS:L} |
29 |
MAKE_JOBS_SAFE= yes |
27 |
MAKE_JOBS_SAFE= yes |
30 |
|
28 |
|
Lines 33-46
Link Here
|
33 |
|
31 |
|
34 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
35 |
|
33 |
|
36 |
port-patch: |
34 |
post-patch: |
37 |
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \ |
35 |
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \ |
38 |
's|^static char|static const char|' |
36 |
's|^static char|static const char|' |
39 |
|
37 |
|
40 |
do-install: |
38 |
do-install: |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin |
42 |
.if ${PORT_OPTIONS:MDOCS} |
40 |
.if ${PORT_OPTIONS:MDOCS} |
43 |
@{MKDIR} ${DOCSDIR} |
41 |
@${MKDIR} ${DOCSDIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} |
45 |
@${MKDIR} ${DOCSDIR}/instructions |
43 |
@${MKDIR} ${DOCSDIR}/instructions |
46 |
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions |
44 |
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions |