From th@smtp02.odn.ne.jp  Sun Aug 31 07:01:44 2003
Return-Path: <th@smtp02.odn.ne.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 65E5C16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 07:01:44 -0700 (PDT)
Received: from t-mta8.odn.ne.jp (mfep8.odn.ne.jp [143.90.131.186])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 25DEA43FE9
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 07:01:43 -0700 (PDT)
	(envelope-from th@smtp02.odn.ne.jp)
Received: from breton.hiyama ([218.46.177.117]) by t-mta8.odn.ne.jp
          with ESMTP
          id <20030831140141925.SVGP.195924.t-mta8.odn.ne.jp@mta8.odn.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 31 Aug 2003 23:01:41 +0900
Received: from breton.hiyama (localhost [127.0.0.1])
	by breton.hiyama (8.12.9/8.12.9) with ESMTP id h7VDs7jZ091291
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 22:54:08 +0900 (JST)
	(envelope-from th@breton.hiyama)
Received: (from th@localhost)
	by breton.hiyama (8.12.9/8.12.9/Submit) id h7VDs7TA091286;
	Sun, 31 Aug 2003 22:54:07 +0900 (JST)
Message-Id: <200308311354.h7VDs7TA091286@breton.hiyama>
Date: Sun, 31 Aug 2003 22:54:07 +0900 (JST)
From: HIYAMA Takeshi <th@smtp02.odn.ne.jp>
Reply-To: HIYAMA Takeshi <th@smtp02.odn.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: update port emulators/fceu (add man page)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56236
>Category:       ports
>Synopsis:       update port emulators/fceu (add man page)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 31 07:10:17 PDT 2003
>Closed-Date:    Sun Aug 31 07:42:05 PDT 2003
>Last-Modified:  Sun Aug 31 07:42:05 PDT 2003
>Originator:     HIYAMA Takeshi
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Hitachi Naka Electronics Co., Ld.
>Environment:
System: FreeBSD breton.hiyama 5.1-CURRENT FreeBSD 5.1-CURRENT #13: Thu Aug 28 22:45:58 JST 2003 th@breton.hiyama:/usr/obj/usr/src/sys/BRETON i386


>Description:
	Added man page to  port:emulators/fceu

>How-To-Repeat:
>Fix:


diff -urN fceu.orig/Makefile fceu/Makefile
--- fceu.orig/Makefile	Thu Jul 24 02:37:16 2003
+++ fceu/Makefile	Sun Aug 31 22:32:59 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	fceu
 PORTVERSION=	0.96
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://fceultra.sourceforge.net/files/
 DISTNAME=	fceu${PORTVERSION:S/.//}src
@@ -16,6 +17,7 @@
 
 LIB_DEPENDS=	SDL-1.1:${PORTSDIR}/devel/sdl12
 
+MAN6=		fceu.6
 WRKSRC=		${WRKDIR}/fceu
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
@@ -63,6 +65,9 @@
 .endif
 .endif
 
+pre-build:
+	@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
@@ -72,6 +77,8 @@
 	${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
 .endfor
 .endif
+.if !defined(NOPORTDOCS)
+	${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
 .if defined(TECH_DOC_INSTALL)
 	@${MKDIR} ${DOCSDIR}/tech
 .for docs in ${TECHDOCS}
@@ -92,6 +99,7 @@
 	${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S/\\/ /g} \
 			${DOCSDIR}/tech/ppu
 .endfor
+.endif
 .endif
 .endif
 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sun Aug 31 07:41:59 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56236 
>Unformatted:
