Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 17:53:46 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346943 - head/net-p2p/mktorrent
Message-ID:  <201403031753.s23Hrk1I041517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar  3 17:53:45 2014
New Revision: 346943
URL: http://svnweb.freebsd.org/changeset/ports/346943
QAT: https://qat.redports.org/buildarchive/r346943/

Log:
  Add staging support
  
  PR:		ports/187202
  Submitted by:	Anton Sayetsky <vsjcfm@gmail.com>
  Approved by:	maintainer

Modified:
  head/net-p2p/mktorrent/Makefile

Modified: head/net-p2p/mktorrent/Makefile
==============================================================================
--- head/net-p2p/mktorrent/Makefile	Mon Mar  3 17:49:25 2014	(r346942)
+++ head/net-p2p/mktorrent/Makefile	Mon Mar  3 17:53:45 2014	(r346943)
@@ -10,7 +10,7 @@ MAINTAINER=	dgerow@afflictions.org
 COMMENT=	Command-line utility for creating BitTorrent metainfo files
 
 .if defined(.PARSEDIR)
-USE_GMAKE=	yes
+USES=		gmake
 .else
 MAKEFILE=	BSDmakefile
 .endif
@@ -24,7 +24,6 @@ THREADS_DESC=	Enable support for pthread
 OPENSSL_DESC=	Use OpenSSL for hashing
 HASHCHECK_DESC=	Verify file hashes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTHREADS}
@@ -44,6 +43,6 @@ post-patch:
 	@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/BSDmakefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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