svn commit: r324537 - in head/mail: . libcmime
William Grzybowski
wg at FreeBSD.org
Sat Aug 10 14:49:47 UTC 2013
Author: wg
Date: Sat Aug 10 14:49:45 2013
New Revision: 324537
URL: http://svnweb.freebsd.org/changeset/ports/324537
Log:
mail/libcmime: Lightweight C mime library
libcmime is a lightweight mime library, written in C. It attempts to
be a general library for parsing and creating mime email messages and
is designed to provide an easy to use and easy to integrate interface
for developers. libcmime is a pretty fresh project so the library is
still in beta state and there will be early and frequent releases.
WWW: http://www.libcmime.org/
PR: ports/181158
Submitted by: Axel Steiner <ast treibsand.com>
Added:
head/mail/libcmime/
head/mail/libcmime/Makefile (contents, props changed)
head/mail/libcmime/distinfo (contents, props changed)
head/mail/libcmime/pkg-descr (contents, props changed)
head/mail/libcmime/pkg-plist (contents, props changed)
Modified:
head/mail/Makefile
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Sat Aug 10 14:44:56 2013 (r324536)
+++ head/mail/Makefile Sat Aug 10 14:49:45 2013 (r324537)
@@ -217,6 +217,7 @@
SUBDIR += kshowmail
SUBDIR += lbdb
SUBDIR += lens
+ SUBDIR += libcmime
SUBDIR += libdkim
SUBDIR += libdomainkeys
SUBDIR += libesmtp
Added: head/mail/libcmime/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/libcmime/Makefile Sat Aug 10 14:49:45 2013 (r324537)
@@ -0,0 +1,42 @@
+# Created by: Axel Steiner <ast at treibsand.com>
+# $FreeBSD$
+
+PORTNAME= libcmime
+PORTVERSION= 0.1.7
+CATEGORIES= mail
+MASTER_SITES= http://www.libcmime.org/files/
+
+MAINTAINER= ast at treibsand.com
+COMMENT= Lightweight C mime library
+
+LICENSE= LGPL3
+
+BUILD_DEPENDS= bison>=1.8:${PORTSDIR}/devel/bison \
+ flex>=2.5.33:${PORTSDIR}/textproc/flex
+
+USES= cmake pkgconfig
+CMAKE_ARGS+= --no-warn-unused-cli -DCMAKE_PREFIX_PATH:PATH=${LOCALBASE}
+
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= DEBUG DOCS
+
+PORTDOCS= AUTHORS CHANGELOG INSTALL README
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDEBUG}
+CMAKE_ARGS+= -DENABLE_DEBUG=TRUE
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's|\$${LIBDIR}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
Added: head/mail/libcmime/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/libcmime/distinfo Sat Aug 10 14:49:45 2013 (r324537)
@@ -0,0 +1,2 @@
+SHA256 (libcmime-0.1.7.tar.gz) = acaa0b8f3fed22ab2052723501c0c449e177105c224f0ccdfd699b65480bf858
+SIZE (libcmime-0.1.7.tar.gz) = 140786
Added: head/mail/libcmime/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/libcmime/pkg-descr Sat Aug 10 14:49:45 2013 (r324537)
@@ -0,0 +1,7 @@
+libcmime is a lightweight mime library, written in C. It attempts to
+be a general library for parsing and creating mime email messages and
+is designed to provide an easy to use and easy to integrate interface
+for developers. libcmime is a pretty fresh project so the library is
+still in beta state and there will be early and frequent releases.
+
+WWW: http://www.libcmime.org/
Added: head/mail/libcmime/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/libcmime/pkg-plist Sat Aug 10 14:49:45 2013 (r324537)
@@ -0,0 +1,16 @@
+include/cmime.h
+include/cmime/cmime_address.h
+include/cmime/cmime_base64.h
+include/cmime/cmime_config.h
+include/cmime/cmime_header.h
+include/cmime/cmime_list.h
+include/cmime/cmime_message.h
+include/cmime/cmime_part.h
+include/cmime/cmime_qp.h
+include/cmime/cmime_string.h
+include/cmime/cmime_util.h
+lib/libcmime.so
+lib/libcmime.so.0.1
+lib/libcmime.so.0.1.7
+libdata/pkgconfig/libcmime.pc
+ at dirrm include/cmime
More information about the svn-ports-head
mailing list