Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 18:52:18 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418890 - in head/misc/ini_file_manager: . files
Message-ID:  <201607211852.u6LIqIUr091295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Jul 21 18:52:18 2016
New Revision: 418890
URL: https://svnweb.freebsd.org/changeset/ports/418890

Log:
  misc/ini_file_manager: add Library_Kind definition to gpr file
  
  While here, simpilify install target with modern knobs

Modified:
  head/misc/ini_file_manager/Makefile
  head/misc/ini_file_manager/files/ini_file_manager.gpr

Modified: head/misc/ini_file_manager/Makefile
==============================================================================
--- head/misc/ini_file_manager/Makefile	Thu Jul 21 18:47:55 2016	(r418889)
+++ head/misc/ini_file_manager/Makefile	Thu Jul 21 18:52:18 2016	(r418890)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ini_file_manager
 PORTVERSION=	03
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	http://sourceforge.net/projects/${SFPATH}/
 DISTNAME=	ini-files-${PORTVERSION}
@@ -21,8 +21,6 @@ PORTEXAMPLES=	example.gpr test_config.ad
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-extract:
 	${CP} ${FILESDIR}/construct.gpr ${WRKSRC}
 	${MKDIR} ${WRKSRC}/src
@@ -43,15 +41,15 @@ do-install:
 		${STAGEDIR}${PREFIX}/include/ini_file_manager
 	${INSTALL_DATA} ${WRKSRC}/lib/*  \
 		${STAGEDIR}${PREFIX}/lib/ini_file_manager
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/ini_file_manager.txt ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/runme.sh ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/test_config.adb \
 		${FILESDIR}/example.gpr ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/misc/ini_file_manager/files/ini_file_manager.gpr
==============================================================================
--- head/misc/ini_file_manager/files/ini_file_manager.gpr	Thu Jul 21 18:47:55 2016	(r418889)
+++ head/misc/ini_file_manager/files/ini_file_manager.gpr	Thu Jul 21 18:52:18 2016	(r418890)
@@ -3,5 +3,6 @@ project Ini_File_Manager is
    for Library_Name     use "inifiles";
    for Source_Dirs      use ("../../include/ini_file_manager");
    for Library_Dir      use "../../lib/ini_file_manager";
+   for Library_Kind     use "static";
    for Externally_Built use "true";
 end Ini_File_Manager;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607211852.u6LIqIUr091295>