summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libolecf/Makefile34
-rw-r--r--devel/libolecf/distinfo2
-rw-r--r--devel/libolecf/pkg-descr3
-rw-r--r--devel/libolecf/pkg-plist23
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9bcd967937df..749bded99c64 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1058,6 +1058,7 @@
SUBDIR += liboil
SUBDIR += libol
SUBDIR += libole2
+ SUBDIR += libolecf
SUBDIR += liboobs
SUBDIR += liboop
SUBDIR += libopendaap
diff --git a/devel/libolecf/Makefile b/devel/libolecf/Makefile
new file mode 100644
index 000000000000..0daacd5e5709
--- /dev/null
+++ b/devel/libolecf/Makefile
@@ -0,0 +1,34 @@
+# Created by: Antoine Brodin <antoine@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libolecf
+DISTVERSION= alpha-20130928
+CATEGORIES= devel
+MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSS0hEb0pjU2h6a2c/ \
+ LOCAL/antoine
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Library and tools to access the OLE 2 Compound File (OLECF) format
+
+LICENSE= LGPL3
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
+USES= fuse gettext iconv pathfix pkgconfig
+USE_PYTHON= -2.7
+USE_LDCONFIG= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
+
+PORTDOCS= AUTHORS ChangeLog
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/libolecf/distinfo b/devel/libolecf/distinfo
new file mode 100644
index 000000000000..770a50d89fa2
--- /dev/null
+++ b/devel/libolecf/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libolecf-alpha-20130928.tar.gz) = e41507c6ce9fe79bc89fc3c24cb9d4facf529a6dbdeed72da152740809c5443e
+SIZE (libolecf-alpha-20130928.tar.gz) = 1402421
diff --git a/devel/libolecf/pkg-descr b/devel/libolecf/pkg-descr
new file mode 100644
index 000000000000..a9c657a147b8
--- /dev/null
+++ b/devel/libolecf/pkg-descr
@@ -0,0 +1,3 @@
+Library and tools to access the OLE 2 Compound File (OLECF) format
+
+WWW: http://code.google.com/p/libolecf/
diff --git a/devel/libolecf/pkg-plist b/devel/libolecf/pkg-plist
new file mode 100644
index 000000000000..f19e4c62995d
--- /dev/null
+++ b/devel/libolecf/pkg-plist
@@ -0,0 +1,23 @@
+bin/olecfexport
+bin/olecfinfo
+bin/olecfmount
+include/libolecf.h
+include/libolecf/codepage.h
+include/libolecf/definitions.h
+include/libolecf/error.h
+include/libolecf/extern.h
+include/libolecf/features.h
+include/libolecf/ole.h
+include/libolecf/types.h
+lib/libolecf.a
+lib/libolecf.la
+lib/libolecf.so
+lib/libolecf.so.1
+%%PYTHON_SITELIBDIR%%/pyolecf.a
+%%PYTHON_SITELIBDIR%%/pyolecf.la
+%%PYTHON_SITELIBDIR%%/pyolecf.so
+libdata/pkgconfig/libolecf.pc
+man/man1/olecfexport.1.gz
+man/man1/olecfinfo.1.gz
+man/man3/libolecf.3.gz
+@dirrm include/libolecf