svn commit: r346943 - head/net-p2p/mktorrent

Pawel Pekala pawel at FreeBSD.org
Mon Mar 3 17:53:46 UTC 2014


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 at 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 at 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>


More information about the svn-ports-head mailing list