Add libplist 1.3, a library to handle Apple Property List format.

This commit is contained in:
Alberto Villa 2011-02-28 05:06:26 +00:00
parent f0d74dc426
commit 822ac0a5ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269950
5 changed files with 97 additions and 0 deletions

View File

@ -857,6 +857,7 @@
SUBDIR += libpeak
SUBDIR += libphish
SUBDIR += libphk
SUBDIR += libplist
SUBDIR += libpperl
SUBDIR += libpthread-stubs
SUBDIR += librcc

54
devel/libplist/Makefile Normal file
View File

@ -0,0 +1,54 @@
# New ports collection makefile for: libplist
# Date created: 28 May 2010
# Whom: Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= libplist
PORTVERSION= 1.3
CATEGORIES= devel
MASTER_SITES= http://www.libimobiledevice.org/downloads/
MAINTAINER= avilla@FreeBSD.org
COMMENT= A library to handle Apple Property List format
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
USE_BZIP2= yes
USE_GNOME= glib20 libxml2
USE_ICONV= yes
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
PORTDOCS= AUTHORS README
OPTIONS= PYTHON "Enable Python bindings (needs Swig)" off
.include <bsd.port.options.mk>
.ifdef(WITH_PYTHON)
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_PYTHON= yes
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=On
PLIST_SUB+= PYTHON=""
.else
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=Off
PLIST_SUB+= PYTHON="@comment "
.endif
pre-configure:
${REINPLACE_CMD} -e 's:$${CMAKE_INSTALL_LIBDIR}/pkgconfig:libdata/pkgconfig:' \
${WRKSRC}/CMakeLists.txt
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

2
devel/libplist/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libplist-1.3.tar.bz2) = 982c8aac59cdc3fafc925a407a29b6cf367c5ec9bad6ad509fe5ea25d3e5b6b0
SIZE (libplist-1.3.tar.bz2) = 67642

11
devel/libplist/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
libimobiledevice is a software library that talks the protocols to
support iPhone, iPod Touch and iPad devices on Linux. Unlike other
projects, it does not depend on using any existing proprietary
libraries and does not require jailbreaking. It allows other software
to easily access the device's filesystem, retrieve information about
the device and its internals, backup/restore the device, manage
SpringBoard icons, manage installed applications, retrieve
addressbook/calendars/notes and bookmarks and synchronize music and
video to the device.
WWW: http://www.libimobiledevice.org

29
devel/libplist/pkg-plist Normal file
View File

@ -0,0 +1,29 @@
bin/plutil
bin/plutil-1.3
include/plist/Array.h
include/plist/Boolean.h
include/plist/Data.h
include/plist/Date.h
include/plist/Dictionary.h
include/plist/Integer.h
include/plist/Node.h
include/plist/Real.h
include/plist/String.h
include/plist/Structure.h
include/plist/plist++.h
include/plist/plist.h
%%PYTHON%%include/plist/swig/plist.i
lib/libplist++.so
lib/libplist++.so.1
lib/libplist++.so.1.1.3
lib/libplist.so
lib/libplist.so.1
lib/libplist.so.1.1.3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/plist/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/plist/_plist.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/plist/plist.py
libdata/pkgconfig/libplist++.pc
libdata/pkgconfig/libplist.pc
%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/plist
%%PYTHON%%@dirrm include/plist/swig
@dirrm include/plist