From 382f48b6f6b45d2ef906c62b332837b496800344 Mon Sep 17 00:00:00 2001 From: pawel Date: Wed, 20 Mar 2013 21:22:11 +0000 Subject: Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) formats. PFF/OFF is used in several file types: PAB (Personal Address Book) PST (Personal Storage Table) OST (Offline Storage Table) WWW: http://code.google.com/p/libpff/ PR: ports/177116 Submitted by: Antoine Brodin --- devel/Makefile | 1 + devel/libpff/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ devel/libpff/distinfo | 2 ++ devel/libpff/pkg-descr | 8 ++++++++ devel/libpff/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 devel/libpff/Makefile create mode 100644 devel/libpff/distinfo create mode 100644 devel/libpff/pkg-descr create mode 100644 devel/libpff/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 85be8630a4f7..7142524c19f1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1054,6 +1054,7 @@ SUBDIR += libpciaccess SUBDIR += libpdel SUBDIR += libpeak + SUBDIR += libpff SUBDIR += libphish SUBDIR += libphk SUBDIR += libplist diff --git a/devel/libpff/Makefile b/devel/libpff/Makefile new file mode 100644 index 000000000000..09ba4aefcf4c --- /dev/null +++ b/devel/libpff/Makefile @@ -0,0 +1,46 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= libpff +DISTVERSION= alpha-20120802 +CATEGORIES= devel +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Library and tools to access the PFF and the OFF formats + +LICENSE= LGPL3 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-python +USE_GETTEXT= yes +USES= pathfix +USE_ICONV= yes +USE_PYTHON= yes +USE_LDCONFIG= yes + +LDFLAGS+= -L${LOCALBASE}/lib +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} + +MAN1= pffexport.1 pffinfo.1 +MAN3= libpff.3 + +OPTIONS_DEFINE= DOCS EXAMPLES + +PORTDOCS= AUTHORS ChangeLog +PORTEXAMPLES= * + +.include + +post-install: +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \ + ${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${EXAMPLESDIR} +.endif + +.include diff --git a/devel/libpff/distinfo b/devel/libpff/distinfo new file mode 100644 index 000000000000..77dd3d8a45fe --- /dev/null +++ b/devel/libpff/distinfo @@ -0,0 +1,2 @@ +SHA256 (libpff-alpha-20120802.tar.gz) = 4b78464200d04c77e182e09dc2af8d6f6c5519af12994e1ce96cd3b0e7a2ea62 +SIZE (libpff-alpha-20120802.tar.gz) = 1665471 diff --git a/devel/libpff/pkg-descr b/devel/libpff/pkg-descr new file mode 100644 index 000000000000..3f95f5cc8db4 --- /dev/null +++ b/devel/libpff/pkg-descr @@ -0,0 +1,8 @@ +Library and tools to access the Personal Folder File (PFF) and the Offline +Folder File (OFF) formats. +PFF/OFF is used in several file types: + PAB (Personal Address Book) + PST (Personal Storage Table) + OST (Offline Storage Table) + +WWW: http://code.google.com/p/libpff/ diff --git a/devel/libpff/pkg-plist b/devel/libpff/pkg-plist new file mode 100644 index 000000000000..a87dc593f194 --- /dev/null +++ b/devel/libpff/pkg-plist @@ -0,0 +1,19 @@ +bin/pffexport +bin/pffinfo +include/libpff.h +include/libpff/codepage.h +include/libpff/definitions.h +include/libpff/error.h +include/libpff/extern.h +include/libpff/features.h +include/libpff/mapi.h +include/libpff/types.h +lib/libpff.a +lib/libpff.la +lib/libpff.so +lib/libpff.so.1 +%%PYTHON_SITELIBDIR%%/pypff.a +%%PYTHON_SITELIBDIR%%/pypff.la +%%PYTHON_SITELIBDIR%%/pypff.so +libdata/pkgconfig/libpff.pc +@dirrm include/libpff -- cgit