Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 08:04:57 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354512 - head/databases/rrdmerge
Message-ID:  <201405190804.s4J84vRx030290@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon May 19 08:04:57 2014
New Revision: 354512
URL: http://svnweb.freebsd.org/changeset/ports/354512
QAT: https://qat.redports.org/buildarchive/r354512/

Log:
  Support staging.
  
  Approved by:	portmgr@

Deleted:
  head/databases/rrdmerge/pkg-plist
Modified:
  head/databases/rrdmerge/Makefile

Modified: head/databases/rrdmerge/Makefile
==============================================================================
--- head/databases/rrdmerge/Makefile	Mon May 19 08:03:49 2014	(r354511)
+++ head/databases/rrdmerge/Makefile	Mon May 19 08:04:57 2014	(r354512)
@@ -10,20 +10,26 @@ DISTNAME=	${PORTNAME}-${GITREVISION}
 EXTRACT_SUFX=	.tbz2
 
 MAINTAINER=	sobomax@FreeBSD.org
-COMMENT=	An utility to merge existing RRD data from backups into new RRD files
+COMMENT=	Utility to merge existing RRD data from backups into new RRD files
 
 RUN_DEPENDS=	rrdtool:${PORTSDIR}/databases/rrdtool
 
+USES=		tar:bzip2 shebangfix
+SHEBANG_FILES=	rrdmergetree
 GITREVISION=	b05d69bfac64
-USE_BZIP2=	yes
 USE_PYTHON=	yes
+bash_CMD=	/bin/sh
 NO_BUILD=	yes
+PLIST_FILES=	bin/${PORTNAME} bin/${PORTNAME}tree
+
+PORTDOCS=	*
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/README.rst ${PREFIX}/share/doc/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${STAGEDIR}${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/README.rst ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}
+.endif
 
 .include <bsd.port.mk>



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