From oz@nixil.net  Thu Feb 24 01:57:41 2005
Return-Path: <oz@nixil.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0DAB616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Feb 2005 01:57:41 +0000 (GMT)
Received: from nixil.net (nixil.net [161.58.222.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A196F43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Feb 2005 01:57:40 +0000 (GMT)
	(envelope-from oz@nixil.net)
Received: from nixil.net (localhost [127.0.0.1])
	by nixil.net (8.13.1/8.13.1) with ESMTP id j1O1vdGe059371
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Feb 2005 18:57:40 -0700 (MST)
Received: (from oz@localhost)
	by nixil.net (8.13.1/8.13.1/Submit) id j1O1vdZs059370;
	Wed, 23 Feb 2005 18:57:39 -0700 (MST)
Message-Id: <200502240157.j1O1vdZs059370@nixil.net>
Date: Wed, 23 Feb 2005 18:57:39 -0700 (MST)
From: Phil Oleson <oz@nixil.net>
Reply-To: Phil Oleson <oz@nixil.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: maintainer update: multimedia/dvd-slideshow
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         78000
>Category:       ports
>Synopsis:       maintainer update: multimedia/dvd-slideshow
>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:   Thu Feb 24 02:00:34 GMT 2005
>Closed-Date:    Sat Feb 26 00:28:42 GMT 2005
>Last-Modified:  Sat Feb 26 00:28:42 GMT 2005
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p27 i386
>Organization:
N/A
>Environment:
System: FreeBSD nixil.net 4.7-RELEASE-p27 FreeBSD 4.7-RELEASE-p27 #33: Mon Jun 14 16:36:44 MDT 2004 root@nixil.net:/usr/src/sys/compile/nixil i386


>Description:
	Add the PORTDOC files to package via some voodoo I borrowed from security/wpa_supplicant :P
>How-To-Repeat:
	N/A
>Fix:

--- dvd-slideshow-patch begins here ---
diff -ruN dvd-slideshow.orig/Makefile dvd-slideshow/Makefile
--- dvd-slideshow.orig/Makefile	Wed Feb 23 18:04:57 2005
+++ dvd-slideshow/Makefile	Wed Feb 23 18:52:48 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	dvd-slideshow
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -39,11 +40,15 @@
 		gallery2slideshow.1 \
 		jigl2slideshow.1
 
-PORTDOCS=	README.html examples.html changelog.html \
+.if !defined(NOPORTDOCS)
+DOC_FILES=	README.html examples.html changelog.html \
 		gallery2slideshow.html dir2slideshow.html \
 		jigl2slideshow.html dvd-encode.html \
 		test_with_background.html dvd-menu.html \
-		test_with_background.txt dvd-slideshow.html \
+		test_with_background.txt dvd-slideshow.html
+PLIST_FILES+=   ${DOC_FILES:S,^,%%DOCSDIR%%/,}
+PLIST_DIRS+=    %%DOCSDIR%%
+.endif
 
 .include <bsd.port.pre.mk>
 
@@ -81,7 +86,7 @@
 .endfor
 .ifndef(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for FILE in ${PORTDOCS}
+.for FILE in ${DOC_FILES}
 	@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
 .endfor
 .endif
--- dvd-slideshow-patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Feb 26 00:28:36 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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