Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 15:51:21 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341231 - in head/emulators: kqemu-kmod kqemu-kmod-devel
Message-ID:  <201401261551.s0QFpLpU009456@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sun Jan 26 15:51:20 2014
New Revision: 341231
URL: http://svnweb.freebsd.org/changeset/ports/341231
QAT: https://qat.redports.org/buildarchive/r341231/

Log:
  Stagify.

Modified:
  head/emulators/kqemu-kmod-devel/Makefile
  head/emulators/kqemu-kmod/Makefile

Modified: head/emulators/kqemu-kmod-devel/Makefile
==============================================================================
--- head/emulators/kqemu-kmod-devel/Makefile	Sun Jan 26 15:46:14 2014	(r341230)
+++ head/emulators/kqemu-kmod-devel/Makefile	Sun Jan 26 15:51:20 2014	(r341231)
@@ -28,8 +28,6 @@ CONFLICTS=	kqemu-kmod-[0-9]*
 
 USE_RC_SUBR=	kqemu
 
-NO_STAGE=	yes
-
 USES=		kmod
 
 .include <bsd.port.pre.mk>
@@ -39,7 +37,7 @@ PLIST_FILES=	"include/kqemu/kqemu.h"
 PLIST_FILES+=	"@dirrm include/kqemu"
 PLIST_FILES+=	"@cwd /"
 PLIST_FILES+=	${KMODDIR:C,^/,,}/kqemu.ko
-PLIST_FILES+=	"@cwd"
+PLIST_FILES+=	"@cwd ${PREFIX}"
 
 MAKEFILE=	Makefile.freebsd
 
@@ -74,13 +72,13 @@ do-build:
 	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
 
 do-install:
-	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
-	${MKDIR} ${PREFIX}/include/kqemu
-	${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
+	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu
+	${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \
-		${DOCSDIR}
+		${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/emulators/kqemu-kmod/Makefile
==============================================================================
--- head/emulators/kqemu-kmod/Makefile	Sun Jan 26 15:46:14 2014	(r341230)
+++ head/emulators/kqemu-kmod/Makefile	Sun Jan 26 15:51:20 2014	(r341231)
@@ -28,8 +28,6 @@ CONFLICTS=	kqemu-kmod-devel-[0-9]*
 
 USE_RC_SUBR=	kqemu
 
-NO_STAGE=	yes
-
 USES=		kmod
 
 .include <bsd.port.pre.mk>
@@ -39,7 +37,7 @@ PLIST_FILES=	"include/kqemu/kqemu.h"
 PLIST_FILES+=	"@dirrm include/kqemu"
 PLIST_FILES+=	"@cwd /"
 PLIST_FILES+=	${KMODDIR:C,^/,,}/kqemu.ko
-PLIST_FILES+=	"@cwd"
+PLIST_FILES+=	"@cwd ${PREFIX}"
 
 MAKEFILE=	Makefile.freebsd
 
@@ -65,13 +63,13 @@ do-build:
 	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
 
 do-install:
-	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
-	${MKDIR} ${PREFIX}/include/kqemu
-	${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu
+	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu
+	${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \
-		${DOCSDIR}
+		${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>



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