ports/103234: [MAINTAINER UPDATE] games/ifm : fixed slow master site, removed unneeded dependency, corrected patch naming scheme

Andy Kosela spear at protect-ya-neck.com
Wed Sep 13 17:30:28 UTC 2006


>Number:         103234
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] games/ifm : fixed slow master site, removed unneeded dependency, corrected patch naming scheme
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 17:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andy Kosela
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD plato.protect-ya-neck.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Aug 6 18:25:10 CEST 2006 spear at plato.zapto.org:/usr/obj/usr/src/sys/GENERIC i386



>Description:

	[DESCRIBE CHANGES]

	1. Fixed extremely slow master site
	2. Removed unneeded dependency: perl
	3. Corrected patch naming scheme to FreeBSD standards. 

>How-To-Repeat:
>Fix:

--- ifm.patch begins here ---
diff -ruN /usr/ports/games/ifm/Makefile /var/tmp/ifm/Makefile
--- /usr/ports/games/ifm/Makefile	Mon Oct 10 02:03:50 2005
+++ /var/tmp/ifm/Makefile	Tue Sep 12 00:48:48 2006
@@ -8,24 +8,19 @@
 PORTNAME=	ifm
 PORTVERSION=	5.1
 CATEGORIES=	games tk84
-MASTER_SITES=	http://www.ifarchive.org/%SUBDIR%/ \
-		ftp://ftp.ifarchive.org/%SUBDIR%/ \
-		ftp://ftp.funet.fi/pub/misc/%SUBDIR%/
+MASTER_SITES=	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ \
+		http://www.ifarchive.org/%SUBDIR%/
 MASTER_SITE_SUBDIR=	if-archive/mapping-tools
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	spear at protect-ya-neck.com
 COMMENT=	Interactive Fiction mapper and walkthrough generator
 
 RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
 
-USE_PERL5=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	WISH=${LOCALBASE}/bin/wish8.4
-
-post-patch:
-	@${PERL} -pi -e 's|lib doc progs|lib progs|g' ${WRKSRC}/Makefile.in
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN /usr/ports/games/ifm/files/patch-vars::src::regex.c /var/tmp/ifm/files/patch-vars::src::regex.c
--- /usr/ports/games/ifm/files/patch-vars::src::regex.c	Sun Jan 16 11:12:35 2005
+++ /var/tmp/ifm/files/patch-vars::src::regex.c	Thu Jan  1 01:00:00 1970
@@ -1,29 +0,0 @@
---- vars/src/regex.c.orig	Fri Dec  3 16:43:02 2004
-+++ vars/src/regex.c	Fri Jan 14 23:10:53 2005
-@@ -57,7 +57,7 @@
- 
- /* For platform which support the ISO C amendement 1 functionality we
-    support user defined character classes.  */
--#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
-+#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
- # include <wctype.h>
- # include <wchar.h>
- #endif
-@@ -1690,7 +1690,7 @@
-        } 								\
-     }
- 
--#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
-+#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
- /* The GNU C library provides support for user-defined character classes
-    and the functions from ISO C amendement 1.  */
- # ifdef CHARCLASS_NAME_MAX
-@@ -2190,7 +2190,7 @@
-                        the leading `:' and `[' (but set bits for them).  */
-                     if (c == ':' && *p == ']')
-                       {
--#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
-+#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
-                         boolean is_lower = STREQ (str, "lower");
-                         boolean is_upper = STREQ (str, "upper");
- 			wctype_t wt;
diff -ruN /usr/ports/games/ifm/files/patch-vars_src_regex.c /var/tmp/ifm/files/patch-vars_src_regex.c
--- /usr/ports/games/ifm/files/patch-vars_src_regex.c	Thu Jan  1 01:00:00 1970
+++ /var/tmp/ifm/files/patch-vars_src_regex.c	Mon Sep 11 19:45:09 2006
@@ -0,0 +1,29 @@
+--- vars/src/regex.c.orig	Fri Dec  3 16:43:02 2004
++++ vars/src/regex.c	Fri Jan 14 23:10:53 2005
+@@ -57,7 +57,7 @@
+ 
+ /* For platform which support the ISO C amendement 1 functionality we
+    support user defined character classes.  */
+-#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
++#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
+ # include <wctype.h>
+ # include <wchar.h>
+ #endif
+@@ -1690,7 +1690,7 @@
+        } 								\
+     }
+ 
+-#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
++#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
+ /* The GNU C library provides support for user-defined character classes
+    and the functions from ISO C amendement 1.  */
+ # ifdef CHARCLASS_NAME_MAX
+@@ -2190,7 +2190,7 @@
+                        the leading `:' and `[' (but set bits for them).  */
+                     if (c == ':' && *p == ']')
+                       {
+-#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
++#if !defined(__FreeBSD__) && (defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H))
+                         boolean is_lower = STREQ (str, "lower");
+                         boolean is_upper = STREQ (str, "upper");
+ 			wctype_t wt;
--- ifm.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list