pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pbcopper: Pacific Biosciences C++ core utils



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <jwbacon%tds.net@localhost>
Pushed By:	outpaddling
Date:		Fri Sep 16 20:51:44 2016 -0500
Changeset:	e61edc02e11f20859868532d04c9ccf74d98f441

Modified Files:
	Makefile
Added Files:
	pbcopper/DESCR
	pbcopper/Makefile
	pbcopper/PLIST
	pbcopper/TODO
	pbcopper/buildlink3.mk
	pbcopper/distinfo
	pbcopper/patches/patch-cmake_pbcopper-gitsha1.cmake

Log Message:
pbcopper: Pacific Biosciences C++ core utils

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e61edc02e11f20859868532d04c9ccf74d98f441

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 pbcopper/DESCR                                     |  1 +
 pbcopper/Makefile                                  | 39 +++++++++++++++
 pbcopper/PLIST                                     | 57 ++++++++++++++++++++++
 pbcopper/TODO                                      |  1 +
 pbcopper/buildlink3.mk                             | 22 +++++++++
 pbcopper/distinfo                                  |  7 +++
 .../patches/patch-cmake_pbcopper-gitsha1.cmake     | 15 ++++++
 8 files changed, 143 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 272b4b4..969067b 100644
--- a/Makefile
+++ b/Makefile
@@ -2392,6 +2392,7 @@ SUBDIR+=	passepartout
 SUBDIR+=	paxmirabilis
 SUBDIR+=	paxtest
 SUBDIR+=	pbbuttonsd
+SUBDIR+=	pbcopper
 SUBDIR+=	pcmanfm-qt
 SUBDIR+=	pcp
 SUBDIR+=	pcsx
diff --git a/pbcopper/DESCR b/pbcopper/DESCR
new file mode 100644
index 0000000..845dbab
--- /dev/null
+++ b/pbcopper/DESCR
@@ -0,0 +1 @@
+[description of the port]
diff --git a/pbcopper/Makefile b/pbcopper/Makefile
new file mode 100644
index 0000000..7296106
--- /dev/null
+++ b/pbcopper/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Tue Sep 13 11:08:59 CDT 2016               #
+###########################################################
+
+DISTNAME=	pbcopper-${PORTVERSION}
+CATEGORIES=	biology
+MASTER_SITES=	${MASTER_SITE_GITHUB:=PacificBiosciences/}
+GITHUB_PROJECT=	pbcopper
+GITHUB_TAG=	ce9a4b6d836d53997d7acce6b5dceaa8bb8f7c22
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+HOMEPAGE=	https://github.com/PacificBiosciences/pbcopper
+COMMENT=	Core C++ library for data structures, algorithms, and utilities
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pax
+USE_CMAKE=	yes
+GCC_REQD=	4.9
+
+MAKE_JOBS_SAFE=	yes
+
+CXXFLAGS+=	-O2
+
+WRKSRC=		${WRKDIR}/pbcopper-${GITHUB_TAG}
+
+PORTVERSION=	2016.09.13
+
+INSTALLATION_DIRS=	include lib
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/lib/*.a ${DESTDIR}${PREFIX}/lib
+	cd ${WRKSRC}/include && pax -rw . ${DESTDIR}${PREFIX}/include
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/pbcopper/PLIST b/pbcopper/PLIST
new file mode 100644
index 0000000..8b9f082
--- /dev/null
+++ b/pbcopper/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD$
+include/pbcopper/cli/BuiltInOption.h
+include/pbcopper/cli/CLI.h
+include/pbcopper/cli/HelpPrinter.h
+include/pbcopper/cli/Interface.h
+include/pbcopper/cli/internal/Option-inl.h
+include/pbcopper/cli/internal/Results-inl.h
+include/pbcopper/cli/Option.h
+include/pbcopper/cli/Parser.h
+include/pbcopper/cli/PositionalArg.h
+include/pbcopper/cli/Results.h
+include/pbcopper/cli/SingleDashMode.h
+include/pbcopper/cli/toolcontract/Config.h
+include/pbcopper/cli/toolcontract/Driver.h
+include/pbcopper/cli/toolcontract/InputFileType.h
+include/pbcopper/cli/toolcontract/internal/Config-inl.h
+include/pbcopper/cli/toolcontract/internal/Driver-inl.h
+include/pbcopper/cli/toolcontract/internal/InputFileType-inl.h
+include/pbcopper/cli/toolcontract/internal/OutputFileType-inl.h
+include/pbcopper/cli/toolcontract/internal/Task-inl.h
+include/pbcopper/cli/toolcontract/JsonPrinter.h
+include/pbcopper/cli/toolcontract/OutputFileType.h
+include/pbcopper/cli/toolcontract/ResolvedToolContract.h
+include/pbcopper/cli/toolcontract/ResourceType.h
+include/pbcopper/cli/toolcontract/Task.h
+include/pbcopper/cli/toolcontract/TaskType.h
+include/pbcopper/cli/VersionPrinter.h
+include/pbcopper/Config.h
+include/pbcopper/data/CCSTag.h
+include/pbcopper/data/internal/Interval-inl.h
+include/pbcopper/data/internal/MovieName-inl.h
+include/pbcopper/data/internal/ReadNameBase.h
+include/pbcopper/data/internal/ReadNameBase-inl.h
+include/pbcopper/data/internal/RSMovieName-inl.h
+include/pbcopper/data/Interval.h
+include/pbcopper/data/MovieName.h
+include/pbcopper/data/Position.h
+include/pbcopper/data/ReadName.h
+include/pbcopper/data/RSMovieName.h
+include/pbcopper/data/RSReadName.h
+include/pbcopper/data/Zmw.h
+include/pbcopper/json/internal/json.hpp
+include/pbcopper/json/JSON.h
+include/pbcopper/logging/internal/Logging-inl.h
+include/pbcopper/logging/Logging.h
+include/pbcopper/stream/Stream.h
+include/pbcopper/utility/CallbackTimer.h
+include/pbcopper/utility/EnumClassHash.h
+include/pbcopper/utility/internal/CallbackTimer-inl.h
+include/pbcopper/utility/internal/Stopwatch-inl.h
+include/pbcopper/utility/internal/StringUtils-inl.h
+include/pbcopper/utility/internal/SystemInfo-inl.h
+include/pbcopper/utility/Stopwatch.h
+include/pbcopper/utility/StringUtils.h
+include/pbcopper/utility/SystemInfo.h
+include/pbcopper/utility/Version.h.in
+lib/libpbcopper.a
diff --git a/pbcopper/TODO b/pbcopper/TODO
new file mode 100644
index 0000000..b687356
--- /dev/null
+++ b/pbcopper/TODO
@@ -0,0 +1 @@
+Clean up and test
diff --git a/pbcopper/buildlink3.mk b/pbcopper/buildlink3.mk
new file mode 100644
index 0000000..a9c0ab9
--- /dev/null
+++ b/pbcopper/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	pbcopper
+
+.if !defined(PBCOPPER_BUILDLINK3_MK)
+PBCOPPER_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.pbcopper?=	build
+
+BUILDLINK_API_DEPENDS.pbcopper+=	pbcopper>=2016.09.13
+BUILDLINK_PKGSRCDIR.pbcopper?=	../../wip/pbcopper
+
+# XXX
+# XXX Uncomment and keep only the buildlink3 lines below which are directly
+# XXX needed for dependencies to compile, link, and run.  If this package
+# XXX provides a wrappered API or otherwise does not expose the APIs of the
+# XXX buildlink3 lines below to dependencies, remove them.
+# XXX
+#.include "../../devel/boost-libs/buildlink3.mk"
+.endif	# PBCOPPER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-pbcopper
diff --git a/pbcopper/distinfo b/pbcopper/distinfo
new file mode 100644
index 0000000..adc564e
--- /dev/null
+++ b/pbcopper/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (pbcopper-2016.09.13-ce9a4b6d836d53997d7acce6b5dceaa8bb8f7c22.tar.gz) = dc1ad407d96562d7ae7d258ef5686e7c6b7888b6
+RMD160 (pbcopper-2016.09.13-ce9a4b6d836d53997d7acce6b5dceaa8bb8f7c22.tar.gz) = 314e5637aec372e9dbf3457a58d3f4cb9506cd45
+SHA512 (pbcopper-2016.09.13-ce9a4b6d836d53997d7acce6b5dceaa8bb8f7c22.tar.gz) = db1521dfb5c31f42aead50934cd614b61514e78ebfd70a5e54ff6736a872e23dfd8cc1c1eaa48012dc482d104331c7179de8c260e904112fe9ff7957447700b6
+Size (pbcopper-2016.09.13-ce9a4b6d836d53997d7acce6b5dceaa8bb8f7c22.tar.gz) = 448047 bytes
+SHA1 (patch-cmake_pbcopper-gitsha1.cmake) = 5331e4a27dd5268e31e142a25b158100fa0711a7
diff --git a/pbcopper/patches/patch-cmake_pbcopper-gitsha1.cmake b/pbcopper/patches/patch-cmake_pbcopper-gitsha1.cmake
new file mode 100644
index 0000000..8da728a
--- /dev/null
+++ b/pbcopper/patches/patch-cmake_pbcopper-gitsha1.cmake
@@ -0,0 +1,15 @@
+$NetBSD$
+
+# wrksrc is not a git repo
+
+--- cmake/pbcopper-gitsha1.cmake.orig	2016-09-13 09:43:00.051959348 -0500
++++ cmake/pbcopper-gitsha1.cmake	2016-09-13 09:43:10.461246575 -0500
+@@ -7,7 +7,7 @@ set(__find_git_sha1 YES)
+ function(find_git_sha1 _GIT_SHA1)
+     find_package(Git QUIET REQUIRED)
+     execute_process(COMMAND
+-        "${GIT_EXECUTABLE}" "describe" "--always" "--dirty=*"
++        echo ce9a4b6
+         WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
+         RESULT_VARIABLE res
+         OUTPUT_VARIABLE out


Home | Main Index | Thread Index | Old Index