diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/blue/Makefile | 21 | ||||
-rw-r--r-- | games/blue/distinfo | 2 | ||||
-rw-r--r-- | games/blue/files/patch-ab | 19 | ||||
-rw-r--r-- | games/blue/files/patch-ac | 16 | ||||
-rw-r--r-- | games/blue/pkg-descr | 2 | ||||
-rw-r--r-- | games/blue/pkg-plist | 1 |
6 files changed, 18 insertions, 43 deletions
diff --git a/games/blue/Makefile b/games/blue/Makefile index cb34fe871f7e..80e1016ab256 100644 --- a/games/blue/Makefile +++ b/games/blue/Makefile @@ -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@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 --git a/games/blue/distinfo b/games/blue/distinfo index defb9cec9f36..517c1f860dda 100644 --- a/games/blue/distinfo +++ b/games/blue/distinfo @@ -1 +1 @@ -MD5 (blue-2.6.tar.gz) = b73160c2e8afb3ce65d29c2414a7e239 +MD5 (bluemoon-2.7.tar.gz) = a1a288e1af222e090f2d81f89037ece2 diff --git a/games/blue/files/patch-ab b/games/blue/files/patch-ab deleted file mode 100644 index a090e635ac89..000000000000 --- a/games/blue/files/patch-ab +++ /dev/null @@ -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 --git a/games/blue/files/patch-ac b/games/blue/files/patch-ac deleted file mode 100644 index e8ee4c502817..000000000000 --- a/games/blue/files/patch-ac +++ /dev/null @@ -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 --git a/games/blue/pkg-descr b/games/blue/pkg-descr index bd6f52ec66f3..30c565433b17 100644 --- a/games/blue/pkg-descr +++ b/games/blue/pkg-descr @@ -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 --git a/games/blue/pkg-plist b/games/blue/pkg-plist index 7502fd083775..057944763c2c 100644 --- a/games/blue/pkg-plist +++ b/games/blue/pkg-plist @@ -1 +1,2 @@ bin/blue +bin/bluemoon |