Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 17:38:15 +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: r428309 - in head/devel/libpff: . files
Message-ID:  <201612101738.uBAHcFZJ066312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Dec 10 17:38:15 2016
New Revision: 428309
URL: https://svnweb.freebsd.org/changeset/ports/428309

Log:
  - Update to experimental-20161119
  - Add LICENSE_FILE
  - This version can work with python3.x
  - Make NLS optional
  - Update WWW

Added:
  head/devel/libpff/files/
  head/devel/libpff/files/patch-pypff_Makefile.in   (contents, props changed)
Modified:
  head/devel/libpff/Makefile
  head/devel/libpff/distinfo
  head/devel/libpff/pkg-descr

Modified: head/devel/libpff/Makefile
==============================================================================
--- head/devel/libpff/Makefile	Sat Dec 10 17:05:29 2016	(r428308)
+++ head/devel/libpff/Makefile	Sat Dec 10 17:38:15 2016	(r428309)
@@ -2,36 +2,37 @@
 # $FreeBSD$
 
 PORTNAME=	libpff
-DISTVERSION=	alpha-20120802
-PORTREVISION=	2
+# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
+DISTVERSION=	experimental-20161119
 CATEGORIES=	devel
-MASTER_SITES=	https://github.com/libyal/legacy/raw/master/libpff/ \
+MASTER_SITES=	https://github.com/libyal/libpff/releases/download/${PORTVERSION:E}/ \
 		LOCAL/antoine
 
 MAINTAINER=	antoine@FreeBSD.org
 COMMENT=	Library and tools to access the PFF and the OFF formats
 
 LICENSE=	LGPL3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libfwnt.so:devel/libfwnt
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python --with-libintl-prefix=${LOCALBASE} --with-libfwnt=no
-USES=		gettext libtool pathfix python:2.7
+CONFIGURE_ARGS=	--enable-python --with-libfwnt=${LOCALBASE}
+USES=		libtool pathfix python
 USE_LDCONFIG=	yes
-# Remove when configure gets LDFLAGS for python correctly
-LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
 
-PORTDOCS=	AUTHORS ChangeLog
-PORTEXAMPLES=	*
+OPTIONS_DEFINE=	DOCS NLS
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+NLS_USES=	gettext
+NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF=	--disable-nls
+
+PORTDOCS=	AUTHORS ChangeLog
 
-post-install:
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
-		${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/libpff/distinfo
==============================================================================
--- head/devel/libpff/distinfo	Sat Dec 10 17:05:29 2016	(r428308)
+++ head/devel/libpff/distinfo	Sat Dec 10 17:38:15 2016	(r428309)
@@ -1,2 +1,3 @@
-SHA256 (libpff-alpha-20120802.tar.gz) = 4b78464200d04c77e182e09dc2af8d6f6c5519af12994e1ce96cd3b0e7a2ea62
-SIZE (libpff-alpha-20120802.tar.gz) = 1665471
+TIMESTAMP = 1480236027
+SHA256 (libpff-experimental-20161119.tar.gz) = d12e5e7c2682010a9f234e2961b09b3adf2c0ac20f06cbb0356f572bd024cc1e
+SIZE (libpff-experimental-20161119.tar.gz) = 1961081

Added: head/devel/libpff/files/patch-pypff_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libpff/files/patch-pypff_Makefile.in	Sat Dec 10 17:38:15 2016	(r428309)
@@ -0,0 +1,13 @@
+# Allow building when an older version of libpff is installed
+
+--- pypff/Makefile.in.orig	2016-11-21 07:14:34 UTC
++++ pypff/Makefile.in
+@@ -203,7 +203,7 @@ AM_V_at = $(am__v_at_@AM_V@)
+ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+ am__v_at_0 = @
+ am__v_at_1 = 
+-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/common
++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/common -I$(top_builddir)/include
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ am__mv = mv -f

Modified: head/devel/libpff/pkg-descr
==============================================================================
--- head/devel/libpff/pkg-descr	Sat Dec 10 17:05:29 2016	(r428308)
+++ head/devel/libpff/pkg-descr	Sat Dec 10 17:38:15 2016	(r428309)
@@ -5,4 +5,4 @@ PFF/OFF is used in several file types:
     PST (Personal Storage Table)
     OST (Offline Storage Table)
 
-WWW: http://code.google.com/p/libpff/
+WWW: https://github.com/libyal/libpff



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