Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 22:39:43 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357214 - head/net/udt
Message-ID:  <201406092239.s59MdhgJ076143@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Mon Jun  9 22:39:42 2014
New Revision: 357214
URL: http://svnweb.freebsd.org/changeset/ports/357214
QAT: https://qat.redports.org/buildarchive/r357214/

Log:
  Support staging. Convert from NOPORTDOCS to the new way...

Modified:
  head/net/udt/Makefile

Modified: head/net/udt/Makefile
==============================================================================
--- head/net/udt/Makefile	Mon Jun  9 22:25:13 2014	(r357213)
+++ head/net/udt/Makefile	Mon Jun  9 22:39:42 2014	(r357214)
@@ -18,8 +18,8 @@ EXTRACT_AFTER_ARGS=	--exclude '*md5*'	\
 		--exclude udt${PORTVERSION:R}/win
 USE_LDCONFIG=	yes
 UDT_APPS=	appclient appserver recvfile sendfile test
+USES=		uidfix
 
-NO_STAGE=	yes
 post-build:
 	# Building sample applications:
 .for a in ${UDT_APPS}
@@ -27,13 +27,15 @@ post-build:
 	    -I${WRKSRC} -L${WRKSRC} -ludt
 .endfor
 
+.include <bsd.port.options.mk>
+
 post-install:
 	# Installing sample applications:
-	${INSTALL_PROGRAM} ${UDT_APPS:S|^|${WRKSRC:H}/app/udt-|} ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+	${INSTALL_PROGRAM} ${UDT_APPS:S|^|${WRKSRC:H}/app/udt-|} ${STAGEDIR}${PREFIX}/bin/
+.if ${PORT_OPTIONS:MDOCS}
 	# Installing documentation tree into ${DOCSDIR}
 	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC:H}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
+	cd ${WRKSRC:H}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
 .else
 EXTRACT_AFTER_ARGS+=	--exclude udt${PORTVERSION:R}/doc
 .endif



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