svn commit: r376997 - head/net-mgmt/statsite

Kurt Jaeger pi at FreeBSD.org
Wed Jan 14 06:14:29 UTC 2015


Author: pi
Date: Wed Jan 14 06:14:28 2015
New Revision: 376997
URL: https://svnweb.freebsd.org/changeset/ports/376997
QAT: https://qat.redports.org/buildarchive/r376997/

Log:
  net-mgmt/statsite: simplify Makefile
  
  PR:		196240
  Submitted by:	danfe

Modified:
  head/net-mgmt/statsite/Makefile

Modified: head/net-mgmt/statsite/Makefile
==============================================================================
--- head/net-mgmt/statsite/Makefile	Wed Jan 14 05:25:44 2015	(r376996)
+++ head/net-mgmt/statsite/Makefile	Wed Jan 14 06:14:28 2015	(r376997)
@@ -11,7 +11,7 @@ COMMENT=	C implementation of statsd
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
+USES=		scons
 
 USERS=		statsd
 GROUPS=		statsd
@@ -20,11 +20,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 PLIST_FILES=	bin/statsite
 
-do-build:
-	cd ${WRKSRC} && make
-
 do-install:
-	${STRIP_CMD} ${WRKSRC}/statsite
-	${CP} ${WRKSRC}/statsite ${STAGEDIR}/${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/statsite ${STAGEDIR}/${PREFIX}/bin/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list