Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2012 02:20:57 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/166027: Update port: games/awale
Message-ID:  <20120314022057.881a9741.tkato432@yahoo.com>
Resent-Message-ID: <201203131810.q2DIA5FX054713@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166027
>Category:       ports
>Synopsis:       Update port: games/awale
>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:   Tue Mar 13 18:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix OPTIONS handling

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/awale/Makefile games/awale/Makefile
--- /usr/ports/games/awale/Makefile	2012-03-04 14:30:50.000000000 +0900
+++ games/awale/Makefile	2012-03-04 15:47:30.000000000 +0900
@@ -17,13 +17,12 @@
 
 MAN6=		${PORTNAME}.6
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if defined(WITHOUT_GUI)
 PLIST_SUB+=	GUI="@comment "
 .else
 USE_TK_WRAPPER=	yes
-.include "${PORTSDIR}/Mk/bsd.tcl.mk"
 MAN6+=		x${PORTNAME}.6
 PLIST_SUB+=	GUI=""
 .endif
@@ -38,14 +37,14 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.6 ${MANPREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
 	@${MKDIR} ${DATADIR}
 .for f in README *.bmp *.gif *.ico *.png
 	${INSTALL_DATA} ${WRKSRC}/src/${f} ${DATADIR}
 .endfor
-.if !defined(WITHOUT_X11)
+.if !defined(WITHOUT_GUI)
 	${INSTALL_SCRIPT} ${WRKSRC}/src/x${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/x${PORTNAME}.6 ${MANPREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/man/x${PORTNAME}.6 ${MAN6PREFIX}/man/man6
 	${INSTALL_SCRIPT} ${WRKSRC}/src/xawale.tcl ${DATADIR}
 .endif
 .if !defined(NOPORTDOCS)
@@ -55,4 +54,4 @@
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120314022057.881a9741.tkato432>