Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 02:49:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339398 - head/graphics/wings
Message-ID:  <201401110249.s0B2nW9Y021658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jan 11 02:49:32 2014
New Revision: 339398
URL: http://svnweb.freebsd.org/changeset/ports/339398

Log:
  - Fix symlink handling

Modified:
  head/graphics/wings/Makefile
  head/graphics/wings/pkg-plist

Modified: head/graphics/wings/Makefile
==============================================================================
--- head/graphics/wings/Makefile	Sat Jan 11 02:47:29 2014	(r339397)
+++ head/graphics/wings/Makefile	Sat Jan 11 02:49:32 2014	(r339398)
@@ -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
 

Modified: head/graphics/wings/pkg-plist
==============================================================================
--- head/graphics/wings/pkg-plist	Sat Jan 11 02:47:29 2014	(r339397)
+++ head/graphics/wings/pkg-plist	Sat Jan 11 02:49:32 2014	(r339398)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401110249.s0B2nW9Y021658>