Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 18:32:23 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339528 - head/mail/libcmime
Message-ID:  <201401121832.s0CIWN0F051873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121832.s0CIWN0F051873>