diff --git a/graphics/wings/Makefile b/graphics/wings/Makefile index 49ee047c795d..de176745f826 100644 --- a/graphics/wings/Makefile +++ b/graphics/wings/Makefile @@ -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 diff --git a/graphics/wings/pkg-plist b/graphics/wings/pkg-plist index 4b3e72e704ed..60b7edca03ec 100644 --- a/graphics/wings/pkg-plist +++ b/graphics/wings/pkg-plist @@ -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