Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 18:30:43 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437222 - in head: . converters/ytnef converters/ytnef/files devel devel/libytnef
Message-ID:  <201703291830.v2TIUhTX013909@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Mar 29 18:30:43 2017
New Revision: 437222
URL: https://svnweb.freebsd.org/changeset/ports/437222

Log:
  - Update converters/ytnef to version 1.9.2, now hosted on GitHub
  - Add PORTEPOCH, version is going backwards due to using versioning
    scheme of library distribution
  - Remove devel/libytnef port, both packages are now developed in one repo

Added:
  head/converters/ytnef/pkg-plist   (contents, props changed)
Deleted:
  head/converters/ytnef/files/
  head/devel/libytnef/
Modified:
  head/MOVED
  head/converters/ytnef/Makefile
  head/converters/ytnef/distinfo
  head/converters/ytnef/pkg-descr
  head/devel/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Mar 29 18:16:46 2017	(r437221)
+++ head/MOVED	Wed Mar 29 18:30:43 2017	(r437222)
@@ -9166,3 +9166,4 @@ net-p2p/gnunet||2017-03-27|Has expired: 
 print/abc2mtex||2017-03-27|Has expired: Depends on expiring print/musixtex
 ftp/bareftp||2017-03-27|Has expired: Broken for more than 6 months
 www/rubygem-jquery-rails4|www/rubygem-jquery-rails|2017-03-27|Remove PKGNAMESUFFIX
+devel/libytnef|converters/ytnef|2017-03-29|Merged into converters/ytnef

Modified: head/converters/ytnef/Makefile
==============================================================================
--- head/converters/ytnef/Makefile	Wed Mar 29 18:16:46 2017	(r437221)
+++ head/converters/ytnef/Makefile	Wed Mar 29 18:30:43 2017	(r437222)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	ytnef
-PORTVERSION=	2.6
-PORTREVISION=	2
+PORTVERSION=	1.9.2
+DISTVERSIONPREFIX=	v
+PORTEPOCH=	1
 CATEGORIES=	converters mail
-MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Unpack data in MS Outlook TNEF format
@@ -13,25 +13,25 @@ COMMENT=	Unpack data in MS Outlook TNEF 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libytnef.so:devel/libytnef
 RUN_DEPENDS=	p5-MIME-Tools>=0:mail/p5-MIME-Tools
 
-USES=		perl5 shebangfix
-SHEBANG_FILES=	src/ytnef/*.pl
+USE_GITHUB=	yes
+GH_ACCOUNT=	Yeraze
+
+USES=		autoreconf libtool pathfix perl5 shebangfix
+SHEBANG_FILES=	ytnef/ytnefprocess
 USE_PERL5=	run
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-PORTDOCS=	AUTHORS NEWS README
-PLIST_FILES=	bin/ytnef bin/ytnefprint bin/ytnefprocess.pl
+PORTDOCS=	README.md
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|' \
-		${WRKSRC}/src/ytnef/*.pl
+	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
+		${WRKSRC}/ytnef/ytnefprocess
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/converters/ytnef/distinfo
==============================================================================
--- head/converters/ytnef/distinfo	Wed Mar 29 18:16:46 2017	(r437221)
+++ head/converters/ytnef/distinfo	Wed Mar 29 18:30:43 2017	(r437222)
@@ -1,2 +1,3 @@
-SHA256 (ytnef-2.6.tar.gz) = 9addfcb7c412cdc3a2dc0c350e2130816633a35b3de37f1047d55e345dea99dc
-SIZE (ytnef-2.6.tar.gz) = 94146
+TIMESTAMP = 1490808908
+SHA256 (Yeraze-ytnef-v1.9.2_GH0.tar.gz) = 48f7d7272ba74b267d3f98a1b14c81fef54cfb53460346d7c36a9604df1f95ad
+SIZE (Yeraze-ytnef-v1.9.2_GH0.tar.gz) = 300945

Modified: head/converters/ytnef/pkg-descr
==============================================================================
--- head/converters/ytnef/pkg-descr	Wed Mar 29 18:16:46 2017	(r437221)
+++ head/converters/ytnef/pkg-descr	Wed Mar 29 18:30:43 2017	(r437222)
@@ -11,4 +11,4 @@ use Microsoft Outlook to view them.
 
 Now supports winmail.dat Outlook files
 
-WWW: http://ytnef.sourceforge.net/
+WWW: https://github.com/Yeraze/ytnef

Added: head/converters/ytnef/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/ytnef/pkg-plist	Wed Mar 29 18:30:43 2017	(r437222)
@@ -0,0 +1,14 @@
+bin/ytnef
+bin/ytnefprint
+bin/ytnefprocess
+include/mapi.h
+include/mapidefs.h
+include/mapitags.h
+include/tnef-errors.h
+include/tnef-types.h
+include/ytnef.h
+lib/libytnef.a
+lib/libytnef.so
+lib/libytnef.so.0
+lib/libytnef.so.0.0.0
+libdata/pkgconfig/libytnef.pc

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Mar 29 18:16:46 2017	(r437221)
+++ head/devel/Makefile	Wed Mar 29 18:30:43 2017	(r437222)
@@ -1496,7 +1496,6 @@
     SUBDIR += libxalloc
     SUBDIR += libxo
     SUBDIR += libxs
-    SUBDIR += libytnef
     SUBDIR += libzookeeper
     SUBDIR += libzrtpcpp
     SUBDIR += libzvbi



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