Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 12:14:42 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343044 - head/net-p2p/libbt
Message-ID:  <201402061214.s16CEgWu012532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 12:14:42 2014
New Revision: 343044
URL: http://svnweb.freebsd.org/changeset/ports/343044
QAT: https://qat.redports.org/buildarchive/r343044/

Log:
  - Stage support

Modified:
  head/net-p2p/libbt/Makefile

Modified: head/net-p2p/libbt/Makefile
==============================================================================
--- head/net-p2p/libbt/Makefile	Thu Feb  6 12:14:30 2014	(r343043)
+++ head/net-p2p/libbt/Makefile	Thu Feb  6 12:14:42 2014	(r343044)
@@ -19,29 +19,26 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 PORTDOCS=	protocol-ext.txt protocol.txt
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${PREFIX}/lib
-	${MKDIR} ${PREFIX}/include/libbt
+	${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${STAGEDIR}${PREFIX}/lib
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/libbt
 .for i in btcheck btget btlist
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for i in benc.h bitset.h bterror.h btmessage.h bts.h context.h peer.h random.h segmenter.h strbuf.h stream.h types.h util.h
-	${INSTALL_DATA} ${WRKSRC}/include/${i} ${PREFIX}/include/libbt
+	${INSTALL_DATA} ${WRKSRC}/include/${i} ${STAGEDIR}${PREFIX}/include/libbt
 .endfor
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	${INSTALL_MAN} ${WRKSRC}/docs/${i} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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