From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 13 18:10:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FE41065674 for ; Tue, 13 Mar 2012 18:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B7F998FC2E for ; Tue, 13 Mar 2012 18:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2DIA672054741 for ; Tue, 13 Mar 2012 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2DIA6Sm054740; Tue, 13 Mar 2012 18:10:06 GMT (envelope-from gnats) Resent-Date: Tue, 13 Mar 2012 18:10:06 GMT Resent-Message-Id: <201203131810.q2DIA6Sm054740@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 710C41065675 for ; Tue, 13 Mar 2012 18:01:50 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168]) by mx1.freebsd.org (Postfix) with ESMTP id 387A88FC0A for ; Tue, 13 Mar 2012 18:01:50 +0000 (UTC) Received: from localhost.localdomain (ZT029054.ppp.dion.ne.jp [59.128.29.54]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id C8DD050036 for ; Wed, 14 Mar 2012 03:01:46 +0900 (JST) Message-Id: <20120314022106.4a1f973c.tkato432@yahoo.com> Date: Wed, 14 Mar 2012 02:21:06 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/166030: Update port: games/scare to 1.3.10 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 18:10:06 -0000 >Number: 166030 >Category: ports >Synopsis: Update port: games/scare to 1.3.10 >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:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p5 i386 >Organization: >Environment: >Description: - Update to version 1.3.10 Remove file: files/no-xglk.patch files/patch-Makefile files/xglk.patch >How-To-Repeat: >Fix: diff -urN /usr/ports/games/scare/Makefile games/scare/Makefile --- /usr/ports/games/scare/Makefile 2012-02-28 19:52:51.000000000 +0900 +++ games/scare/Makefile 2012-03-03 06:03:20.000000000 +0900 @@ -6,44 +6,65 @@ # PORTNAME= scare -PORTVERSION= 1.3.7 +PORTVERSION= 1.3.10 CATEGORIES= games -MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/programming/adrift/ +MASTER_SITES= http://ifarchive.flavorplex.com/%SUBDIR%/ \ + http://ifarchive.heanet.ie/%SUBDIR%/ \ + http://ifarchive.jmac.org/%SUBDIR%/ \ + http://ifarchive.plover.net/%SUBDIR%/ \ + http://ifarchive.wurb.com/%SUBDIR%/ \ + http://www.ifarchive.org/%SUBDIR%/ \ + ftp://ftp.ifarchive.org/%SUBDIR%/ +MASTER_SITE_SUBDIR= if-archive/programming/adrift MAINTAINER= ports@FreeBSD.org COMMENT= ADRIFT-compatible interactive games interpreter +LICENSE= GPLv2 + OPTIONS= XGLK "Use the xglk graphics library" off USE_ZIP= yes +MAKE_JOBS_SAFE=yes -.include - -BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip +PLIST_FILES= bin/scare -BINFILES= scare +.include .if defined(WITH_XGLK) -PKGNAMESUFFIX= -glk - BUILD_DEPENDS+= ${LOCALBASE}/lib/libxglk.a:${PORTSDIR}/games/xglk RUN_DEPENDS+= ${LOCALBASE}/lib/libxglk.a:${PORTSDIR}/games/xglk +ALL_TARGET= scare glkscare +PLIST_FILES+= bin/glkscare +.endif -ALL_TARGET= all glkscare - -EXTRA_PATCHES= ${FILESDIR}/xglk.patch +post-patch: + @${REINPLACE_CMD} -e \ + '/^CC/s|= |?= | ; \ + /^CFLAGS/s|= -O2|+= | ; \ + /^CFLAGS/s|-fPIC|| ; \ + /^LDLIBS/s|=.*|= -lz| ; \ + /-D__unix/s|^#|| ; \ + s|^sinclude.*|.include "$$(GLKPATH)/Make.$$(GLK)"| ; \ + s| $$(ZOBJECTS)||' ${WRKSRC}/source/Makefile -BINFILES+= glkscare +do-configure: + @${MKDIR} ${WRKDIR}/xglk +.if defined(WITH_XGLK) + @${LN} -sf ${LOCALBASE}/include/xglk/*.h ${WRKDIR}/xglk + @${LN} -sf ${LOCALBASE}/share/xglk/Make.xglk ${WRKDIR}/xglk .else -EXTRA_PATCHES= ${FILESDIR}/no-xglk.patch + @${TOUCH} ${WRKDIR}/xglk/Make.xglk .endif -PLIST_FILES= ${BINFILES:S,^,bin/,} - do-install: - ${INSTALL_PROGRAM} ${BINFILES:S,^,${WRKSRC}/source/,} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/source/scare ${PREFIX}/bin +.if defined(WITH_XGLK) + ${INSTALL_PROGRAM} ${WRKSRC}/source/glkscare ${PREFIX}/bin +.endif test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} check -.include +.include diff -urN /usr/ports/games/scare/distinfo games/scare/distinfo --- /usr/ports/games/scare/distinfo 2011-07-04 02:03:58.000000000 +0900 +++ games/scare/distinfo 2012-03-03 04:49:01.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (scare-1.3.7.zip) = bb4d2ff59304d6674f6e7909bd0e171cb69c151ed859c729f6888aa58a17d4e6 -SIZE (scare-1.3.7.zip) = 1313534 +SHA256 (scare-1.3.10.zip) = c11410e8474de23d5c8256fd5f303ecac8882e9c4a0e02ece2ea7fb21561a5be +SIZE (scare-1.3.10.zip) = 1338680 diff -urN /usr/ports/games/scare/files/no-xglk.patch games/scare/files/no-xglk.patch --- /usr/ports/games/scare/files/no-xglk.patch 2009-03-19 23:41:07.000000000 +0900 +++ games/scare/files/no-xglk.patch 1970-01-01 09:00:00.000000000 +0900 @@ -1,17 +0,0 @@ -Properly disable the use of the xglk library if the port's XGLK option -has been turned off. - ---- source/Makefile.orig -+++ source/Makefile -@@ -73,8 +73,9 @@ - # If your make can't handle sinclude or -include, and you're not building - # for Glk, comment out the include line. - GLKPATH = $(GLKDIR)/$(GLK) --sinclude $(GLKPATH)/Make.$(GLK) --GLKLIBS = -L$(GLKPATH) $(GLKLIB) $(LINKLIBS) -+#sinclude $(GLKPATH)/Make.$(GLK) -+#GLKLIBS = -L$(GLKPATH) $(GLKLIB) $(LINKLIBS) -+GLKLIBS = - - # Always use the Bourne shell. - SHELL = /bin/sh diff -urN /usr/ports/games/scare/files/patch-Makefile games/scare/files/patch-Makefile --- /usr/ports/games/scare/files/patch-Makefile 2009-03-19 23:41:07.000000000 +0900 +++ games/scare/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,46 +0,0 @@ -Only set the Makefile variables conditionally so that they may be -overridden by the FreeBSD port. - ---- source/Makefile.orig -+++ source/Makefile -@@ -26,18 +26,19 @@ - # - - # GCC compiler and linker flags. --CC = gcc --DEBUG = --CEXTRA = --CFLAGS = -O2 -D__NO_STRING_INLINES -fPIC -ansi -D_STRICT_ANSI_ -Wall -W \ -+CC ?= gcc -+DEBUG ?= -+CEXTRA ?= -+CFLAGS ?= -O2 -D__NO_STRING_INLINES -fPIC -ansi -D_STRICT_ANSI_ -Wall -W \ - -pedantic -Wshadow -Wpointer-arith -Wstrict-prototypes \ - -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \ - -Wwrite-strings -Wundef -Wbad-function-cast -Waggregate-return \ - -Wnested-externs \ -- $(DEBUG) $(CEXTRA) --LDLIBS = --LDEXTRA = --LDFLAGS = $(DEBUG) $(LDEXTRA) -+ $(DEBUG) -+CFLAGS += $(CEXTRA) -+LDLIBS ?= -+LDEXTRA ?= -+LDFLAGS ?= $(DEBUG) $(LDEXTRA) - - # Generic compiler and linker flags. - #CC = cc -@@ -79,9 +80,9 @@ - SHELL = /bin/sh - - # Miscellaneous tools, overridable by the command line. --UNZIP = unzip --RM = rm --TEST = test -+UNZIP ?= unzip -+RM ?= rm -+TEST ?= test - - # SCARE objects and headers. - OBJECTS = sctafpar.o sctaffil.o scprops.o scvars.o scexpr.o scprintf.o \ diff -urN /usr/ports/games/scare/files/xglk.patch games/scare/files/xglk.patch --- /usr/ports/games/scare/files/xglk.patch 2009-03-19 23:41:07.000000000 +0900 +++ games/scare/files/xglk.patch 1970-01-01 09:00:00.000000000 +0900 @@ -1,22 +0,0 @@ -Properly enable the xglk build if the XGLK port option has been turned on. - ---- source/Makefile.orig -+++ source/Makefile -@@ -73,7 +73,7 @@ - # If your make can't handle sinclude or -include, and you're not building - # for Glk, comment out the include line. - GLKPATH = $(GLKDIR)/$(GLK) --sinclude $(GLKPATH)/Make.$(GLK) -+.include "$(LOCALBASE)/share/xglk/Make.$(GLK)" - GLKLIBS = -L$(GLKPATH) $(GLKLIB) $(LINKLIBS) - - # Always use the Bourne shell. -@@ -134,7 +134,7 @@ - - os_glk.o: os_glk.c $(HEADERS) - $(CC) $(GLKARCH) $(CFLAGS) -Wno-write-strings \ -- -I $(GLKDIR)/$(GLK) -c -o $@ $< -+ -DLINUX_GRAPHICS -I${LOCALBASE}/include/xglk -c -o $@ $< - - # Option to build an IFP plugin version of SCARE. - scare_plugin.c: scare.hdr diff -urN /usr/ports/games/scare/pkg-descr games/scare/pkg-descr --- /usr/ports/games/scare/pkg-descr 2011-08-23 18:39:50.000000000 +0900 +++ games/scare/pkg-descr 2012-03-03 05:49:44.000000000 +0900 @@ -1 +1,3 @@ An ADRIFT-compatible interactive games interpreter. + +WWW: http://sites.google.com/site/scarehome/ >Release-Note: >Audit-Trail: >Unformatted: