Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 10:11:25 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485011 - in head/devel/libtap: . files
Message-ID:  <201811151011.wAFABPd1059659@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Nov 15 10:11:25 2018
New Revision: 485011
URL: https://svnweb.freebsd.org/changeset/ports/485011

Log:
  devel/libtap: Update to 1.12.0
  
  - Switch to new maintained upstream
  
  While here
  
  - Hook up the regression tests via TEST_TARGET
  
  PR:		231959
  Submitted by:	Maciej Pasternacki <maciej@pasternacki.net>
  Approved by:	rodrigo (maintainer timeout, ~1 month)

Added:
  head/devel/libtap/files/
  head/devel/libtap/files/patch-cmake_Shlomif__Common.cmake   (contents, props changed)
Modified:
  head/devel/libtap/Makefile
  head/devel/libtap/distinfo
  head/devel/libtap/pkg-descr
  head/devel/libtap/pkg-plist

Modified: head/devel/libtap/Makefile
==============================================================================
--- head/devel/libtap/Makefile	Thu Nov 15 09:30:24 2018	(r485010)
+++ head/devel/libtap/Makefile	Thu Nov 15 10:11:25 2018	(r485011)
@@ -2,35 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	libtap
-PORTVERSION=	1.01
-PORTREVISION=	2
+PORTVERSION=	1.12.0
 CATEGORIES=	devel
-MASTER_SITES=	LOCAL/nik
-DISTNAME=	tap-${PORTVERSION}
+MASTER_SITES=	https://web-cpan.shlomifish.org/downloads/
 
 MAINTAINER=	rodrigo@FreeBSD.org
 COMMENT=	Library implementing the Test Anything Protocol
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		libtool
-GNU_CONFIGURE=	yes
+USES=		cmake:outsource perl5 tar:bz2
 USE_LDCONFIG=	yes
+USE_PERL5=	build
 
-post-build:
-	@${ECHO_MSG} "If you have Perl and Test::Harness installed you can run the test suite"
-	@${ECHO_MSG} "for libtap by running"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "    make check"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "or"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "    prove -r"
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtap.so
-
-check:
-	(cd ${WRKSRC}; ${MAKE} check)
+TEST_TARGET=	check
 
 .include <bsd.port.mk>

Modified: head/devel/libtap/distinfo
==============================================================================
--- head/devel/libtap/distinfo	Thu Nov 15 09:30:24 2018	(r485010)
+++ head/devel/libtap/distinfo	Thu Nov 15 10:11:25 2018	(r485011)
@@ -1,2 +1,3 @@
-SHA256 (tap-1.01.tar.gz) = 669abb7e6eada579c611899da13731333627e758381e9d627ea8f6e4669f3ded
-SIZE (tap-1.01.tar.gz) = 312109
+TIMESTAMP = 1538690472
+SHA256 (libtap-1.12.0.tar.bz2) = ba6cce8504468c261ac4ece84af793f56f11fc9f90050be9c086a1cec03941d7
+SIZE (libtap-1.12.0.tar.bz2) = 17550

Added: head/devel/libtap/files/patch-cmake_Shlomif__Common.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libtap/files/patch-cmake_Shlomif__Common.cmake	Thu Nov 15 10:11:25 2018	(r485011)
@@ -0,0 +1,47 @@
+--- cmake/Shlomif_Common.cmake.orig	2018-11-15 09:55:11 UTC
++++ cmake/Shlomif_Common.cmake
+@@ -76,7 +76,7 @@ MACRO(PREPROCESS_PATH_PERL_WITH_FULL_NAMES TARGET_NAME
+             "--subst" "prefix=${CMAKE_INSTALL_PREFIX}"
+             "--subst" "bindir=${CMAKE_INSTALL_PREFIX}/bin"
+             "--subst" "libdir=${CMAKE_INSTALL_PREFIX}/${WML_LIB_DIR}"
+-            "--subst" "mandir=${CMAKE_INSTALL_PREFIX}/share/man"
++            "--subst" "mandir=${CMAKE_INSTALL_PREFIX}/man"
+             "--subst" "PATH_PERL=${PERL_EXECUTABLE}"
+             "--subst" "INSTALLPRIVLIB=${CMAKE_INSTALL_PREFIX}/${WML_LIB_DIR}"
+             "--subst" "INSTALLARCHLIB=${CMAKE_INSTALL_PREFIX}/${WML_LIB_DIR}"
+@@ -182,7 +182,7 @@ MACRO(INSTALL_MAN SOURCE SECTION)
+         FILES
+             ${SOURCE}
+         DESTINATION
+-            "share/man/man${SECTION}"
++            "man/man${SECTION}"
+     )
+ ENDMACRO(INSTALL_MAN)
+ 
+@@ -200,7 +200,7 @@ MACRO(INSTALL_RENAME_MAN SOURCE SECTION INSTNAME MAN_S
+         FILES
+             "${MAN_SOURCE_DIR}/${SOURCE}"
+         DESTINATION
+-            "share/man/man${SECTION}"
++            "man/man${SECTION}"
+         RENAME
+             "${INSTNAME}.${SECTION}"
+     )
+@@ -211,7 +211,7 @@ MACRO(INSTALL_CAT_MAN SOURCE SECTION)
+         FILES
+             "${CMAKE_CURRENT_BINARY_DIR}/${SOURCE}"
+         DESTINATION
+-            "share/man/cat${SECTION}"
++            "man/cat${SECTION}"
+     )
+ ENDMACRO(INSTALL_CAT_MAN)
+ 
+@@ -295,7 +295,7 @@ MACRO(INSTALL_MAN SOURCE SECTION)
+         FILES
+             ${SOURCE}
+         DESTINATION
+-            "share/man/man${SECTION}"
++            "man/man${SECTION}"
+    )
+ ENDMACRO(INSTALL_MAN)
+ 

Modified: head/devel/libtap/pkg-descr
==============================================================================
--- head/devel/libtap/pkg-descr	Thu Nov 15 09:30:24 2018	(r485010)
+++ head/devel/libtap/pkg-descr	Thu Nov 15 10:11:25 2018	(r485011)
@@ -1,3 +1,5 @@
 Library implementing the Test Anything Protocol.  Will be / is used by
 src/tools/regression, and anything else that wants an easy-to-implement
 test suite.
+
+WWW: https://www.shlomifish.org/open-source/projects/libtap/

Modified: head/devel/libtap/pkg-plist
==============================================================================
--- head/devel/libtap/pkg-plist	Thu Nov 15 09:30:24 2018	(r485010)
+++ head/devel/libtap/pkg-plist	Thu Nov 15 10:11:25 2018	(r485011)
@@ -1,6 +1,6 @@
 include/tap.h
-lib/libtap.a
 lib/libtap.so
 lib/libtap.so.0
 lib/libtap.so.0.0.0
+libdata/pkgconfig/libtap.pc
 man/man3/tap.3.gz



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