ports/172007: games/taipan: Update MASTER_SITES

KATO Tsuguru tkato432 at yahoo.com
Tue Sep 25 18:10:26 UTC 2012


>Number:         172007
>Category:       ports
>Synopsis:       games/taipan: Update MASTER_SITES
>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 Sep 25 18:10:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Support PORTDOCS/PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/taipan/Makefile games/taipan/Makefile
--- /usr/ports/games/taipan/Makefile	2003-02-21 02:32:14.000000000 +0900
+++ games/taipan/Makefile	2012-09-25 03:32:53.000000000 +0900
@@ -1,26 +1,27 @@
-# New ports collection makefile for:	taipan
-# Date created:				2002-03-15
-# Whom:					Dave Walton <dwalton at acm.org>
-#
+# Created by: Dave Walton <dwalton at acm.org>
 # $FreeBSD: ports/games/taipan/Makefile,v 1.5 2003/02/20 17:32:14 knu Exp $
-#
 
 PORTNAME=	taipan
 PORTVERSION=	0.9
 PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_SUNSITE} \
-		ftp://ftp.ilbbs.com/pub/linux/
-MASTER_SITE_SUBDIR=	games/textrpg
+MASTER_SITES=	SUNSITE/games/textrpg
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Taipan was (and is) a classic role-playing game from the 1980s
+COMMENT=	A classic role-playing game from the 1980s
+
+OPTIONS_DEFINE=	DOCS
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
+PORTDOCS=	README
+PLIST_FILES=	bin/taipan
+
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/taipan ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
diff -urN /usr/ports/games/taipan/pkg-plist games/taipan/pkg-plist
--- /usr/ports/games/taipan/pkg-plist	2002-09-20 14:56:56.000000000 +0900
+++ games/taipan/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/taipan
-%%PORTDOCS%%share/doc/taipan/README
-%%PORTDOCS%%@dirrm share/doc/taipan
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list