Bug 181158 - [NEW PORT] mail/libcmime: A lightweight C mime library
Summary: [NEW PORT] mail/libcmime: A lightweight C mime library
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-09 12:40 UTC by Charlie &
Modified: 2013-08-10 15:50 UTC (History)
0 users

See Also:


Attachments
libcmime.shar (2.92 KB, text/plain)
2013-08-09 12:40 UTC, Charlie &
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie & 2013-08-09 12:40:00 UTC
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.
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-08-10 15:40:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-08-10 15:49:52 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-08-10 15:49:54 UTC
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@treibsand.com>
+# $FreeBSD$
+
+PORTNAME=	libcmime
+PORTVERSION=	0.1.7
+CATEGORIES=	mail
+MASTER_SITES=	http://www.libcmime.org/files/
+
+MAINTAINER=	ast@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
+@dirrm include/cmime
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"