ports/177552: games/xevil: Fix build

KATO Tsuguru tkato432 at yahoo.com
Mon Apr 1 18:40:01 UTC 2013


>Number:         177552
>Category:       ports
>Synopsis:       games/xevil: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 01 18:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xevil/Makefile games/xevil/Makefile
--- /usr/ports/games/xevil/Makefile	2013-02-24 00:27:00.000000000 +0900
+++ games/xevil/Makefile	2013-03-31 01:29:17.000000000 +0900
@@ -10,7 +10,7 @@
 DISTNAME=	${PORTNAME}src${PORTVERSION:S/.r/r/}
 
 MAINTAINER=	ports at 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 @@
 
 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 @@
 
 .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
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list