From nemysis@gmx.ch  Sun Mar 17 22:17:59 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 9740D1F3
	for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Mar 2013 22:17:59 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B1B168C
	for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Mar 2013 22:17:58 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.34]) by mrigmx.server.lan
 (mrigmx001) with ESMTP (Nemesis) id 0M9M3c-1UQkdX23Ti-00CeVf for
 <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Mar 2013 23:17:57 +0100
Received: (qmail invoked by alias); 17 Mar 2013 22:17:56 -0000
Received: from 38-21.104-92.cust.bluewin.ch (EHLO something.email.com) [92.104.21.38]
  by mail.gmx.net (mp034) with SMTP; 17 Mar 2013 23:17:56 +0100
Received: by something.email.com (sSMTP sendmail emulation); Sun, 17 Mar 2013 23:17:55 +0100
Message-Id: <20130317221759.9740D1F3@hub.freebsd.org>
Date: Sun, 17 Mar 2013 23:17:55 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] graphics/qvplay: Convert to OptionsNG, Files removed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         177058
>Category:       ports
>Synopsis:       [PATCH] graphics/qvplay: Convert to OptionsNG, Files removed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 17 22:20:00 UTC 2013
>Closed-Date:    Mon Mar 18 03:43:52 UTC 2013
>Last-Modified:  Mon Mar 18 03:50:00 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Removed file(s):
- files/patch-aa
- files/pkg-message.in
- pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- qvplay-0.95_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/qvplay/Makefile ./Makefile
--- /usr/ports/graphics/qvplay/Makefile	2013-01-14 17:57:08.000000000 +0100
+++ ./Makefile	2013-03-17 23:14:05.000000000 +0100
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	qvplay
-# Date created:		2 May 1997
-# Whom:			Jun-ichiro itojun Itoh <itojun@itojun.org>
-#
+# Created by: Jun-ichiro itojun Itoh <itojun@itojun.org>
 # $FreeBSD: head/graphics/qvplay/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	qvplay
 PORTVERSION=	0.95
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.asahi-net.or.jp/~xg2k-hys/
 
@@ -17,25 +14,34 @@
 
 GNU_CONFIGURE=	yes
 
-MAN1=		qvplay.1 qvrec.1 qvalldel.1
+PLIST_FILES=	bin/qvalldel \
+		bin/qvplay \
+		bin/qvrec
 
-MYPORTDOCS=	FAQ.txt HISTORY PROTOCOL.txt PROTOCOL.eng \
-		README README.eng README.FreeBSD
-SUB_FILES=	pkg-message
+MAN1=		qvalldel.1 qvplay.1 qvrec.1
 
-pre-patch:
+PORTDOCS=	FAQ.txt HISTORY PROTOCOL.eng PROTOCOL.txt \
+		README README.FreeBSD README.eng
+
+.include <bsd.port.options.mk>
+
+post-patch:
 	@${MKDIR} ${WRKSRC}
+	@${REINPLACE_CMD} \
+		-e 's|/usr/local/bin|$${PREFIX}/bin|' \
+		-e 's|/usr/local/man/man1|$${PREFIX}/man/man1|' \
+		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN1) $$(mandir)/$$(MAN1)|$$(INSTALL_DATA) $$(MAN1) $$(mandir)/$$(MAN1)|' \
+		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN2) $$(mandir)/$$(MAN2)|$$(INSTALL_DATA) $$(MAN2) $$(mandir)/$$(MAN2)|' \
+		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN3) $$(mandir)/$$(MAN3)|$$(INSTALL_DATA) $$(MAN3) $$(mandir)/$$(MAN3)|' \
+			${WRKSRC}/../../src/Makefile.in
 
 pre-configure:
-	@( cd ${WRKDIR}/QVplay095; ./setup FreeBSD )
+	@(cd ${WRKDIR}/QVplay095; ./setup FreeBSD)
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for file in ${MYPORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/../../${file} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../../|} ${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/qvplay/files/patch-aa ./files/patch-aa
--- /usr/ports/graphics/qvplay/files/patch-aa	2013-01-14 17:57:08.000000000 +0100
+++ ./files/patch-aa	1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
---- ../../src/Makefile.in.orig	Tue Aug 29 20:00:58 2000
-+++ ../../src/Makefile.in	Wed Jan 10 03:59:59 2001
-@@ -10,8 +10,8 @@
- INSTALL	= @INSTALL@
- INSTALL_PROGRAM	= @INSTALL_PROGRAM@
- INSTALL_DATA	= @INSTALL_DATA@
--bindir	= /usr/local/bin
--mandir  = /usr/local/man/man1
-+bindir	= @prefix@/bin
-+mandir  = @prefix@/man/man1
- 
- SRCS1	= tty.c command.c command1.c getuint.c jpeg.c ppm.c bmp.c qvplay.c
- OBJS1	= tty.o command.o command1.o getuint.o jpeg.o ppm.o bmp.o qvplay.o
-@@ -55,9 +55,9 @@
- 	$(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG1) $(bindir)/$(PROG1)
- 	$(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG2) $(bindir)/$(PROG2)
- 	$(INSTALL_PROGRAM) -s -o root -g uucp -m 2755 $(PROG3) $(bindir)/$(PROG3)
--	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN1) $(mandir)/$(MAN1)
--	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN2) $(mandir)/$(MAN2)
--	$(INSTALL_PROGRAM) -o root -g bin -m 444 $(MAN3) $(mandir)/$(MAN3)
-+	$(INSTALL_DATA) $(MAN1) $(mandir)/$(MAN1)
-+	$(INSTALL_DATA) $(MAN2) $(mandir)/$(MAN2)
-+	$(INSTALL_DATA) $(MAN3) $(mandir)/$(MAN3)
- depend: .depend
- .depend:
- 	mkdep $(SRCS1)
diff -ruN --exclude=CVS /usr/ports/graphics/qvplay/files/pkg-message.in ./files/pkg-message.in
--- /usr/ports/graphics/qvplay/files/pkg-message.in	2013-01-14 17:57:08.000000000 +0100
+++ ./files/pkg-message.in	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-Documents for qvplay can be found at: %%DOCSDIR%%
diff -ruN --exclude=CVS /usr/ports/graphics/qvplay/pkg-descr ./pkg-descr
--- /usr/ports/graphics/qvplay/pkg-descr	2013-01-14 17:57:08.000000000 +0100
+++ ./pkg-descr	2013-03-17 23:05:01.000000000 +0100
@@ -1,13 +1,13 @@
 qvplay
-	Downloading tool for Casio QV series digital camera.
-	Known to work with:
-	- Casio QV-10/10A/11/100
-	- Casio QV-30/300
-	(The word "plus" in the US product name "Casio QV-10*plus*"
-	means bundled kit, so you need not to worry about the word "plus")
+        Downloading tool for Casio QV series digital camera.
+        Known to work with:
+        - Casio QV-10/10A/11/100
+        - Casio QV-30/300
+        (The word "plus" in the US product name "Casio QV-10*plus*"
+        means bundled kit, so you need not to worry about the word "plus")
 
 AUTHOR CONTACT
-	Ken-ichi Hayashi <xg2k-hys@asahi-net.or.jp>
-	Jun-ichiro itojun Itoh <itojun@itojun.org>
+        Ken-ichi Hayashi <xg2k-hys@asahi-net.or.jp>
+        Jun-ichiro itojun Itoh <itojun@itojun.org>
 
 WWW: http://www.asahi-net.or.jp/~xg2k-hys/index-e.html
diff -ruN --exclude=CVS /usr/ports/graphics/qvplay/pkg-plist ./pkg-plist
--- /usr/ports/graphics/qvplay/pkg-plist	2013-01-14 17:57:08.000000000 +0100
+++ ./pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-bin/qvalldel
-bin/qvplay
-bin/qvrec
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL.eng
-%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL.txt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
-%%PORTDOCS%%%%DOCSDIR%%/README.eng
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- qvplay-0.95_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 17 22:20:08 UTC 2013 
Responsible-Changed-Why:  
beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177058 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Mon Mar 18 03:43:32 UTC 2013 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177058 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177058: commit references a PR
Date: Mon, 18 Mar 2013 03:43:05 +0000 (UTC)

 Author: beech
 Date: Mon Mar 18 03:42:57 2013
 New Revision: 314524
 URL: http://svnweb.freebsd.org/changeset/ports/314524
 
 Log:
   - Convert to OptionsNG
   - Cleanup port
   
   PR:		ports/177058
   Submitted by:	nemysis <nemysis@gmx.ch>
 
 Deleted:
   head/graphics/qvplay/files/
   head/graphics/qvplay/pkg-plist
 Modified:
   head/graphics/qvplay/Makefile   (contents, props changed)
   head/graphics/qvplay/pkg-descr   (contents, props changed)
 
 Modified: head/graphics/qvplay/Makefile
 ==============================================================================
 --- head/graphics/qvplay/Makefile	Mon Mar 18 03:08:45 2013	(r314523)
 +++ head/graphics/qvplay/Makefile	Mon Mar 18 03:42:57 2013	(r314524)
 @@ -1,12 +1,9 @@
 -# New ports collection makefile for:	qvplay
 -# Date created:		2 May 1997
 -# Whom:			Jun-ichiro itojun Itoh <itojun@itojun.org>
 -#
 +# Created by: Jun-ichiro itojun Itoh <itojun@itojun.org>
  # $FreeBSD$
 -#
  
  PORTNAME=	qvplay
  PORTVERSION=	0.95
 +PORTREVISION=	1
  CATEGORIES=	graphics
  MASTER_SITES=	http://www.asahi-net.or.jp/~xg2k-hys/
  
 @@ -17,25 +14,34 @@ WRKSRC=		${WRKDIR}/QVplay095/obj/FreeBSD
  
  GNU_CONFIGURE=	yes
  
 -MAN1=		qvplay.1 qvrec.1 qvalldel.1
 +PLIST_FILES=	bin/qvalldel \
 +		bin/qvplay \
 +		bin/qvrec
  
 -MYPORTDOCS=	FAQ.txt HISTORY PROTOCOL.txt PROTOCOL.eng \
 -		README README.eng README.FreeBSD
 -SUB_FILES=	pkg-message
 +MAN1=		qvalldel.1 qvplay.1 qvrec.1
  
 -pre-patch:
 +PORTDOCS=	FAQ.txt HISTORY PROTOCOL.eng PROTOCOL.txt \
 +		README README.FreeBSD README.eng
 +
 +.include <bsd.port.options.mk>
 +
 +post-patch:
  	@${MKDIR} ${WRKSRC}
 +	@${REINPLACE_CMD} \
 +		-e 's|/usr/local/bin|$${PREFIX}/bin|' \
 +		-e 's|/usr/local/man/man1|$${PREFIX}/man/man1|' \
 +		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN1) $$(mandir)/$$(MAN1)|$$(INSTALL_DATA) $$(MAN1) $$(mandir)/$$(MAN1)|' \
 +		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN2) $$(mandir)/$$(MAN2)|$$(INSTALL_DATA) $$(MAN2) $$(mandir)/$$(MAN2)|' \
 +		-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN3) $$(mandir)/$$(MAN3)|$$(INSTALL_DATA) $$(MAN3) $$(mandir)/$$(MAN3)|' \
 +			${WRKSRC}/../../src/Makefile.in
  
  pre-configure:
 -	@( cd ${WRKDIR}/QVplay095; ./setup FreeBSD )
 +	@(cd ${WRKDIR}/QVplay095; ./setup FreeBSD)
  
  post-install:
 -.if !defined(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
 -.for file in ${MYPORTDOCS}
 -	${INSTALL_DATA} ${WRKSRC}/../../${file} ${DOCSDIR}
 -.endfor
 +	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../../|} ${DOCSDIR}
  .endif
 -	@${CAT} ${PKGMESSAGE}
  
  .include <bsd.port.mk>
 
 Modified: head/graphics/qvplay/pkg-descr
 ==============================================================================
 --- head/graphics/qvplay/pkg-descr	Mon Mar 18 03:08:45 2013	(r314523)
 +++ head/graphics/qvplay/pkg-descr	Mon Mar 18 03:42:57 2013	(r314524)
 @@ -1,13 +1,13 @@
  qvplay
 -	Downloading tool for Casio QV series digital camera.
 -	Known to work with:
 -	- Casio QV-10/10A/11/100
 -	- Casio QV-30/300
 -	(The word "plus" in the US product name "Casio QV-10*plus*"
 -	means bundled kit, so you need not to worry about the word "plus")
 +        Downloading tool for Casio QV series digital camera.
 +        Known to work with:
 +        - Casio QV-10/10A/11/100
 +        - Casio QV-30/300
 +        (The word "plus" in the US product name "Casio QV-10*plus*"
 +        means bundled kit, so you need not to worry about the word "plus")
  
  AUTHOR CONTACT
 -	Ken-ichi Hayashi <xg2k-hys@asahi-net.or.jp>
 -	Jun-ichiro itojun Itoh <itojun@itojun.org>
 +        Ken-ichi Hayashi <xg2k-hys@asahi-net.or.jp>
 +        Jun-ichiro itojun Itoh <itojun@itojun.org>
  
  WWW: http://www.asahi-net.or.jp/~xg2k-hys/index-e.html
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
