aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-04-03 14:28:19 +0800
committermiwi <miwi@FreeBSD.org>2013-04-03 14:28:19 +0800
commit0abf319d04380b363981e5dbd6ac6167f7581dab (patch)
tree6450203e247d28b65e272797c0a81fb312af7bdd /games
parent1da9d88c1389f87a4f6fd279c27711befc0d9762 (diff)
downloadfreebsd-ports-gnome-0abf319d04380b363981e5dbd6ac6167f7581dab.tar.gz
freebsd-ports-gnome-0abf319d04380b363981e5dbd6ac6167f7581dab.tar.zst
freebsd-ports-gnome-0abf319d04380b363981e5dbd6ac6167f7581dab.zip
- Fix build
PR: 177552 Submitted by: ports fury Approved by: portmgr
Diffstat (limited to 'games')
-rw-r--r--games/xevil/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/xevil/Makefile b/games/xevil/Makefile
index e0ea2ca89ed2..5c01b552cc1a 100644
--- a/games/xevil/Makefile
+++ b/games/xevil/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}.mirror \
DISTNAME= ${PORTNAME}src${PORTVERSION:S/.r/r/}
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
@@ -18,13 +18,11 @@ OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR=yes
-BROKEN= does not build
-
USE_ZIP= yes
USE_XORG= xpm
USE_DOS2UNIX= *.cpp *.h config.mk makefile
MAKEFILE= makefile
-MAKE_ARGS= DEPTH="${WKRSRC}"
+MAKE_ARGS= DEPTH="${WRKSRC}"
ALL_TARGET= ${OPSYS:L}
MAKE_JOBS_SAFE= yes
@@ -33,14 +31,14 @@ PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
-port-patch:
+post-patch:
@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \
's|^static char|static const char|'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @{MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/instructions
${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions