aboutsummaryrefslogtreecommitdiff
path: root/devel/boost_build
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2008-02-16 15:49:27 +0000
committerBruce M Simpson <bms@FreeBSD.org>2008-02-16 15:49:27 +0000
commite77d4327bca62a08374dc86eb21e33d0b3905cc5 (patch)
treea986c48ba0a5bd1e4e8fd3676d8347809afed0aa /devel/boost_build
parent81430d7467499bd7e60ce6536b337bc8af9877b8 (diff)
downloadports-e77d4327bca62a08374dc86eb21e33d0b3905cc5.tar.gz
ports-e77d4327bca62a08374dc86eb21e33d0b3905cc5.zip
Notes
Diffstat (limited to 'devel/boost_build')
-rw-r--r--devel/boost_build/Makefile115
1 files changed, 114 insertions, 1 deletions
diff --git a/devel/boost_build/Makefile b/devel/boost_build/Makefile
index 64541f0ce95d..98b66f8fcfdb 100644
--- a/devel/boost_build/Makefile
+++ b/devel/boost_build/Makefile
@@ -229,7 +229,110 @@ BOOST_BUILD_DOC_FILES= \
PLIST_DIRS+= ${BOOST_BUILD_DOC_DIRS:C/^/${DOCSDIR_REL}\//} \
${DOCSDIR_REL}
-PLIST_FILES+= ${BOOST_BUILD_DOC_FILES:C/^/${DOCSDIR_REL}\//}
+PLIST_FILES+= ${BOOST_BUILD_DOC_FILES:C/^/${DOCSDIR_REL}\//} \
+ share/doc/boost.png
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+BOOST_BUILD_EXAMPLE_DIRS= \
+ variant/libs \
+ variant \
+ qt/qt4/uic \
+ qt/qt4/moccable-cpp \
+ qt/qt4/hello \
+ qt/qt4 \
+ qt/qt3/uic \
+ qt/qt3/moccable-cpp \
+ qt/qt3/hello \
+ qt/qt3 \
+ qt \
+ python_modules \
+ pch/source \
+ pch/include \
+ pch \
+ make \
+ libraries/util/foo/include \
+ libraries/util/foo \
+ libraries/util \
+ libraries/app \
+ libraries \
+ hello \
+ gettext \
+ generator \
+ generate \
+ customization
+
+BOOST_BUILD_EXAMPLE_FILES= \
+ variant/readme.txt \
+ variant/project-root.jam \
+ variant/libs/l.cpp \
+ variant/libs/Jamfile \
+ variant/a.cpp \
+ variant/Jamfile \
+ qt/qt4/uic/main.cpp \
+ qt/qt4/uic/hello_world_widget.ui \
+ qt/qt4/uic/Jamroot \
+ qt/qt4/moccable-cpp/main.cpp \
+ qt/qt4/moccable-cpp/Jamroot \
+ qt/qt4/hello/main.cpp \
+ qt/qt4/hello/arrow.h \
+ qt/qt4/hello/arrow.cpp \
+ qt/qt4/hello/Jamroot \
+ qt/qt3/uic/main.cpp \
+ qt/qt3/uic/hello_world_widget.ui \
+ qt/qt3/uic/Jamroot \
+ qt/qt3/moccable-cpp/main.cpp \
+ qt/qt3/moccable-cpp/Jamroot \
+ qt/qt3/hello/main.cpp \
+ qt/qt3/hello/canvas.h \
+ qt/qt3/hello/canvas.cpp \
+ qt/qt3/hello/Jamroot \
+ qt/README.txt \
+ python_modules/readme.txt \
+ python_modules/python_helpers.py \
+ python_modules/python_helpers.jam \
+ python_modules/Jamroot \
+ pch/source/hello_world.cpp \
+ pch/include/pch.hpp \
+ pch/Jamroot \
+ make/readme.txt \
+ make/main_cpp.pro \
+ make/Jamroot \
+ libraries/util/foo/include/lib1.h \
+ libraries/util/foo/bar.cpp \
+ libraries/util/foo/Jamfile \
+ libraries/app/app.cpp \
+ libraries/app/Jamfile \
+ libraries/Jamroot \
+ hello/hello.cpp \
+ hello/Jamroot \
+ gettext/russian.po \
+ gettext/readme.txt \
+ gettext/project-root.jam \
+ gettext/main.cpp \
+ gettext/Jamfile \
+ generator/soap.jam \
+ generator/foo.gci \
+ generator/README.txt \
+ generator/Jamroot \
+ generate/a.cpp \
+ generate/REAME.txt \
+ generate/Jamroot \
+ customization/verbatim.jam \
+ customization/usage.verbatim \
+ customization/t2.verbatim \
+ customization/t1.verbatim \
+ customization/readme.txt \
+ customization/project-root.jam \
+ customization/inline_file.py \
+ customization/codegen.cpp \
+ customization/class.verbatim \
+ customization/Jamfile \
+ boost-build.jam
+
+PLIST_DIRS+= ${BOOST_BUILD_EXAMPLE_DIRS:C/^/${EXAMPLESDIR_REL}\//} \
+ ${EXAMPLESDIR_REL}
+PLIST_FILES+= ${BOOST_BUILD_EXAMPLE_FILES:C/^/${EXAMPLESDIR_REL}\//}
.endif
do-install:
@@ -245,10 +348,20 @@ do-install:
.for _dir in ${BOOST_BUILD_DOC_DIRS}
@${MKDIR} ${DOCSDIR}/${_dir}
.endfor
+ @${INSTALL_MAN} ${WRKSRC}/boost.png ${PREFIX}/share/doc/boost.png
.for _file in ${BOOST_BUILD_DOC_FILES}
@${INSTALL_MAN} ${WRKSRC}/doc/${_file} ${DOCSDIR}/${_file}
.endfor
.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+.for _dir in ${BOOST_BUILD_EXAMPLE_DIRS}
+ @${MKDIR} ${EXAMPLESDIR}/${_dir}
+.endfor
+.for _file in ${BOOST_BUILD_EXAMPLE_FILES}
+ @${INSTALL_MAN} ${WRKSRC}/example/${_file} ${EXAMPLESDIR}/${_file}
+.endfor
+.endif
post-install:
@${ECHO_MSG}