From takefu@airport.fm  Thu Aug 29 10:08:39 2013
Return-Path: <takefu@airport.fm>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id B00D37DB;
	Thu, 29 Aug 2013 10:08:39 +0000 (UTC)
	(envelope-from takefu@airport.fm)
Received: from ae-osaka.co.jp (mx.ae-osaka.co.jp [210.196.184.82])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 78C442611;
	Thu, 29 Aug 2013 10:08:39 +0000 (UTC)
Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1])
	by ae-osaka.co.jp (Postfix) with ESMTP id E5818D3AC01;
	Thu, 29 Aug 2013 19:08:06 +0900 (JST)
Received: from [IPv6:2001:470:824b:a011:a87d:cb88:f6f1:5e3d] (unknown [IPv6:2001:470:824b:a011:a87d:cb88:f6f1:5e3d])
	by ae-osaka.co.jp (Postfix) with ESMTPSA id 5B9E1D3AC04;
	Thu, 29 Aug 2013 19:08:06 +0900 (JST)
Message-Id: <521F1D87.9030102@airport.fm>
Date: Thu, 29 Aug 2013 19:08:07 +0900
From: Takefu <takefu@airport.fm>
Reply-To: takefu@airport.fm
To: freebsd-gnats-submit@freebsd.org
Cc: mandree@FreeBSD.org
Subject: [PATCH] archivers/lzo2: fix OptionsNG

>Number:         181644
>Category:       ports
>Synopsis:       [PATCH] archivers/lzo2: fix OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mandree
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 29 10:10:00 UTC 2013
>Closed-Date:    Thu Aug 29 22:00:04 UTC 2013
>Last-Modified:  Thu Aug 29 22:00:04 UTC 2013
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p1 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p1 FreeBSD 8.4-RELEASE-p1 #0: Fri Jun 28 03:46:37 UTC 2013
>Description:
  fix OptionsNG
  trim header

Port maintainer (mandree@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- lzo2-2.06.patch begins here ---
diff -ruN /usr/ports/archivers/lzo2/Makefile ./Makefile
--- /usr/ports/archivers/lzo2/Makefile	2012-11-17 14:54:21.000000000 +0900
+++ ./Makefile	2013-08-29 19:00:57.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	lzo
-# Date created:				21 Feb 1998
-# Whom:					giffunip@asme.org
-#
+# Created by: giffunip@asme.org
 # $FreeBSD: ports/archivers/lzo2/Makefile,v 1.59 2012/11/17 05:54:21 svnexp Exp $
-#
  PORTNAME=	lzo2
 PORTVERSION=	2.06
@@ -22,7 +18,9 @@
 CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR}
 USE_LDCONFIG=	yes
 -.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MDOCS}
 INSTALL_TARGET=	install-exec install-pkgincludeHEADERS
 .endif
 @@ -34,7 +32,7 @@
 .endif
  post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
 .for i in AUTHORS BUGS COPYING NEWS README THANKS
@@ -42,7 +40,7 @@
 .endfor
 	${INSTALL_DATA}	${WRKSRC}/doc/* ${DOCSDIR}/
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
 .endif
--- lzo2-2.06.patch ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mandree 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Aug 29 10:10:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181644: commit references a PR
Date: Thu, 29 Aug 2013 21:58:56 +0000 (UTC)

 Author: mandree
 Date: Thu Aug 29 21:58:49 2013
 New Revision: 325635
 URL: http://svnweb.freebsd.org/changeset/ports/325635
 
 Log:
   Adjust NOPORTDOCS to OptionsNG.
   Trim header.
   
   PR:		ports/181644
   Submitted by:	Takefu <takefu@airport.fm>
 
 Modified:
   head/archivers/lzo2/Makefile   (contents, props changed)
 
 Modified: head/archivers/lzo2/Makefile
 ==============================================================================
 --- head/archivers/lzo2/Makefile	Thu Aug 29 21:24:04 2013	(r325634)
 +++ head/archivers/lzo2/Makefile	Thu Aug 29 21:58:49 2013	(r325635)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	lzo
 -# Date created:				21 Feb 1998
 -# Whom:					giffunip@asme.org
 -#
 +# Created by: giffunip@asme.org
  # $FreeBSD$
 -#
  
  PORTNAME=	lzo2
  PORTVERSION=	2.06
 @@ -22,7 +18,9 @@ GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR}
  USE_LDCONFIG=	yes
  
 -.if defined(NOPORTDOCS)
 +.include <bsd.port.options.mk>
 +
 +.if !${PORT_OPTIONS:MDOCS}
  INSTALL_TARGET=	install-exec install-pkgincludeHEADERS
  .endif
  
 @@ -34,7 +32,7 @@ post-build:
  .endif
  
  post-install:
 -.if !defined(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	${MKDIR} ${DOCSDIR}
  	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
  .for i in AUTHORS BUGS COPYING NEWS README THANKS
 @@ -42,7 +40,7 @@ post-install:
  .endfor
  	${INSTALL_DATA}	${WRKSRC}/doc/* ${DOCSDIR}/
  .endif
 -.if !defined(NOPORTEXAMPLES)
 +.if ${PORT_OPTIONS:MEXAMPLES}
  	${MKDIR} ${EXAMPLESDIR}
  	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
  .endif
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: mandree 
State-Changed-When: Thu Aug 29 22:00:03 UTC 2013 
State-Changed-Why:  
Committed, with minor changes.  Thanks!  Note that I had to rediff the 
patch - was your ports tree fully up to date when diffing? 

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