From nobody@FreeBSD.org  Sun Mar 16 01:56:19 2014
Return-Path: <nobody@FreeBSD.org>
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 ESMTPS id 242F9A46
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2014 01:56:19 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id EA5CAE54
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2014 01:56:18 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2G1uIjA040125
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2014 01:56:18 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2G1uIYI040124;
	Sun, 16 Mar 2014 01:56:18 GMT
	(envelope-from nobody)
Message-Id: <201403160156.s2G1uIYI040124@cgiserv.freebsd.org>
Date: Sun, 16 Mar 2014 01:56:18 GMT
From: Bartek Rutkowski <ports@robakdesign.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PORT-UPDATE] devel/elfio - fixes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187627
>Category:       ports
>Synopsis:       [PORT-UPDATE] devel/elfio - fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 16 02:00:01 UTC 2014
>Closed-Date:    Tue Mar 18 01:01:50 UTC 2014
>Last-Modified:  Tue Mar 18 01:10:00 UTC 2014
>Originator:     Bartek Rutkowski
>Release:        10.0-RELEASE
>Organization:
Pixeware LTD
>Environment:
FreeBSD ports-dev 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Changes:

* staging support
* fixed port options
* added LICENSE
>How-To-Repeat:
Use the patch, test the port, commit.
>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN elfio.orig/Makefile elfio/Makefile
--- elfio.orig/Makefile	2014-03-16 01:20:30.115858998 +0100
+++ elfio/Makefile	2014-03-16 01:33:00.551526998 +0100
@@ -3,7 +3,7 @@
 
 PORTNAME=	elfio
 PORTVERSION=	1.0.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
 DISTNAME=	${PORTNAME:U}-${PORTVERSION}
@@ -11,6 +11,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ library for reading and generating files in the ELF binary format
 
+LICENSE=	LGPL21
+
 BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
 
 GNU_CONFIGURE=	yes
@@ -23,10 +25,6 @@
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEXAMPLES}
@@ -45,18 +43,18 @@
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS ChangeLog README
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for f in elf11g.zip tutorial.docbook tutorial.pdf
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
-		${EXAMPLESDIR}/ \;
+		${STAGEDIR}${EXAMPLESDIR}/ \;
 .endif
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: swills 
Responsible-Changed-When: Sun Mar 16 02:38:55 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187627 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Tue Mar 18 01:01:49 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187627: commit references a PR
Date: Tue, 18 Mar 2014 01:01:40 +0000 (UTC)

 Author: swills
 Date: Tue Mar 18 01:01:35 2014
 New Revision: 348509
 URL: http://svnweb.freebsd.org/changeset/ports/348509
 QAT: https://qat.redports.org/buildarchive/r348509/
 
 Log:
   - Staging support
   - Fixed port options
   - Added LICENSE
   
   PR:		ports/187627
   Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
 
 Modified:
   head/devel/elfio/Makefile
 
 Modified: head/devel/elfio/Makefile
 ==============================================================================
 --- head/devel/elfio/Makefile	Tue Mar 18 00:15:20 2014	(r348508)
 +++ head/devel/elfio/Makefile	Tue Mar 18 01:01:35 2014	(r348509)
 @@ -3,7 +3,7 @@
  
  PORTNAME=	elfio
  PORTVERSION=	1.0.3
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	devel
  MASTER_SITES=	SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
  DISTNAME=	${PORTNAME:U}-${PORTVERSION}
 @@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME:U}-${PORTVERSION}
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	C++ library for reading and generating files in the ELF binary format
  
 +LICENSE=	LGPL21
 +
  BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
  
  GNU_CONFIGURE=	yes
 @@ -23,10 +25,6 @@ OPTIONE_DEFINE=	EXAMPLES DOCS
  
  PORTDOCS=	*
  
 -NO_STAGE=	yes
 -
 -OPTIONS_DEFINE=	DOCS EXAMPLES
 -
  .include <bsd.port.options.mk>
  
  .if ${PORT_OPTIONS:MEXAMPLES}
 @@ -45,18 +43,18 @@ pre-configure:
  
  post-install:
  .if ${PORT_OPTIONS:MDOCS}
 -	@${MKDIR} ${DOCSDIR}
 +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
  .for file in AUTHORS ChangeLog README
 -	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 +	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
  .endfor
  .for f in elf11g.zip tutorial.docbook tutorial.pdf
 -	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
 +	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
  .endfor
  .endif
  .if ${PORT_OPTIONS:MEXAMPLES}
 -	@${MKDIR} ${EXAMPLESDIR}
 +	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
  	@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
 -		${EXAMPLESDIR}/ \;
 +		${STAGEDIR}${EXAMPLESDIR}/ \;
  .endif
  
  .include <bsd.port.mk>
 _______________________________________________
 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:
