Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 15:00:43 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433737 - in head/net-mgmt: . intel-snap snap
Message-ID:  <201702091500.v19F0hkn008560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Thu Feb  9 15:00:42 2017
New Revision: 433737
URL: https://svnweb.freebsd.org/changeset/ports/433737

Log:
  Rename net-mgmt/snap -> net-mgmt/intel-snap to fix INDEX.
  Remove some unneeded GOOS=.
  
  Reported by:	antonie
  Approved by:	swills (mentor)

Added:
  head/net-mgmt/intel-snap/
     - copied from r433736, head/net-mgmt/snap/
Deleted:
  head/net-mgmt/snap/
Modified:
  head/net-mgmt/Makefile
  head/net-mgmt/intel-snap/Makefile

Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile	Thu Feb  9 14:09:13 2017	(r433736)
+++ head/net-mgmt/Makefile	Thu Feb  9 15:00:42 2017	(r433737)
@@ -87,6 +87,7 @@
     SUBDIR += icmpmonitor
     SUBDIR += icmpquery
     SUBDIR += iftop
+    SUBDIR += intel-snap
     SUBDIR += iog
     SUBDIR += ipacctd
     SUBDIR += ipaudit
@@ -320,7 +321,6 @@
     SUBDIR += sjitter
     SUBDIR += slate
     SUBDIR += smokeping
-    SUBDIR += snap
     SUBDIR += snmp++
     SUBDIR += snmp4nagios
     SUBDIR += snmptt

Modified: head/net-mgmt/intel-snap/Makefile
==============================================================================
--- head/net-mgmt/snap/Makefile	Thu Feb  9 14:09:13 2017	(r433736)
+++ head/net-mgmt/intel-snap/Makefile	Thu Feb  9 15:00:42 2017	(r433737)
@@ -1,7 +1,7 @@
 # Created by: Brad Davis <brd@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	snap
+PORTNAME=	intel-snap
 PORTVERSION=	0.0.1
 CATEGORIES=	net-mgmt
 
@@ -50,17 +50,17 @@ PLIST_FILES=	bin/snapctl bin/snapd
 do-build:
 	( cd ${WRKSRC}; ${LN} -s ${WRKSRC} ${WRKSRC}/src/github.com/intelsdi-x/snap )
 	( cd ${WRKSRC}/src/github.com/appc/spec; \
-		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} GOOS=freebsd CC=clang \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
 		go build -o bin/actool github.com/appc/spec/actool )
 	( cd ${WRKSRC}; \
-		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} GOOS=freebsd CC=clang \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
 		go build ${BUILD_FLAGS} -o bin/snapd )
 	( cd ${WRKSRC}/cmd/snapctl; \
-		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} GOOS=freebsd CC=clang \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
 		go build ${BUILD_FLAGS} -o bin/snapctl )
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cmd/${PORTNAME}ctl/bin/${PORTNAME}ctl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}ctl
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME}d ${STAGEDIR}${PREFIX}/bin/${PORTNAME}d
+	${INSTALL_PROGRAM} ${WRKSRC}/cmd/snapctl/bin/snapctl ${STAGEDIR}${PREFIX}/bin/snapctl
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/snapd ${STAGEDIR}${PREFIX}/bin/snapd
 
 .include <bsd.port.mk>



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