1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Rework config file installation without a patch.

This commit is contained in:
Mathieu Arnold 2014-01-08 22:29:59 +00:00
parent dd3140f448
commit 76c65ce715
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339183
2 changed files with 1 additions and 9 deletions

View File

@ -41,6 +41,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/latex/ownCloudClientManual.pdf ${STAGEDIR}${DOCSDIR}
(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html)
${MV} ${STAGEDIR}${PREFIX}/etc/ownCloud/sync-exclude.lst ${STAGEDIR}${PREFIX}/etc/ownCloud/sync-exclude.lst.sample
.endif
.include <bsd.port.mk>

View File

@ -1,9 +0,0 @@
--- ./CMakeLists.txt.orig 2013-09-26 11:13:19.000000000 +0200
+++ ./CMakeLists.txt 2013-10-16 15:10:00.000000000 +0200
@@ -106,5 +106,5 @@
if(BUILD_OWNCLOUD_OSX_BUNDLE)
configure_file(sync-exclude.lst ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources/sync-exclude.lst COPYONLY)
else()
- install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )
+ install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} RENAME sync-exclude.lst.sample )
endif()