From b9dafab452dbcd74f690caf8d053b40f4e038e70 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Wed, 30 Apr 2014 20:59:40 +0000 Subject: [PATCH] New port: devel/libsmdev Library to access to storage media devices. WWW: http://code.google.com/p/libsmdev/ --- devel/Makefile | 1 + devel/libsmdev/Makefile | 31 +++++++++++++++++++++++++++++++ devel/libsmdev/distinfo | 2 ++ devel/libsmdev/pkg-descr | 3 +++ devel/libsmdev/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 devel/libsmdev/Makefile create mode 100644 devel/libsmdev/distinfo create mode 100644 devel/libsmdev/pkg-descr create mode 100644 devel/libsmdev/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 9589b0e5ba9d..967bf15090a5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1108,6 +1108,7 @@ SUBDIR += libsigsegv SUBDIR += libslang2 SUBDIR += libslave + SUBDIR += libsmdev SUBDIR += libsoup SUBDIR += libsoup-gnome SUBDIR += libsoup-reference diff --git a/devel/libsmdev/Makefile b/devel/libsmdev/Makefile new file mode 100644 index 000000000000..482c4bbdac32 --- /dev/null +++ b/devel/libsmdev/Makefile @@ -0,0 +1,31 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= libsmdev +DISTVERSION= alpha-20140428 +CATEGORIES= devel +MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSNEJFQ1FqanFYVUU/ \ + LOCAL/antoine + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Library to access to storage media devices + +LICENSE= LGPL3 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} +USES= gettext iconv libtool pathfix +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/libsmdev/distinfo b/devel/libsmdev/distinfo new file mode 100644 index 000000000000..14e152f0c84f --- /dev/null +++ b/devel/libsmdev/distinfo @@ -0,0 +1,2 @@ +SHA256 (libsmdev-alpha-20140428.tar.gz) = 016b684324aa41ebb6c379c685579150937d3bf09125aa901966a611d5ad3c4d +SIZE (libsmdev-alpha-20140428.tar.gz) = 1116612 diff --git a/devel/libsmdev/pkg-descr b/devel/libsmdev/pkg-descr new file mode 100644 index 000000000000..8c7d69a627ba --- /dev/null +++ b/devel/libsmdev/pkg-descr @@ -0,0 +1,3 @@ +Library to access to storage media devices. + +WWW: http://code.google.com/p/libsmdev/ diff --git a/devel/libsmdev/pkg-plist b/devel/libsmdev/pkg-plist new file mode 100644 index 000000000000..9e08a21f0a3f --- /dev/null +++ b/devel/libsmdev/pkg-plist @@ -0,0 +1,18 @@ +bin/smdevinfo +include/libsmdev.h +include/libsmdev/codepage.h +include/libsmdev/definitions.h +include/libsmdev/error.h +include/libsmdev/extern.h +include/libsmdev/features.h +include/libsmdev/types.h +lib/libsmdev.a +lib/libsmdev.so +lib/libsmdev.so.1 +lib/libsmdev.so.1.0.0 +%%PYTHON_SITELIBDIR%%/pysmdev.a +%%PYTHON_SITELIBDIR%%/pysmdev.so +libdata/pkgconfig/libsmdev.pc +man/man1/smdevinfo.1.gz +man/man3/libsmdev.3.gz +@dirrm include/libsmdev