- Support staging
- Break lines at 80 chars
This commit is contained in:
parent
317df0f32a
commit
26e690a981
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329547
2 changed files with 20 additions and 17 deletions
|
@ -17,14 +17,17 @@ USE_JAVA= yes
|
|||
JAVA_VERSION= 1.6+
|
||||
SUB_FILES= tvbrowser
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/share/applications/
|
||||
@${REINPLACE_CMD} -e "s/${PORTNAME}\.sh/${PORTNAME}/" ${WRKSRC}/${PORTNAME}.desktop
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications/
|
||||
@${REINPLACE_CMD} -e "s/${PORTNAME}\.sh/${PORTNAME}/" \
|
||||
${WRKSRC}/${PORTNAME}.desktop
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
|
||||
${STAGEDIR}${PREFIX}/share/applications/
|
||||
@${RM} ${WRKSRC}/${PORTNAME}.desktop ${WRKSRC}/${PORTNAME}.desktop.bak
|
||||
@cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} "${DATADIR}/{}" \;
|
||||
@cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/tvbrowser ${PREFIX}/bin
|
||||
@cd ${WRKSRC} && ${FIND} . -type d -exec \
|
||||
${MKDIR} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
@cd ${WRKSRC} && ${FIND} . -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/tvbrowser ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -75,14 +75,14 @@ share/applications/tvbrowser.desktop
|
|||
%%DATADIR%%/tvbrowser.sh
|
||||
%%DATADIR%%/website.url
|
||||
%%DATADIR%%/wiki.url
|
||||
@dirrm %%DATADIR%%/themepacks
|
||||
@dirrm %%DATADIR%%/plugins
|
||||
@dirrm %%DATADIR%%/personas/ecb70d5c-f606-4052-9059-5c501842d6c3
|
||||
@dirrm %%DATADIR%%/personas/3f9cd798-2b32-468c-a827-8c117d8a4b0c
|
||||
@dirrm %%DATADIR%%/personas/3b862288-9900-4c09-99e9-b34d5f926a42
|
||||
@dirrm %%DATADIR%%/personas
|
||||
@dirrm %%DATADIR%%/imgs
|
||||
@dirrm %%DATADIR%%/icons
|
||||
@dirrm %%DATADIR%%/hyphen
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry %%DATADIR%%/themepacks
|
||||
@dirrmtry %%DATADIR%%/plugins
|
||||
@dirrmtry %%DATADIR%%/personas/ecb70d5c-f606-4052-9059-5c501842d6c3
|
||||
@dirrmtry %%DATADIR%%/personas/3f9cd798-2b32-468c-a827-8c117d8a4b0c
|
||||
@dirrmtry %%DATADIR%%/personas/3b862288-9900-4c09-99e9-b34d5f926a42
|
||||
@dirrmtry %%DATADIR%%/personas
|
||||
@dirrmtry %%DATADIR%%/imgs
|
||||
@dirrmtry %%DATADIR%%/icons
|
||||
@dirrmtry %%DATADIR%%/hyphen
|
||||
@dirrmtry %%DATADIR%%
|
||||
@dirrmtry share/applications
|
||||
|
|
Loading…
Reference in a new issue