Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 02:14:29 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355273 - head/www/jspacker
Message-ID:  <201405260214.s4Q2ETdg006166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Mon May 26 02:14:29 2014
New Revision: 355273
URL: http://svnweb.freebsd.org/changeset/ports/355273
QAT: https://qat.redports.org/buildarchive/r355273/

Log:
  - Add support for stage dir  [1]
  - Use a single space after WWW in pkg-descr
  
  PR:	ports/190208
  Submitted by:	Joseph Benden <joe@thrallingpenguin.com>

Modified:
  head/www/jspacker/Makefile
  head/www/jspacker/pkg-descr

Modified: head/www/jspacker/Makefile
==============================================================================
--- head/www/jspacker/Makefile	Mon May 26 01:34:11 2014	(r355272)
+++ head/www/jspacker/Makefile	Mon May 26 02:14:29 2014	(r355273)
@@ -23,17 +23,16 @@ SUB_FILES=	${PORTNAME}
 SUB_LIST=	JSPACKER=${JSPACKER} \
 		PERL5=${PERL5}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${MKDIR} ${DATADIR} && \
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${DATADIR} && \
 	cd ${WRKSRC} && \
-	${INSTALL_DATA} *.pm ${DATADIR} && \
-	${INSTALL_SCRIPT} ${JSPACKER} ${DATADIR}
+	${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
+	${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
 .if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR} && \
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
 	cd ${WRKSRC} && \
-	${INSTALL_DATA} *.htm ${EXAMPLESDIR}
+	${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/www/jspacker/pkg-descr
==============================================================================
--- head/www/jspacker/pkg-descr	Mon May 26 01:34:11 2014	(r355272)
+++ head/www/jspacker/pkg-descr	Mon May 26 02:14:29 2014	(r355273)
@@ -1,3 +1,3 @@
 A Javascript compressor/obfuscator written in Perl
 
-WWW:	http://dean.edwards.name/packer/
+WWW: http://dean.edwards.name/packer/



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