diff options
author | miwi <miwi@FreeBSD.org> | 2014-02-06 20:14:42 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-02-06 20:14:42 +0800 |
commit | 750e100ace24605a7985eda02a0646ef120e6fc5 (patch) | |
tree | c348b01690befd53f5d70474eece2f8a5d220efd /net-p2p/libbt | |
parent | 1897e54a2afcda4505557cd6960b87287f5b2d7e (diff) | |
download | freebsd-ports-gnome-750e100ace24605a7985eda02a0646ef120e6fc5.tar.gz freebsd-ports-gnome-750e100ace24605a7985eda02a0646ef120e6fc5.tar.zst freebsd-ports-gnome-750e100ace24605a7985eda02a0646ef120e6fc5.zip |
- Stage support
Diffstat (limited to 'net-p2p/libbt')
-rw-r--r-- | net-p2p/libbt/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile index 02cd2b633d84..5432dedc1ea9 100644 --- a/net-p2p/libbt/Makefile +++ b/net-p2p/libbt/Makefile @@ -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> |