mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
- Fix build
PR: 177552 Submitted by: ports fury Approved by: portmgr
This commit is contained in:
parent
3a8822fad1
commit
56f7d62d95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315695
1 changed files with 4 additions and 6 deletions
|
@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}.mirror \
|
||||||
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/}
|
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A fast-action, networked, anti-social, kill-everything game
|
COMMENT= Fast-action, networked, anti-social, kill-everything game
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
@ -18,13 +18,11 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_WRKSUBDIR=yes
|
NO_WRKSUBDIR=yes
|
||||||
|
|
||||||
BROKEN= does not build
|
|
||||||
|
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
USE_XORG= xpm
|
USE_XORG= xpm
|
||||||
USE_DOS2UNIX= *.cpp *.h config.mk makefile
|
USE_DOS2UNIX= *.cpp *.h config.mk makefile
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
MAKE_ARGS= DEPTH="${WKRSRC}"
|
MAKE_ARGS= DEPTH="${WRKSRC}"
|
||||||
ALL_TARGET= ${OPSYS:L}
|
ALL_TARGET= ${OPSYS:L}
|
||||||
MAKE_JOBS_SAFE= yes
|
MAKE_JOBS_SAFE= yes
|
||||||
|
|
||||||
|
@ -33,14 +31,14 @@ PLIST_FILES= bin/${PORTNAME}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
port-patch:
|
post-patch:
|
||||||
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \
|
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|^static char|static const char|'
|
's|^static char|static const char|'
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@{MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}/instructions
|
@${MKDIR} ${DOCSDIR}/instructions
|
||||||
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions
|
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions
|
||||||
|
|
Loading…
Add table
Reference in a new issue