Index: head/graphics/libboard/Makefile =================================================================== --- head/graphics/libboard/Makefile (revision 481641) +++ head/graphics/libboard/Makefile (revision 481642) @@ -1,45 +1,45 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= libboard DISTVERSION= 0.9.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= thierry@FreeBSD.org COMMENT= Vector graphics C++ library LICENSE= LGPL3 LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick USES= cmake compiler:c++11-lang localbase USE_GITHUB= yes GH_ACCOUNT= c-koi GH_TAGNAME= 5b38274 CXXFLAGS+= -D_GLIBCXX_USE_C99 -fPIC # XXX ports/193528 USE_CXXSTD= c++11 CMAKE_ARGS= -DMYPROJ_RAN_ONCE:BOOL=YES \ -DEXECUTABLE_OUTPUT_PATH:PATH="${STAGEDIR}${EXAMPLESDIR}" USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen post-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libboard.so ${STAGEDIR}${PREFIX}/lib/libboard.so.0 ${LN} -sf libboard.so.0 ${STAGEDIR}${PREFIX}/lib/libboard.so do-test: (cd ${WRKDIR} && ${WRKSRC}/bin/arithmetic bec) .for ex in 1 2 3 (cd ${WRKDIR} && ${WRKSRC}/bin/example${ex}) .endfor ${LS} -l ${WRKDIR}/arithm* ${WRKDIR}/example* .include Index: head/graphics/libboard/files/patch-CMakeLists.txt =================================================================== --- head/graphics/libboard/files/patch-CMakeLists.txt (revision 481641) +++ head/graphics/libboard/files/patch-CMakeLists.txt (revision 481642) @@ -1,13 +1,16 @@ --- CMakeLists.txt.orig 2016-06-09 17:30:46 UTC +++ CMakeLists.txt -@@ -149,8 +149,8 @@ install(DIRECTORY include/ DESTINATION i +@@ -147,10 +147,11 @@ SET_TARGET_PROPERTIES(board-dynamic PROP + + install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h") install(DIRECTORY include/board/ DESTINATION include/board FILES_MATCHING PATTERN "*.h") ++install(DIRECTORY include/board/ DESTINATION include/board FILES_MATCHING PATTERN "*.ih") install(TARGETS board DESTINATION lib) install(TARGETS board-dynamic DESTINATION lib) -install(DIRECTORY examples/ DESTINATION share/libboard/examples FILES_MATCHING PATTERN "*.cpp") -install(FILES README.md LICENSE AUTHORS DESTINATION share/libboard ) +install(DIRECTORY examples/ DESTINATION share/examples/libboard FILES_MATCHING PATTERN "*.cpp") +install(FILES README.md LICENSE AUTHORS DESTINATION share/doc/libboard ) FOREACH( EXAMPLE logo example1 example2 example3 example4 arithmetic ellipse graph arrows ruler koch clipping Index: head/graphics/libboard/pkg-plist =================================================================== --- head/graphics/libboard/pkg-plist (revision 481641) +++ head/graphics/libboard/pkg-plist (revision 481642) @@ -1,56 +1,62 @@ include/Board.h include/BoardConfig.h +include/board/Board.ih include/board/Color.h include/board/Image.h include/board/PSFonts.h include/board/Path.h include/board/PathBoundaries.h include/board/Point.h include/board/Rect.h include/board/ShapeList.h +include/board/ShapeList.ih include/board/ShapeVisitor.h include/board/Shapes.h +include/board/Shapes.ih include/board/Tools.h +include/board/Tools.ih include/board/TransformMatrix.h +include/board/TransformMatrix.ih include/board/Transforms.h +include/board/Transforms.ih lib/libboard.a lib/libboard.so lib/libboard.so.0 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/arithmetic %%PORTEXAMPLES%%%%EXAMPLESDIR%%/arithmetic.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/arrows %%PORTEXAMPLES%%%%EXAMPLESDIR%%/arrows.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clipping %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clipping.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag %%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/koch %%PORTEXAMPLES%%%%EXAMPLESDIR%%/koch.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_segment %%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_segment.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_style %%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_style.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/logo %%PORTEXAMPLES%%%%EXAMPLESDIR%%/logo.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruler %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruler.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scale_ellipse %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scale_ellipse.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/stroke_path %%PORTEXAMPLES%%%%EXAMPLESDIR%%/stroke_path.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tilings %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tilings.cpp