1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

PKGORIGIN being defined earlier, CATAGORIES needs to be defined prior any *.mk include meaning common.mk has to be included earlier [1]

While here switch to new options helpers

Reported by:	erwin
This commit is contained in:
Baptiste Daroussin 2013-06-27 06:23:36 +00:00
parent 8e7534a621
commit 8d5f65b86e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321850

View File

@ -17,26 +17,14 @@ PYTHON_DESC= Boost.Python - interfacing Python and C++
NO_BUILD= yes
.include <bsd.port.pre.mk>
.include "common.mk"
.if ${PORT_OPTIONS:MLIBRARIES}
RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost-libs
.endif
.if ${PORT_OPTIONS:MJAM}
RUN_DEPENDS+= ${LOCALBASE}/bin/bjam:${PORTSDIR}/devel/boost-jam
.endif
.if ${PORT_OPTIONS:MPYTHON}
RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_python.so:${PORTSDIR}/devel/boost-python-libs
.endif
.if ${PORT_OPTIONS:MDOCS}
RUN_DEPENDS+= ${LOCALBASE}/share/doc/boost/doc/html/index.html:${PORTSDIR}/devel/boost-docs
.endif
LIBRARIES_RUN_DEPENDS= ${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost-libs
JAM_RUN_DEPENDS= ${LOCALBASE}/bin/bjam:${PORTSDIR}/devel/boost-jam
PYTHON_RUN_DEPENDS= ${LOCALBASE}/lib/libboost_python.so:${PORTSDIR}/devel/boost-python-libs
DOCS_RUN_DEPENDS= ${LOCALBASE}/share/doc/boost/doc/html/index.html:${PORTSDIR}/devel/boost-docs
do-install:
${DO_NADA}
.include <bsd.port.post.mk>
.include <bsd.port.mk>