summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-01-24 07:25:42 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-01-24 07:25:42 +0000
commit0c20eee807b4ee56d98366a432a5274a8ae91cb1 (patch)
tree655251192ca7e1fde73c2545536335f6d1149d2a
parentNew port: textproc/py-xlsxwriter (diff)
New port: devel/libfsntfs
Library and tools to access the New Technology File System (NTFS) WWW: https://github.com/libyal/libfsntfs
Notes
Notes: svn path=/head/; revision=407088
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libfsntfs/Makefile31
-rw-r--r--devel/libfsntfs/distinfo2
-rw-r--r--devel/libfsntfs/pkg-descr3
-rw-r--r--devel/libfsntfs/pkg-plist17
5 files changed, 54 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 65896304c6d5..c9a02210960c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1185,6 +1185,7 @@
SUBDIR += libfirm
SUBDIR += libfortuna
SUBDIR += libfreefare
+ SUBDIR += libfsntfs
SUBDIR += libftdi
SUBDIR += libftdi1
SUBDIR += libfwsi
diff --git a/devel/libfsntfs/Makefile b/devel/libfsntfs/Makefile
new file mode 100644
index 000000000000..bbed4d1b466a
--- /dev/null
+++ b/devel/libfsntfs/Makefile
@@ -0,0 +1,31 @@
+# Created by: Antoine Brodin <antoine@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libfsntfs
+# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
+DISTVERSION= experimental-20160108
+CATEGORIES= devel
+MASTER_SITES= https://github.com/libyal/libfsntfs/releases/download/${PORTVERSION:E}/ \
+ LOCAL/antoine
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Library and tools to access the New Technology File System (NTFS)
+
+LICENSE= LGPL3
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE}
+USES= gettext libtool pathfix python
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
+
+PORTDOCS= AUTHORS ChangeLog
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/libfsntfs/distinfo b/devel/libfsntfs/distinfo
new file mode 100644
index 000000000000..cc17f311a38c
--- /dev/null
+++ b/devel/libfsntfs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libfsntfs-experimental-20160108.tar.gz) = c986f37f3fc62ee68d560099e552f2d7831903d28960c5b244715beb76a13378
+SIZE (libfsntfs-experimental-20160108.tar.gz) = 1620796
diff --git a/devel/libfsntfs/pkg-descr b/devel/libfsntfs/pkg-descr
new file mode 100644
index 000000000000..f6595996b807
--- /dev/null
+++ b/devel/libfsntfs/pkg-descr
@@ -0,0 +1,3 @@
+Library and tools to access the New Technology File System (NTFS)
+
+WWW: https://github.com/libyal/libfsntfs
diff --git a/devel/libfsntfs/pkg-plist b/devel/libfsntfs/pkg-plist
new file mode 100644
index 000000000000..e5e17bce2f70
--- /dev/null
+++ b/devel/libfsntfs/pkg-plist
@@ -0,0 +1,17 @@
+bin/fsntfsinfo
+include/libfsntfs.h
+include/libfsntfs/codepage.h
+include/libfsntfs/definitions.h
+include/libfsntfs/error.h
+include/libfsntfs/extern.h
+include/libfsntfs/features.h
+include/libfsntfs/types.h
+lib/libfsntfs.a
+lib/libfsntfs.so
+lib/libfsntfs.so.1
+lib/libfsntfs.so.1.0.0
+%%PYTHON_SITELIBDIR%%/pyfsntfs.a
+%%PYTHON_SITELIBDIR%%/pyfsntfs.so
+libdata/pkgconfig/libfsntfs.pc
+man/man1/fsntfsinfo.1.gz
+man/man3/libfsntfs.3.gz