git: 0345e0617446 - main - devel/libmodi: new port
Antoine Brodin
antoine at FreeBSD.org
Sat Jun 26 08:22:38 UTC 2021
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0345e0617446754362af3c68ea5cd70a57cbfad0
commit 0345e0617446754362af3c68ea5cd70a57cbfad0
Author: Antoine Brodin <antoine at FreeBSD.org>
AuthorDate: 2021-06-26 08:22:06 +0000
Commit: Antoine Brodin <antoine at FreeBSD.org>
CommitDate: 2021-06-26 08:22:06 +0000
devel/libmodi: new port
Library and tools to access the Mac OS disk image formats
WWW: https://github.com/libyal/libmodi
---
devel/Makefile | 1 +
devel/libmodi/Makefile | 28 ++++++++++++++++++++++++++++
devel/libmodi/distinfo | 3 +++
devel/libmodi/pkg-descr | 3 +++
devel/libmodi/pkg-plist | 18 ++++++++++++++++++
5 files changed, 53 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 88b20d931a18..27bddc907ae1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1255,6 +1255,7 @@
SUBDIR += libmba
SUBDIR += libmill
SUBDIR += libmimedir
+ SUBDIR += libmodi
SUBDIR += libmowgli
SUBDIR += libmowgli2
SUBDIR += libmpcbdm
diff --git a/devel/libmodi/Makefile b/devel/libmodi/Makefile
new file mode 100644
index 000000000000..96f0c24a4a37
--- /dev/null
+++ b/devel/libmodi/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= libmodi
+# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
+DISTVERSION= experimental-20210515
+CATEGORIES= devel
+MASTER_SITES= https://github.com/libyal/libmodi/releases/download/${PORTVERSION:E}/ \
+ LOCAL/antoine
+
+MAINTAINER= antoine at FreeBSD.org
+COMMENT= Library and tools to access the Mac OS disk image formats
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-python --with-openssl=no
+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 <bsd.port.mk>
diff --git a/devel/libmodi/distinfo b/devel/libmodi/distinfo
new file mode 100644
index 000000000000..3a13b2f5502f
--- /dev/null
+++ b/devel/libmodi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621093678
+SHA256 (libmodi-experimental-20210515.tar.gz) = 75cbf299ad78ebd481306cca49c222e06cfb9156f3dbb504997a4af2a2f0e535
+SIZE (libmodi-experimental-20210515.tar.gz) = 2011077
diff --git a/devel/libmodi/pkg-descr b/devel/libmodi/pkg-descr
new file mode 100644
index 000000000000..7507405a37fd
--- /dev/null
+++ b/devel/libmodi/pkg-descr
@@ -0,0 +1,3 @@
+Library and tools to access the Mac OS disk image formats
+
+WWW: https://github.com/libyal/libmodi
diff --git a/devel/libmodi/pkg-plist b/devel/libmodi/pkg-plist
new file mode 100644
index 000000000000..dfdb7e6e7d78
--- /dev/null
+++ b/devel/libmodi/pkg-plist
@@ -0,0 +1,18 @@
+bin/modiinfo
+bin/modimount
+include/libmodi.h
+include/libmodi/codepage.h
+include/libmodi/definitions.h
+include/libmodi/error.h
+include/libmodi/extern.h
+include/libmodi/features.h
+include/libmodi/types.h
+lib/libmodi.a
+lib/libmodi.so
+lib/libmodi.so.1
+lib/libmodi.so.1.0.0
+%%PYTHON_SITELIBDIR%%/pymodi.a
+%%PYTHON_SITELIBDIR%%/pymodi.so
+libdata/pkgconfig/libmodi.pc
+man/man1/modiinfo.1.gz
+man/man3/libmodi.3.gz
More information about the dev-commits-ports-all
mailing list