Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 13:29:44 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358114 - head/lang/spidermonkey17
Message-ID:  <201406171329.s5HDTi8W080864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jun 17 13:29:44 2014
New Revision: 358114
URL: http://svnweb.freebsd.org/changeset/ports/358114
QAT: https://qat.redports.org/buildarchive/r358114/

Log:
  1: Stagify.
  2: new syntax of LIB_DEPENDS
  
  Approved by:	portmgr@

Modified:
  head/lang/spidermonkey17/Makefile

Modified: head/lang/spidermonkey17/Makefile
==============================================================================
--- head/lang/spidermonkey17/Makefile	Tue Jun 17 13:23:22 2014	(r358113)
+++ head/lang/spidermonkey17/Makefile	Tue Jun 17 13:29:44 2014	(r358114)
@@ -12,7 +12,7 @@ DISTNAME=	js-${DISTVERSION}
 MAINTAINER=	citric@cubicone.tmetic.com
 COMMENT=	A standalone JavaScript interpreter from the Mozilla project
 
-LIB_DEPENDS=	nspr4.1:${PORTSDIR}/devel/nspr
+LIB_DEPENDS=	libnspr4.so:${PORTSDIR}/devel/nspr
 
 CONFLICTS=	njs-[0-9]*
 
@@ -43,7 +43,6 @@ EXTRACT_AFTER_ARGS=	--exclude js/jsd
 
 OPTIONS_DEFINE=	UTF8
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MUTF8}
@@ -56,12 +55,12 @@ do-configure:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/js \
-		${PREFIX}/bin
+		${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/libjs.so \
-		${PREFIX}/lib
-	${LN} -sf ${PREFIX}/lib/libjs.so ${PREFIX}/lib/libjs.so.1
+		${STAGEDIR}${PREFIX}/lib
+	${LN} -sf libjs.so ${STAGEDIR}${PREFIX}/lib/libjs.so.1
 	${CP} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/jsautocfg.h ${WRKSRC}
-	@${INSTALL_DATA} ${JSH:S,^,${WRKSRC}/,} ${PREFIX}/include/
+	@${INSTALL_DATA} ${JSH:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/include/
 
 .include <bsd.port.pre.mk>
 



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