Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 04:14:05 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/43963: Update port: games/taipan
Message-ID:  <200210121114.g9CBE5Jb017599@www.freebsd.org>

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

>Number:         43963
>Category:       ports
>Synopsis:       Update port: games/taipan
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 12 04:20:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Add MASTER_SITE_SUNSITE to MASTER_SITES
- Support install macros

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/taipan/Makefile games/taipan/Makefile
--- /usr/ports/games/taipan/Makefile	Fri Sep 20 14:56:56 2002
+++ games/taipan/Makefile	Sat Oct 12 03:29:31 2002
@@ -7,13 +7,18 @@
 
 PORTNAME=	taipan
 PORTVERSION=	0.9
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.ilbbs.com/pub/linux/
+MASTER_SITES=	${MASTER_SITE_SUNSITE} \
+		ftp://ftp.ilbbs.com/pub/linux/
+MASTER_SITE_SUBDIR=	games/textrpg
 
 MAINTAINER=	ports@FreeBSD.org
 
-post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/taipan
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/taipan ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff -urN /usr/ports/games/taipan/files/patch-aa games/taipan/files/patch-aa
--- /usr/ports/games/taipan/files/patch-aa	Fri Sep 20 14:56:57 2002
+++ games/taipan/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,26 +0,0 @@
---- Makefile.orig	Mon Dec 31 08:09:20 2001
-+++ Makefile	Fri Mar 15 14:52:14 2002
-@@ -18,12 +18,12 @@
- #   install             - installs taipan
- 
- prefix = /usr/local
--bindir = $(prefix)/games
-+bindir = $(prefix)/bin
- 
- # 'make install' will compile and install the program
- 
- CC = gcc
--CFLAGS = -O3 -Wall
-+CFLAGS += -O3 -Wall
- OBJECTS = taipan.o
- LIBS = -lcurses
- RM = rm -f
-@@ -34,7 +34,7 @@
- 	$(RM) taipan $(OBJECTS)
- 
- install: taipan
--	install -m 4755 -o root -g root -s taipan $(bindir)
-+	install -m 755 -o root -g wheel -s taipan $(bindir)
- 
- taipan: $(OBJECTS)
- 	$(CC) $(CFLAGS) -o taipan $(OBJECTS) $(LIBS)

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210121114.g9CBE5Jb017599>