Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 18:23:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550609 - in head/biology/libsbml: . files
Message-ID:  <202009291823.08TIN5aY003245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Sep 29 18:23:04 2020
New Revision: 550609
URL: https://svnweb.freebsd.org/changeset/ports/550609

Log:
  Convert REINPLACE_CMD to patch file

Added:
  head/biology/libsbml/files/
  head/biology/libsbml/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/biology/libsbml/Makefile

Modified: head/biology/libsbml/Makefile
==============================================================================
--- head/biology/libsbml/Makefile	Tue Sep 29 18:22:44 2020	(r550608)
+++ head/biology/libsbml/Makefile	Tue Sep 29 18:23:04 2020	(r550609)
@@ -33,7 +33,7 @@ RUBY_CMAKE_BOOL=	WITH_RUBY
 RUBY_USE=		ruby=yes
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; /$${DOCUMENTATION_FILES}/ s|^|#|' ${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
 
 post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Added: head/biology/libsbml/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/biology/libsbml/files/patch-CMakeLists.txt	Tue Sep 29 18:23:04 2020	(r550609)
@@ -0,0 +1,21 @@
+--- CMakeLists.txt.orig	2019-04-16 12:18:24 UTC
++++ CMakeLists.txt
+@@ -1277,18 +1277,6 @@ endif()
+ # Install documentation
+ #
+ 
+-set(DOCUMENTATION_FILES
+-        COPYING.txt
+-        FUNDING.txt
+-        LICENSE.txt
+-        NEWS.txt
+-        OLD_NEWS.txt
+-        README.txt
+-        VERSION.txt
+-)
+-
+-install(FILES ${DOCUMENTATION_FILES} DESTINATION ${MISC_PREFIX})
+-
+ ###############################################################################
+ #
+ # Write libsbml.pc



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