svn commit: r550609 - in head/biology/libsbml: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 29 18:23:15 UTC 2020


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


More information about the svn-ports-all mailing list