Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 02:45:55 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164157: Update port: games/xscorch
Message-ID:  <20120116024555.884548ab.tkato432@yahoo.com>
Resent-Message-ID: <201201151810.q0FIAB1v078489@freefall.freebsd.org>

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

>Number:         164157
>Category:       ports
>Synopsis:       Update port: games/xscorch
>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:   Sun Jan 15 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Add OPTIONS for sound support
- Get rid of deprecated stuff

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xscorch/Makefile games/xscorch/Makefile
--- /usr/ports/games/xscorch/Makefile	2011-11-29 03:19:35.000000000 +0900
+++ games/xscorch/Makefile	2011-12-06 04:32:32.000000000 +0900
@@ -16,32 +16,23 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	mikmod.2:${PORTSDIR}/audio/libmikmod
+OPTIONS=	MIKMOD "Enable libmikmod support" on
 
-USE_XORG=	xpm
 USE_GNOME=	gtk20
-WANT_GNOME=	yes
 USE_PERL5=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-gtk
 MAKE_JOBS_SAFE=	yes
 
 MAN6=		xscorch.6
-NO_MANCOMPRESS=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if ${HAVE_GNOME:Mgnomelibs}!=""
-USE_GNOME+=	gnomeprefix gnomelibs
-PKGNAMESUFFIX=	-gnome
+.if defined(WITHOUT_MIKMOD)
+CONFIGURE_ARGS+=--disable-sound
 .else
-CONFIGURE_ARGS+=	--without-gnome
+LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
+CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
-		${WRKSRC}/snet/tcpnet/tn_internal.c \
-		${WRKSRC}/snet/tcpnet/tn_read.c
-
-.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?20120116024555.884548ab.tkato432>