Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 15:55:41 +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: r350134 - head/devel/zthread
Message-ID:  <201404041555.s34Ftf2L064805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Apr  4 15:55:40 2014
New Revision: 350134
URL: http://svnweb.freebsd.org/changeset/ports/350134
QAT: https://qat.redports.org/buildarchive/r350134/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Convert to USES=gmake
  - Remove Author line from pkg-descr

Modified:
  head/devel/zthread/Makefile
  head/devel/zthread/pkg-descr

Modified: head/devel/zthread/Makefile
==============================================================================
--- head/devel/zthread/Makefile	Fri Apr  4 15:26:13 2014	(r350133)
+++ head/devel/zthread/Makefile	Fri Apr  4 15:55:40 2014	(r350134)
@@ -9,12 +9,12 @@ MASTER_SITES=	SF/${PORTNAME}/ZThread/${P
 DISTNAME=	ZThread-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A platform-independent object-oriented C++ threading library
+COMMENT=	Platform-independent object-oriented C++ threading library
 
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-ftime --disable-static
-USE_GMAKE=	yes
+USES=		gmake
 MAKE_ARGS+=	INSTALL_PROGRAM="${INSTALL_SCRIPT}"
 MAKE_ENV+=	SED=sed # req'd for LIBTOOL?!
 USE_LDCONFIG=	yes
@@ -23,19 +23,16 @@ OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
-NO_STAGE=	yes
 post-extract:
 	@${FIND} ${WRKSRC} -name CVS -type d -delete
 
 post-patch:
 	@${FIND} ${WRKSRC} \( -name '*.orig' -or -name '*.swp' \) -delete
-
-.include <bsd.port.options.mk>
+	@${REINPLACE_CMD} -E 's,(bin|data|inlude)dir\),DESTDIR)$$(&,' \
+		${WRKSRC}/Makefile.in
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/devel/zthread/pkg-descr
==============================================================================
--- head/devel/zthread/pkg-descr	Fri Apr  4 15:26:13 2014	(r350133)
+++ head/devel/zthread/pkg-descr	Fri Apr  4 15:55:40 2014	(r350134)
@@ -12,5 +12,4 @@ Paraphrasing the website:
 
 ZThread implementations are provided for POSIX and Win32 platforms.
 
-Author: Eric Crahen <crahen@cse.buffalo.edu>
 WWW: http://zthread.sourceforge.net/



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