From pol@be.dns4soho.net  Sat Feb  8 14:15:48 2014
Return-Path: <pol@be.dns4soho.net>
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 05079C98
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Feb 2014 14:15:48 +0000 (UTC)
Received: from be.dns4soho.net (be.dns4soho.net [IPv6:2a01:230:2::30])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B39951FAC
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Feb 2014 14:15:47 +0000 (UTC)
Received: from be.dns4soho.net (be.dns4soho.net [82.146.57.245])
	by be.dns4soho.net (8.14.7/8.14.5) with ESMTP id s18EFg8N027720
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 8 Feb 2014 14:15:42 GMT
	(envelope-from pol@be.dns4soho.net)
Received: (from root@localhost)
	by be.dns4soho.net (8.14.7/8.14.7/Submit) id s18E9oHU014144;
	Sat, 8 Feb 2014 18:09:50 +0400 (MSK)
	(envelope-from pol)
Message-Id: <201402081409.s18E9oHU014144@be.dns4soho.net>
Date: Sat, 8 Feb 2014 18:09:50 +0400 (MSK)
From: Pavel I Volkov <pavelivolkov@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] lang/ficl: added header files to packet
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         186561
>Category:       ports
>Synopsis:       [MAINTAINER] lang/ficl: added header files to packet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 14:20:00 UTC 2014
>Closed-Date:    Fri Mar 14 13:23:10 UTC 2014
>Last-Modified:  Fri Mar 14 13:30:00 UTC 2014
>Originator:     Pavel I Volkov
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD be.dns4soho.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #4 r260656: Wed Jan 15 11:21:37 MSK
>Description:
- I'm added installation for header files and other data.

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

--- ficl-4.1.0_1.patch begins here ---
diff -ruN ../ficl.orig/Makefile ./Makefile
--- ../ficl.orig/Makefile	2014-02-08 18:01:04.000000000 +0400
+++ ./Makefile	2014-02-08 17:54:30.000000000 +0400
@@ -3,6 +3,7 @@
 
 PORTNAME=	ficl
 PORTVERSION=	4.1.0
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-all/${PORTNAME}${PORTVERSION:C/([[:digit:]]+\.[[:digit:]]+)\.0/\1/}
 
@@ -14,32 +15,48 @@
 LICENSE_TEXT=	Description of the license can be obtained from the following URL: http://ficl.sourceforge.net/license.html
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DATA DOCS
+OPTIONS_DEFAULT=	DATA
 
 MAKE_JOBS_UNSAFE=	YES
 
 ONLY_FOR_ARCHS=	i386 amd64
-ONLY_FOR_ARCHS_REASON=	this port is not tested on anything other than i386 and amd64
+ONLY_FOR_ARCHS_REASON=	this port does not tested on anything other than i386 and amd64
 
 USE_LDCONFIG=	YES
 
 ALL_TARGET=	lib ${PORTNAME}
 
-PLIST_FILES=	bin/${PORTNAME} lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
+PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES+=	include/ficl.h include/ficlcompatibility.h include/ficllocal.h include/ficltokens.h include/ficlplatform/unix.h
+PLIST_FILES+=	lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
+PLIST_DIRS=	include/ficlplatform
 
 PORTDOCS=	*
+PORTDATA=	*
 
 .include <bsd.port.options.mk>
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}*.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib
 	cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf lib${PORTNAME}.so.${PORTVERSION} lib${PORTNAME}.so
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/ficlplatform
+	${INSTALL_DATA} ${WRKSRC}/ficlplatform/unix.h ${STAGEDIR}${PREFIX}/include/ficlplatform
+.if ${PORT_OPTIONS:MDATA}
+	@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/contrib ${STAGEDIR}${DATADIR}/contrib/xclasses \
+		${STAGEDIR}${DATADIR}/ficlplatform ${STAGEDIR}${DATADIR}/softcore ${STAGEDIR}${DATADIR}/test
+	${INSTALL_DATA} ${WRKSRC}/contrib/xclasses/* ${STAGEDIR}${DATADIR}/contrib/xclasses
+	${INSTALL_DATA} ${WRKSRC}/ficlplatform/unix.c ${STAGEDIR}${DATADIR}/ficlplatform
+	${INSTALL_DATA} ${WRKSRC}/softcore/* ${STAGEDIR}${DATADIR}/softcore
+	${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DATADIR}/test
+.endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/articles ${STAGEDIR}${DOCSDIR}/graphics; \
+	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/articles ${STAGEDIR}${DOCSDIR}/graphics
 	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.ico ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/articles/* ${STAGEDIR}${DOCSDIR}/articles
 	${INSTALL_DATA} ${WRKSRC}/doc/graphics/* ${STAGEDIR}${DOCSDIR}/graphics
--- ficl-4.1.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Fri Mar 14 13:16:14 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186561 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Fri Mar 14 13:23:09 UTC 2014 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186561: commit references a PR
Date: Fri, 14 Mar 2014 13:23:04 +0000 (UTC)

 Author: pawel
 Date: Fri Mar 14 13:22:56 2014
 New Revision: 348227
 URL: http://svnweb.freebsd.org/changeset/ports/348227
 QAT: https://qat.redports.org/buildarchive/r348227/
 
 Log:
   Install header files
   
   PR:		ports/186561
   Submitted by:	maintainer
 
 Modified:
   head/lang/ficl/Makefile
   head/lang/ficl/pkg-descr
 
 Modified: head/lang/ficl/Makefile
 ==============================================================================
 --- head/lang/ficl/Makefile	Fri Mar 14 13:14:03 2014	(r348226)
 +++ head/lang/ficl/Makefile	Fri Mar 14 13:22:56 2014	(r348227)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	ficl
  PORTVERSION=	4.1.0
 +PORTREVISION=	1
  CATEGORIES=	lang
  MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-all/${PORTNAME}${PORTVERSION:C/([[:digit:]]+\.[[:digit:]]+)\.0/\1/}
  
 @@ -14,7 +15,8 @@ LICENSE_NAME=	BSD-style
  LICENSE_TEXT=	Description of the license can be obtained from the following URL: http://ficl.sourceforge.net/license.html
  LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
  
 -OPTIONS_DEFINE=	DOCS
 +OPTIONS_DEFINE=	DATA DOCS
 +OPTIONS_DEFAULT=	DATA
  
  MAKE_JOBS_UNSAFE=	YES
  
 @@ -25,24 +27,34 @@ USE_LDCONFIG=	YES
  
  ALL_TARGET=	lib ${PORTNAME}
  
 -PLIST_FILES=	bin/${PORTNAME} lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
 +PLIST_FILES=	bin/${PORTNAME} include/ficl.h include/ficlcompatibility.h \
 +		include/ficllocal.h include/ficlplatform/unix.h \
 +		include/ficltokens.h lib/lib${PORTNAME}.so \
 +		lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
 +PLIST_DIRS=	include/ficlplatform
  
  PORTDOCS=	*
 -
 -.include <bsd.port.options.mk>
 +PORTDATA=	*
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 +	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}*.h ${STAGEDIR}${PREFIX}/include
  	${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
  	${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib
  	cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf lib${PORTNAME}.so.${PORTVERSION} lib${PORTNAME}.so
  
 -post-install:
 -.if ${PORT_OPTIONS:MDOCS}
 -	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/articles ${STAGEDIR}${DOCSDIR}/graphics; \
 +	@${MKDIR} ${STAGEDIR}${PREFIX}/include/ficlplatform
 +	${INSTALL_DATA} ${WRKSRC}/ficlplatform/unix.h ${STAGEDIR}${PREFIX}/include/ficlplatform
 +
 +	@${MKDIR} ${STAGEDIR}${DATADIR}/ficlplatform 
 +	${INSTALL_DATA} ${WRKSRC}/ficlplatform/unix.c ${STAGEDIR}${DATADIR}/ficlplatform
 +	(cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} xclasses ${STAGEDIR}${DATADIR})
 +	(cd ${WRKSRC} && ${COPYTREE_SHARE} softcore ${STAGEDIR}${DATADIR})
 +	(cd ${WRKSRC} && ${COPYTREE_SHARE} test ${STAGEDIR}${DATADIR})
 +
 +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
  	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.ico ${STAGEDIR}${DOCSDIR}
 -	${INSTALL_DATA} ${WRKSRC}/doc/articles/* ${STAGEDIR}${DOCSDIR}/articles
 -	${INSTALL_DATA} ${WRKSRC}/doc/graphics/* ${STAGEDIR}${DOCSDIR}/graphics
 -.endif
 +	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} articles ${STAGEDIR}${DOCSDIR})
 +	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} graphics ${STAGEDIR}${DOCSDIR})
  
  .include <bsd.port.mk>
 
 Modified: head/lang/ficl/pkg-descr
 ==============================================================================
 --- head/lang/ficl/pkg-descr	Fri Mar 14 13:14:03 2014	(r348226)
 +++ head/lang/ficl/pkg-descr	Fri Mar 14 13:22:56 2014	(r348227)
 @@ -6,5 +6,3 @@ bindings needed by the OS loader.
  
  WWW: http://ficl.sourceforge.net/
  
 -Bruce
 -bms@spc.org
 _______________________________________________
 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:
