1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix symlink handling

This commit is contained in:
Dmitry Marakasov 2014-01-11 02:49:32 +00:00
parent 74d8c2ccbe
commit 872cb26bae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339398
2 changed files with 2 additions and 3 deletions

View File

@ -40,9 +40,9 @@ post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${DISTNAME}
cd ${WRKSRC} && ${COPYTREE_SHARE} "src ebin fonts plugins textures shaders patches" \
${STAGEDIR}${PREFIX}/lib/erlang/lib/${DISTNAME}
${LN} -sf ${DISTNAME} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.icon ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico

View File

@ -1,6 +1,5 @@
@unexec rm -f %D/lib/erlang/lib/wings
bin/wings
@exec ln -sf wings-%%VERSION%% %D/lib/erlang/lib/wings
lib/erlang/lib/wings
lib/erlang/lib/wings-%%VERSION%%/ebin/array.beam
lib/erlang/lib/wings-%%VERSION%%/ebin/e3d__bmp.beam
lib/erlang/lib/wings-%%VERSION%%/ebin/e3d__meshclean.beam