Bug 186561 - [MAINTAINER] lang/ficl: added header files to packet
Summary: [MAINTAINER] lang/ficl: added header files to packet
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-08 14:20 UTC by Pavel Volkov
Modified: 2014-03-14 13:30 UTC (History)
0 users

See Also:


Attachments
ficl-4.1.0_1.patch (2.87 KB, patch)
2014-02-08 14:20 UTC, Pavel Volkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2014-02-08 14:20:00 UTC
- I'm added installation for header files and other data.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: suffix)
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2014-03-14 13:16:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-14 13:23:04 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"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-03-14 13:23:09 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!