1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update bsd.redmine.mk: use @dir for PLIST generation

PR:		200840
Submitted by:	Sergey Kozlov <kozlov.sergey.404@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-06-13 20:17:03 +00:00
parent 99f7d17edb
commit eb7e59f758
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389551

View File

@ -68,7 +68,7 @@ do-build: redmine-plugin-plist
redmine-plugin-plist:
.if defined(_GEN_PLIST)
cd ${WRKSRC} && ${FIND} . -type f | ${GREP} -v '\.orig$$' | ${SED} -e's|^\.|${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST}
cd ${WRKSRC} && ${FIND} -d . -type d | ${SED} -e's|^\.|@dirrm ${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST}
cd ${WRKSRC} && ${FIND} -d . -empty -type d | ${SED} -e's|^\.|@dir ${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST}
.else
@${DO_NADA}
.endif