ports/60563: Update port: games/blue to 2.7

KATO Tsuguru tkato at prontomail.com
Thu Dec 25 14:40:44 UTC 2003


>Number:         60563
>Category:       ports
>Synopsis:       Update port: games/blue to 2.7
>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:   Thu Dec 25 06:40:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 2.7

Remove file:
files/patch-ab
files/patch-ac

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/blue/Makefile games/blue/Makefile
--- /usr/ports/games/blue/Makefile	Sat Apr 12 22:46:28 2003
+++ games/blue/Makefile	Thu Dec 25 22:58:58 2003
@@ -6,18 +6,27 @@
 #
 
 PORTNAME=	blue
-PORTVERSION=	2.6
+PORTVERSION=	2.7
 CATEGORIES=	games
-MASTER_SITES=	http://www.catb.org/~esr/blue/
+MASTER_SITES=	http://www.catb.org/~esr/bluemoon/
+DISTNAME=	bluemoon-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A Blue Moon card solitaire
 
-ALL_TARGET=	# empty
-MAN6=		blue.6
+USE_REINPLACE=	yes
+ALL_TARGET=	bluemoon
+
+MAN6=		bluemoon.6
+MLINKS=		bluemoon.6 blue.6
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
+		 s|cc |$$(CC) |g' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/blue ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/blue.6 ${MANPREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin
+	@${LN} -sf bluemoon ${PREFIX}/bin/blue
+	${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/blue/distinfo games/blue/distinfo
--- /usr/ports/games/blue/distinfo	Sun Jan 26 10:15:56 2003
+++ games/blue/distinfo	Thu Dec 25 22:56:50 2003
@@ -1 +1 @@
-MD5 (blue-2.6.tar.gz) = b73160c2e8afb3ce65d29c2414a7e239
+MD5 (bluemoon-2.7.tar.gz) = a1a288e1af222e090f2d81f89037ece2
diff -urN /usr/ports/games/blue/files/patch-ab games/blue/files/patch-ab
--- /usr/ports/games/blue/files/patch-ab	Wed Jul  2 08:01:29 1997
+++ games/blue/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,19 +0,0 @@
-*** blue.c	Thu Jun 29 14:30:45 1995
---- /home/andy/tmp/wrk/blue.c	Fri Jun  6 07:13:40 1997
-***************
-*** 19,25 ****
-  #include <unistd.h>
-  #include <signal.h>
-  #include <time.h>
-! #include <curses.h>
-  #include <term.h>
-  
-  #define NOCARD		(-1)
---- 19,25 ----
-  #include <unistd.h>
-  #include <signal.h>
-  #include <time.h>
-! #include <ncurses.h>
-  #include <term.h>
-  
-  #define NOCARD		(-1)
diff -urN /usr/ports/games/blue/files/patch-ac games/blue/files/patch-ac
--- /usr/ports/games/blue/files/patch-ac	Sun Jan 26 10:15:56 2003
+++ games/blue/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,16 +0,0 @@
---- Makefile.orig	Tue Jul 30 21:56:34 2002
-+++ Makefile	Sat Jan 25 06:27:44 2003
-@@ -6,10 +6,11 @@
- VERS=2.6
- 
- SOURCES = READ.ME COPYING Makefile blue.c blue.xml blue.lsm *.spec
--CFLAGS=-O
-+CC?=cc
-+CFLAGS?=-O
- 
- blue: blue.c
--	cc $(CFLAGS) -DRELEASE=\"$(VERS)\" blue.c -lncurses -o blue
-+	$(CC) $(CFLAGS) -DRELEASE=\"$(VERS)\" blue.c -lncurses -o blue
- 
- blue.6: blue.xml
- 	xmlto man blue.xml
diff -urN /usr/ports/games/blue/pkg-descr games/blue/pkg-descr
--- /usr/ports/games/blue/pkg-descr	Mon Feb 10 19:56:01 2003
+++ games/blue/pkg-descr	Thu Dec 25 22:56:39 2003
@@ -3,4 +3,4 @@
 
 This simple game includes complete instructions on the game screen.
 
-WWW: http://www.catb.org/~esr/blue/
+WWW: http://www.catb.org/~esr/bluemoon/
diff -urN /usr/ports/games/blue/pkg-plist games/blue/pkg-plist
--- /usr/ports/games/blue/pkg-plist	Thu Aug 13 11:23:02 1998
+++ games/blue/pkg-plist	Thu Dec 25 22:56:31 2003
@@ -1 +1,2 @@
 bin/blue
+bin/bluemoon
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list