Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 17:31:10 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335517 - head/devel/libtap
Message-ID:  <201312021731.rB2HVA0M000506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec  2 17:31:10 2013
New Revision: 335517
URL: http://svnweb.freebsd.org/changeset/ports/335517

Log:
  - Add LICENSE
  - Strip shared library
  - Support STAGEDIR
  - While I'm here, move pkg-message to Makefile otherwise it'll be printed after installation
  
  PR:		ports/184438
  Submitted by:	Rodrigo Osorio <rodrigo@bebik.net> (maintainer)

Deleted:
  head/devel/libtap/pkg-message
Modified:
  head/devel/libtap/Makefile   (contents, props changed)
  head/devel/libtap/pkg-plist   (contents, props changed)

Modified: head/devel/libtap/Makefile
==============================================================================
--- head/devel/libtap/Makefile	Mon Dec  2 17:31:05 2013	(r335516)
+++ head/devel/libtap/Makefile	Mon Dec  2 17:31:10 2013	(r335517)
@@ -5,22 +5,30 @@ PORTNAME=	libtap
 PORTVERSION=	1.01
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	nik
+MASTER_SITES=	LOCAL/nik
 DISTNAME=	tap-${PORTVERSION}
 
 MAINTAINER=	rodrigo@bebik.net
 COMMENT=	Library implementing the Test Anything Protocol
 
+LICENSE=	BSD
+
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-MAN3=		tap.3
-
-NO_STAGE=	yes
 post-build:
-	@${CAT} ${PKGMESSAGE}
+	@${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)

Modified: head/devel/libtap/pkg-plist
==============================================================================
--- head/devel/libtap/pkg-plist	Mon Dec  2 17:31:05 2013	(r335516)
+++ head/devel/libtap/pkg-plist	Mon Dec  2 17:31:10 2013	(r335517)
@@ -3,3 +3,4 @@ lib/libtap.a
 lib/libtap.la
 lib/libtap.so
 lib/libtap.so.0
+man/man3/tap.3.gz



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