1
0
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:
Sunpoet Po-Chuan Hsieh 2020-09-29 18:23:04 +00:00
parent b5ae471a75
commit 4453cd341c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550609
2 changed files with 22 additions and 1 deletions

View File

@ -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}

View 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