svn commit: r331224 - head/devel/libftdi
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 22 07:46:53 UTC 2013
Author: amdmi3
Date: Tue Oct 22 07:46:52 2013
New Revision: 331224
URL: http://svnweb.freebsd.org/changeset/ports/331224
Log:
- Support staging
- Use new LIB_DEPENDS syntax
Modified:
head/devel/libftdi/Makefile
Modified: head/devel/libftdi/Makefile
==============================================================================
--- head/devel/libftdi/Makefile Tue Oct 22 07:46:20 2013 (r331223)
+++ head/devel/libftdi/Makefile Tue Oct 22 07:46:52 2013 (r331224)
@@ -21,14 +21,13 @@ USES= pathfix pkgconfig
PORTDOCS= COPYING.LIB ChangeLog README
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBOOST}
PLIST_SUB+= BOOST=""
CONFIGURE_ARGS+= --with-boost
CXXFLAGS+= "-I${LOCALBASE}/include"
-LIB_DEPENDS+= boost_system:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS+= libboost_system.so:${PORTSDIR}/devel/boost-libs
.else
PLIST_SUB+= BOOST="@comment "
CONFIGURE_ARGS+= --without-boost
@@ -45,6 +44,9 @@ PLIST_SUB+= PYTHON="@comment "
EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.in
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
post-patch:
@${REINPLACE_CMD} -E -e \
's:\$$\(libdir\)/pkgconfig:${PREFIX}/libdata/pkgconfig:' \
@@ -54,9 +56,7 @@ pre-configure:
@cd ${WRKSRC} && ${AUTORECONF} --force --install
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list