From nobody@FreeBSD.org  Tue Nov 26 20:39:39 2013
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 92AB14F0
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Nov 2013 20:39:39 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 820EC2BB5
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Nov 2013 20:39:39 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAQKddpA057524
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 26 Nov 2013 20:39:39 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAQKddGE057522;
	Tue, 26 Nov 2013 20:39:39 GMT
	(envelope-from nobody)
Message-Id: <201311262039.rAQKddGE057522@oldred.freebsd.org>
Date: Tue, 26 Nov 2013 20:39:39 GMT
From: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] devel/libbegemot: [Staging support]
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184317
>Category:       ports
>Synopsis:       [PATCH] devel/libbegemot: [Staging support]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danilo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 26 20:40:02 UTC 2013
>Closed-Date:    Wed Nov 27 02:52:18 UTC 2013
>Last-Modified:  Wed Nov 27 03:00:00 UTC 2013
>Originator:     Ilya A. Arkhipov
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
Home Inc. ^_^
>Environment:
FreeBSD mhome 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Mar 29 18:04:50 UTC 2012
>Description:
[PATCH] devel/libbegemot: [Staging support]
>How-To-Repeat:

>Fix:
--- libbegemot-1.11_3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile    (revision 334970)
+++ Makefile    (working copy)
@@ -5,14 +5,19 @@
 PORTVERSION=   1.11
 PORTREVISION=  3
 CATEGORIES=    devel
-MASTER_SITES=  http://people.freebsd.org/~harti/libbegemot/
-DISTNAME=      libbegemot-${PORTVERSION}
+MASTER_SITES=  http://people.freebsd.org/~harti/libbegemot/ \
+               http://m1cro.tk/ports/distfiles/libbegemot/

 MAINTAINER=    rum1cro@yandex.ru
 COMMENT=       A function library for begemot tools

+LICENSE=       BSD2CLAUSE
+LICENSE_NAME=  FreeBSD BSD Variant (2 clause BSD)
+LICENSE_FILE=  ${WRKDIR}/libbegemot-${PORTVERSION}/COPYRIGHT
+LICENSE_PERMS= auto-accept
+
 GNU_CONFIGURE= yes
-USE_GMAKE=     yes
+USES=  gmake
 USE_AUTOTOOLS= automake:env autoconf:env libltdl libtool
 USE_LDCONFIG=  yes
 MAKE_JOBS_UNSAFE=      yes
@@ -19,9 +24,7 @@

 MAN1=  cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
                rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
-MLINKS=        xalloc.1 xrealloc.1

-NO_STAGE=      yes
 run-autotools::
        @(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
        @(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
@@ -32,7 +35,7 @@
 post-install:
 .for i in ${MAN1}
        @${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
-       ${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor

 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist   (revision 334970)
+++ pkg-plist   (working copy)
@@ -1,6 +1,20 @@
+include/begemot.h
+include/rpoll.h
 lib/libbegemot.a
 lib/libbegemot.la
 lib/libbegemot.so
 lib/libbegemot.so.1
-include/begemot.h
-include/rpoll.h
+man/man1/cstrc.1.gz
+man/man1/frame.1.gz
+man/man1/getfields.1.gz
+man/man1/intro.1.gz
+man/man1/panic.1.gz
+man/man1/prstat.1.gz
+man/man1/readline.1.gz
+man/man1/rpoll.1.gz
+man/man1/strnchr.1.gz
+man/man1/strnlen.1.gz
+man/man1/strsave.1.gz
+man/man1/strtrimsp.1.gz
+man/man1/verb.1.gz
+man/man1/xalloc.1.gz
--- libbegemot-1.11_3.patch ends here ---


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 334963)
+++ Makefile	(working copy)
@@ -5,14 +5,19 @@
 PORTVERSION=	1.11
 PORTREVISION=	3
 CATEGORIES=	devel
-MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/
-DISTNAME=	libbegemot-${PORTVERSION}
+MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/ \
+		http://m1cro.tk/ports/distfiles/libbegemot/
 
 MAINTAINER=	rum1cro@yandex.ru
 COMMENT=	A function library for begemot tools
 
+LICENSE=	BSD2CLAUSE
+LICENSE_NAME=	FreeBSD BSD Variant (2 clause BSD)
+LICENSE_FILE=	${WRKDIR}/libbegemot-${PORTVERSION}/COPYRIGHT
+LICENSE_PERMS=	auto-accept
+
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=	gmake
 USE_AUTOTOOLS=	automake:env autoconf:env libltdl libtool
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
@@ -19,9 +24,7 @@
 
 MAN1=	cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
 		rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
-MLINKS=	xalloc.1 xrealloc.1
 
-NO_STAGE=	yes
 run-autotools::
 	@(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
 	@(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
@@ -32,7 +35,7 @@
 post-install:
 .for i in ${MAN1}
 	@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
-	${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 334963)
+++ pkg-plist	(working copy)
@@ -1,6 +1,20 @@
+include/begemot.h
+include/rpoll.h
 lib/libbegemot.a
 lib/libbegemot.la
 lib/libbegemot.so
 lib/libbegemot.so.1
-include/begemot.h
-include/rpoll.h
+man/man1/cstrc.1.gz
+man/man1/frame.1.gz
+man/man1/getfields.1.gz
+man/man1/intro.1.gz
+man/man1/panic.1.gz
+man/man1/prstat.1.gz
+man/man1/readline.1.gz
+man/man1/rpoll.1.gz
+man/man1/strnchr.1.gz
+man/man1/strnlen.1.gz
+man/man1/strsave.1.gz
+man/man1/strtrimsp.1.gz
+man/man1/verb.1.gz
+man/man1/xalloc.1.gz


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danilo 
Responsible-Changed-By: danilo 
Responsible-Changed-When: Wed Nov 27 01:55:47 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184317 
State-Changed-From-To: open->closed 
State-Changed-By: danilo 
State-Changed-When: Wed Nov 27 02:52:17 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184317: commit references a PR
Date: Wed, 27 Nov 2013 02:52:15 +0000 (UTC)

 Author: danilo
 Date: Wed Nov 27 02:52:01 2013
 New Revision: 334993
 URL: http://svnweb.freebsd.org/changeset/ports/334993
 
 Log:
   - Add stage support
   - Add one additional site in MASTER_SITES
   - Add LICENSE
   - Convert USE_GMAKE to USES
   
   (while here)
   - Remove the indefinite article from COMMENT
   
   PR:		ports/184317
   Submitted by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
 
 Modified:
   head/devel/libbegemot/Makefile
   head/devel/libbegemot/pkg-plist
 
 Modified: head/devel/libbegemot/Makefile
 ==============================================================================
 --- head/devel/libbegemot/Makefile	Wed Nov 27 01:56:47 2013	(r334992)
 +++ head/devel/libbegemot/Makefile	Wed Nov 27 02:52:01 2013	(r334993)
 @@ -5,23 +5,26 @@ PORTNAME=	libbegemot
  PORTVERSION=	1.11
  PORTREVISION=	3
  CATEGORIES=	devel
 -MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/
 -DISTNAME=	libbegemot-${PORTVERSION}
 +MASTER_SITES=	http://people.freebsd.org/~harti/libbegemot/ \
 +		http://m1cro.tk/ports/distfiles/libbegemot/
  
  MAINTAINER=	rum1cro@yandex.ru
 -COMMENT=	A function library for begemot tools
 +COMMENT=	Function library for begemot tools
 +
 +LICENSE=	BSD2CLAUSE
 +LICENSE_NAME=	FreeBSD BSD Variant (2 clause BSD)
 +LICENSE_FILE=	${WRKDIR}/libbegemot-${PORTVERSION}/COPYRIGHT
 +LICENSE_PERMS=	auto-accept
  
  GNU_CONFIGURE=	yes
 -USE_GMAKE=	yes
 +USES=	gmake
  USE_AUTOTOOLS=	automake:env autoconf:env libltdl libtool
  USE_LDCONFIG=	yes
  MAKE_JOBS_UNSAFE=	yes
  
 -MAN1=	cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
 +MAN_FILES=	cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
  		rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
 -MLINKS=	xalloc.1 xrealloc.1
  
 -NO_STAGE=	yes
  run-autotools::
  	@(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
  	@(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
 @@ -30,9 +33,9 @@ run-autotools::
  			${WRKSRC}/configure
  
  post-install:
 -.for i in ${MAN1}
 +.for i in ${MAN_FILES}
  	@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
 -	${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
 +	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
  .endfor
  
  .include <bsd.port.mk>
 
 Modified: head/devel/libbegemot/pkg-plist
 ==============================================================================
 --- head/devel/libbegemot/pkg-plist	Wed Nov 27 01:56:47 2013	(r334992)
 +++ head/devel/libbegemot/pkg-plist	Wed Nov 27 02:52:01 2013	(r334993)
 @@ -1,6 +1,20 @@
 +include/begemot.h
 +include/rpoll.h
  lib/libbegemot.a
  lib/libbegemot.la
  lib/libbegemot.so
  lib/libbegemot.so.1
 -include/begemot.h
 -include/rpoll.h
 +man/man1/cstrc.1.gz
 +man/man1/frame.1.gz
 +man/man1/getfields.1.gz
 +man/man1/intro.1.gz
 +man/man1/panic.1.gz
 +man/man1/prstat.1.gz
 +man/man1/readline.1.gz
 +man/man1/rpoll.1.gz
 +man/man1/strnchr.1.gz
 +man/man1/strnlen.1.gz
 +man/man1/strsave.1.gz
 +man/man1/strtrimsp.1.gz
 +man/man1/verb.1.gz
 +man/man1/xalloc.1.gz
 _______________________________________________
 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:
