mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
b5ae471a75
commit
4453cd341c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550609
@ -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}
|
||||
|
21
biology/libsbml/files/patch-CMakeLists.txt
Normal file
21
biology/libsbml/files/patch-CMakeLists.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user