From 89ab04c2eb1d097d43f30cc1a228f5c859e33ac1 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 31 Jul 2014 17:06:27 +0000 Subject: [PATCH] New port: libsmraw Library and tools to access the (split) RAW image format. WWW: https://code.google.com/p/libsmraw/ --- devel/Makefile | 1 + devel/libsmraw/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/libsmraw/distinfo | 2 ++ devel/libsmraw/pkg-descr | 3 +++ devel/libsmraw/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 devel/libsmraw/Makefile create mode 100644 devel/libsmraw/distinfo create mode 100644 devel/libsmraw/pkg-descr create mode 100644 devel/libsmraw/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index cc800c4780b9..5a8c678e74ed 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1122,6 +1122,7 @@ SUBDIR += libslang2 SUBDIR += libslave SUBDIR += libsmdev + SUBDIR += libsmraw SUBDIR += libsoup SUBDIR += libsoup-gnome SUBDIR += libsoup-reference diff --git a/devel/libsmraw/Makefile b/devel/libsmraw/Makefile new file mode 100644 index 000000000000..ad5624d40df9 --- /dev/null +++ b/devel/libsmraw/Makefile @@ -0,0 +1,32 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= libsmraw +DISTVERSION= alpha-20140728 +CATEGORIES= devel +MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSRml2cndCelp2R3M/ \ + LOCAL/antoine + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Library and tools to access the split RAW image format + +LICENSE= LGPL3 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} +USES= fuse gettext iconv libtool pathfix pkgconfig +USE_OPENSSL= yes +USE_PYTHON= 2 +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} + +PORTDOCS= AUTHORS ChangeLog + +OPTIONS_DEFINE= DOCS + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/libsmraw/distinfo b/devel/libsmraw/distinfo new file mode 100644 index 000000000000..1b625446dbc2 --- /dev/null +++ b/devel/libsmraw/distinfo @@ -0,0 +1,2 @@ +SHA256 (libsmraw-alpha-20140728.tar.gz) = be857970fb5e7d6e3cb85635dfdc3d3eea0b0e416d413b7bf6721e7990887e4a +SIZE (libsmraw-alpha-20140728.tar.gz) = 1441211 diff --git a/devel/libsmraw/pkg-descr b/devel/libsmraw/pkg-descr new file mode 100644 index 000000000000..395cceaedb71 --- /dev/null +++ b/devel/libsmraw/pkg-descr @@ -0,0 +1,3 @@ +Library and tools to access the (split) RAW image format. + +WWW: http://code.google.com/p/libsmraw/ diff --git a/devel/libsmraw/pkg-plist b/devel/libsmraw/pkg-plist new file mode 100644 index 000000000000..037f3f395066 --- /dev/null +++ b/devel/libsmraw/pkg-plist @@ -0,0 +1,19 @@ +bin/smrawmount +bin/smrawverify +include/libsmraw.h +include/libsmraw/codepage.h +include/libsmraw/definitions.h +include/libsmraw/error.h +include/libsmraw/extern.h +include/libsmraw/features.h +include/libsmraw/types.h +lib/libsmraw.a +lib/libsmraw.so +lib/libsmraw.so.1 +lib/libsmraw.so.1.0.0 +%%PYTHON_SITELIBDIR%%/pysmraw.a +%%PYTHON_SITELIBDIR%%/pysmraw.so +libdata/pkgconfig/libsmraw.pc +man/man1/smrawmount.1.gz +man/man3/libsmraw.3.gz +@dirrm include/libsmraw