Bug 185578 - [MAINTAINER UPDATE] mail/libcmime: update to 0.1.10
Summary: [MAINTAINER UPDATE] mail/libcmime: update to 0.1.10
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: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 11:10 UTC by Axel Steiner
Modified: 2014-01-12 18:40 UTC (History)
0 users

See Also:


Attachments
libcmime_0.1.10.patch (1.48 KB, patch)
2014-01-08 11:10 UTC, Axel Steiner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Steiner 2014-01-08 11:10:02 UTC
- update port to version 0.1.10
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2014-01-10 19:10:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-12 18:32:34 UTC
Author: antoine
Date: Sun Jan 12 18:32:23 2014
New Revision: 339528
URL: http://svnweb.freebsd.org/changeset/ports/339528

Log:
  - Update to 0.1.10
  - Stage support
  
  PR:		ports/185578
  Submitted by:	Axel Steiner (maintainer)

Modified:
  head/mail/libcmime/Makefile
  head/mail/libcmime/distinfo
  head/mail/libcmime/pkg-plist

Modified: head/mail/libcmime/Makefile
==============================================================================
--- head/mail/libcmime/Makefile	Sun Jan 12 18:11:34 2014	(r339527)
+++ head/mail/libcmime/Makefile	Sun Jan 12 18:32:23 2014	(r339528)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libcmime
-PORTVERSION=	0.1.8
+PORTVERSION=	0.1.10
 CATEGORIES=	mail
 MASTER_SITES=	http://www.libcmime.org/files/
 
@@ -11,33 +11,33 @@ COMMENT=	Lightweight C mime library
 
 LICENSE=	MIT
 
-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}
-
+USES=		bison cmake pkgconfig
 USE_LDCONFIG=	yes
+CMAKE_ARGS=	--no-warn-unused-cli
 
 OPTIONS_DEFINE=	DEBUG DOCS
 
 PORTDOCS=	AUTHORS CHANGELOG INSTALL README
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
+.if ${OSVERSION} < 1000033
+BUILD_DEPENDS+=	flex>=2.5.33:${PORTSDIR}/textproc/flex
+CMAKE_ARGS+=	-DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
+.endif
+
 .if ${PORT_OPTIONS:MDEBUG}
 CMAKE_ARGS+=	-DENABLE_DEBUG=TRUE
 .endif
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -E -e 's|\$${LIBDIR}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \
+	@${REINPLACE_CMD} -E -e 's|\$${CMAKE_INSTALL_LIBDIR}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \
 		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>

Modified: head/mail/libcmime/distinfo
==============================================================================
--- head/mail/libcmime/distinfo	Sun Jan 12 18:11:34 2014	(r339527)
+++ head/mail/libcmime/distinfo	Sun Jan 12 18:32:23 2014	(r339528)
@@ -1,2 +1,2 @@
-SHA256 (libcmime-0.1.8.tar.gz) = 3e5ff23a7520c9e3a5e56e161d7332003305e198790e698ad81f4a0dc733c712
-SIZE (libcmime-0.1.8.tar.gz) = 142095
+SHA256 (libcmime-0.1.10.tar.gz) = 389fed96cf676ec793e40f00900931f680d9a6039b95f5c9fcbf1f3df1a581d3
+SIZE (libcmime-0.1.10.tar.gz) = 144535

Modified: head/mail/libcmime/pkg-plist
==============================================================================
--- head/mail/libcmime/pkg-plist	Sun Jan 12 18:11:34 2014	(r339527)
+++ head/mail/libcmime/pkg-plist	Sun Jan 12 18:32:23 2014	(r339528)
@@ -11,6 +11,6 @@ include/cmime/cmime_string.h
 include/cmime/cmime_util.h
 lib/libcmime.so
 lib/libcmime.so.0.1
-lib/libcmime.so.0.1.8
+lib/libcmime.so.0.1.10
 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"
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2014-01-12 18:37:16 UTC
State Changed
From-To: open->closed

Patch committed with slight modifications, thanks!