Re: git: 2b7bec35c87d - main - devel/libvsapm: new port

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Wed, 14 Feb 2024 15:48:50 UTC
On Wed, Feb 14, 2024 at 01:18:14PM +0000, Antoine Brodin wrote:
> The branch main has been updated by antoine:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=2b7bec35c87d2b05e321df7fc52c7e2fd0bf0b14
> 
> commit 2b7bec35c87d2b05e321df7fc52c7e2fd0bf0b14
> Author:     Antoine Brodin <antoine@FreeBSD.org>
> AuthorDate: 2024-02-14 13:17:52 +0000
> Commit:     Antoine Brodin <antoine@FreeBSD.org>
> CommitDate: 2024-02-14 13:17:52 +0000
> 
>     devel/libvsapm: new port
>     
>     Library and tools to access the APM volume system format
> ---
>  devel/Makefile           |  1 +
>  devel/libvsapm/Makefile  | 29 +++++++++++++++++++++++++++++
>  devel/libvsapm/distinfo  |  3 +++
>  devel/libvsapm/pkg-descr |  2 ++
>  devel/libvsapm/pkg-plist | 17 +++++++++++++++++
>  5 files changed, 52 insertions(+)
> 
> diff --git a/devel/Makefile b/devel/Makefile
> index 314c71d0d873..fb315f8f555e 100644
> --- a/devel/Makefile
> +++ b/devel/Makefile
> @@ -1453,6 +1453,7 @@
>      SUBDIR += libvirt-java
>      SUBDIR += libvmdk
>      SUBDIR += libvolume_id
> +    SUBDIR += libvsapm
>      SUBDIR += libvsgpt
>      SUBDIR += libvshadow
>      SUBDIR += libvslvm
> diff --git a/devel/libvsapm/Makefile b/devel/libvsapm/Makefile
> new file mode 100644
> index 000000000000..b1178544ba03
> --- /dev/null
> +++ b/devel/libvsapm/Makefile
> @@ -0,0 +1,29 @@
> +PORTNAME=	libvsapm
> +# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
> +DISTVERSION=	experimental-20231123
> +CATEGORIES=	devel
> +MASTER_SITES=	https://github.com/libyal/libvsapm/releases/download/${PORTVERSION:E}/ \
> +		LOCAL/antoine
> +
> +MAINTAINER=	antoine@FreeBSD.org
> +COMMENT=	Library and tools to access the APM volume system format
> +WWW=		https://github.com/libyal/libvsapm
> +
> +LICENSE=	LGPL3+
> +LICENSE_FILE=	${WRKSRC}/COPYING
> +
> +GNU_CONFIGURE=	yes
> +CONFIGURE_ARGS=	--enable-python
> +CONFIGURE_ENV=	PYTHON_CONFIG=${PYTHON_CMD}-config
> +USES=		libtool pathfix pkgconfig python
> +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 <bsd.port.mk>
> diff --git a/devel/libvsapm/distinfo b/devel/libvsapm/distinfo
> new file mode 100644
> index 000000000000..b1ec0601bbe9
> --- /dev/null
> +++ b/devel/libvsapm/distinfo
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1707754708
> +SHA256 (libvsapm-experimental-20231123.tar.gz) = b411d8b469bef63cafd8b048cf63cb5c91cc2769e3c009a0e74274d857b93c8d
> +SIZE (libvsapm-experimental-20231123.tar.gz) = 1456629
> diff --git a/devel/libvsapm/pkg-descr b/devel/libvsapm/pkg-descr
> new file mode 100644
> index 000000000000..c425d4300bf5
> --- /dev/null
> +++ b/devel/libvsapm/pkg-descr
> @@ -0,0 +1,2 @@
> +libvsapm is a library to access the Apple Partition Map (APM) volume system
> +format.
> diff --git a/devel/libvsapm/pkg-plist b/devel/libvsapm/pkg-plist
> new file mode 100644
> index 000000000000..eccb174ede4f
> --- /dev/null
> +++ b/devel/libvsapm/pkg-plist
> @@ -0,0 +1,17 @@
> +bin/vsapminfo
> +include/libvsapm.hh
> +include/libvsapm/codepage.h
> +include/libvsapm/definitions.h
> +include/libvsapm/error.h
> +include/libvsapm/extern.h
> +include/libvsapm/features.h
> +include/libvsapm/types.h
> +lib/libvsapm.a
> +lib/libvsapm.so
> +lib/libvsapm.so.1
> +lib/libvsapm.so.1.0.0
> +%%PYTHON_SITELIBDIR%%/pyvsapm.a
> +%%PYTHON_SITELIBDIR%%/pyvsapm.so
> +libdata/pkgconfig/libvsapm.pc
> +man/man1/vsapminfo.1.gz
> +man/man3/libvsapm.3.gz

this makes me sad to read :(

Baptiste