Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 13:12:14 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345832 - head/net/bounce
Message-ID:  <201402241312.s1ODCEaL023828@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Feb 24 13:12:13 2014
New Revision: 345832
URL: http://svnweb.freebsd.org/changeset/ports/345832
QAT: https://qat.redports.org/buildarchive/r345832/

Log:
  Support staging

Modified:
  head/net/bounce/Makefile

Modified: head/net/bounce/Makefile
==============================================================================
--- head/net/bounce/Makefile	Mon Feb 24 13:10:25 2014	(r345831)
+++ head/net/bounce/Makefile	Mon Feb 24 13:12:13 2014	(r345832)
@@ -19,15 +19,14 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 PLIST_FILES=	sbin/bounce
 
-NO_STAGE=	yes
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
 
 do-build:
-	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)
+	${CC} ${CFLAGS} -o ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/sbin
 
 .include <bsd.port.mk>



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