From 08812e658283f35fada5819db71cbcf0f6cc91e5 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 13 Oct 2020 08:34:51 +0000 Subject: [PATCH] New port: devel/libcreg Library and tools to access the Windows 9x/Me Registry File (CREG) format. WWW: https://github.com/libyal/libcreg --- devel/Makefile | 1 + devel/libcreg/Makefile | 29 +++++++++++++++++++++++++++++ devel/libcreg/distinfo | 3 +++ devel/libcreg/pkg-descr | 3 +++ devel/libcreg/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 devel/libcreg/Makefile create mode 100644 devel/libcreg/distinfo create mode 100644 devel/libcreg/pkg-descr create mode 100644 devel/libcreg/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index ac70b4a49111..0a796542296d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1106,6 +1106,7 @@ SUBDIR += libconcurrent SUBDIR += libconfig SUBDIR += libconfuse + SUBDIR += libcreg SUBDIR += libcrossguid SUBDIR += libcutl SUBDIR += libcwd diff --git a/devel/libcreg/Makefile b/devel/libcreg/Makefile new file mode 100644 index 000000000000..65af1dafda75 --- /dev/null +++ b/devel/libcreg/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= libcreg +DISTVERSION= experimental-20200725 +CATEGORIES= devel +MASTER_SITES= https://github.com/libyal/libcreg/releases/download/${PORTVERSION:E}/ \ + LOCAL/antoine + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Library and tools to access the Windows 9x/Me Registry File format + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-python +CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config +USES= fuse libtool pathfix pkgconfig python:3.5+ +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} + +OPTIONS_DEFINE= NLS + +NLS_USES= gettext +NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} +NLS_CONFIGURE_OFF= --disable-nls + +.include diff --git a/devel/libcreg/distinfo b/devel/libcreg/distinfo new file mode 100644 index 000000000000..4edca4a10dd2 --- /dev/null +++ b/devel/libcreg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1601241029 +SHA256 (libcreg-experimental-20200725.tar.gz) = 79ec60a9b670868921688ff8b16a4db38316a975dab4b28db0a08fc96364dfef +SIZE (libcreg-experimental-20200725.tar.gz) = 1518033 diff --git a/devel/libcreg/pkg-descr b/devel/libcreg/pkg-descr new file mode 100644 index 000000000000..4847e1977b89 --- /dev/null +++ b/devel/libcreg/pkg-descr @@ -0,0 +1,3 @@ +Library and tools to access the Windows 9x/Me Registry File (CREG) format. + +WWW: https://github.com/libyal/libcreg diff --git a/devel/libcreg/pkg-plist b/devel/libcreg/pkg-plist new file mode 100644 index 000000000000..1d2db6bf5262 --- /dev/null +++ b/devel/libcreg/pkg-plist @@ -0,0 +1,19 @@ +bin/cregexport +bin/creginfo +bin/cregmount +include/libcreg.h +include/libcreg/codepage.h +include/libcreg/definitions.h +include/libcreg/error.h +include/libcreg/extern.h +include/libcreg/features.h +include/libcreg/types.h +lib/libcreg.a +lib/libcreg.so +lib/libcreg.so.1 +lib/libcreg.so.1.0.0 +%%PYTHON_SITELIBDIR%%/pycreg.a +%%PYTHON_SITELIBDIR%%/pycreg.so +libdata/pkgconfig/libcreg.pc +man/man1/creginfo.1.gz +man/man3/libcreg.3.gz