Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 17:55:52 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339615 - head/net-mgmt/clog
Message-ID:  <201401131755.s0DHtqDD092052@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Mon Jan 13 17:55:52 2014
New Revision: 339615
URL: http://svnweb.freebsd.org/changeset/ports/339615

Log:
  Support staging
  Respect ${CC}
  
  Approved by:	portmgr@ (blanket)

Modified:
  head/net-mgmt/clog/Makefile   (contents, props changed)
  head/net-mgmt/clog/pkg-plist   (contents, props changed)

Modified: head/net-mgmt/clog/Makefile
==============================================================================
--- head/net-mgmt/clog/Makefile	Mon Jan 13 17:54:04 2014	(r339614)
+++ head/net-mgmt/clog/Makefile	Mon Jan 13 17:55:52 2014	(r339615)
@@ -14,11 +14,12 @@ PATCH_DEPENDS=	rcsdiff:${PORTSDIR}/devel
 
 WRKSRC=		${WRKDIR}/clog
 ALL_TARGET=	freebsd
-MAN8=		clog.8
 
-NO_STAGE=	yes
+post-patch:
+	@${REINPLACE_CMD} -e 's,gcc,$${CC},g' ${WRKSRC}/Makefile
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/clog ${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/clog.8 ${PREFIX}/man/man8
+	${INSTALL_PROGRAM} ${WRKSRC}/clog ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/clog.8 ${STAGEDIR}${PREFIX}/man/man8
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/clog/pkg-plist
==============================================================================
--- head/net-mgmt/clog/pkg-plist	Mon Jan 13 17:54:04 2014	(r339614)
+++ head/net-mgmt/clog/pkg-plist	Mon Jan 13 17:55:52 2014	(r339615)
@@ -1,2 +1,3 @@
 @comment $FreeBSD$
 sbin/clog
+man/man8/clog.8.gz



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