Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 08:59:02 +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: r424608 - head/lang/erlang-wx
Message-ID:  <201610250859.u9P8x27C083780@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct 25 08:59:02 2016
New Revision: 424608
URL: https://svnweb.freebsd.org/changeset/ports/424608

Log:
  - Switch to options helpers
  - Fix build on 9.x
  
  Approved by:	portmgr blanket

Modified:
  head/lang/erlang-wx/Makefile

Modified: head/lang/erlang-wx/Makefile
==============================================================================
--- head/lang/erlang-wx/Makefile	Tue Oct 25 08:52:45 2016	(r424607)
+++ head/lang/erlang-wx/Makefile	Tue Oct 25 08:59:02 2016	(r424608)
@@ -71,11 +71,11 @@ do-install:
 	cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} include ${STAGEDIR}${APP_DIR}
 	cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} priv ${STAGEDIR}${APP_DIR}
 	cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} src ${STAGEDIR}${APP_DIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} doc ${STAGEDIR}${APP_DIR}
 	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
 		-C ${STAGEDIR}${PREFIX}/lib/erlang lib/wx-${APP_VERSION}
-.endif
-	${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
+	@${FIND} ${STAGEDIR}${APP_DIR} -type d -empty -delete
 
 .include <bsd.port.mk>



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