aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-01-26 23:51:20 +0800
committernox <nox@FreeBSD.org>2014-01-26 23:51:20 +0800
commitc2c3f16592f402632bbd6870ab2f647a0d6391ff (patch)
tree7fce118834c3c07b3ba7521c94b71366291ccd27
parent5e978bfdbc3825ee7f11cea794a172b2271e3172 (diff)
downloadfreebsd-ports-graphics-c2c3f16592f402632bbd6870ab2f647a0d6391ff.tar.gz
freebsd-ports-graphics-c2c3f16592f402632bbd6870ab2f647a0d6391ff.tar.zst
freebsd-ports-graphics-c2c3f16592f402632bbd6870ab2f647a0d6391ff.zip
Stagify.
-rw-r--r--emulators/kqemu-kmod-devel/Makefile14
-rw-r--r--emulators/kqemu-kmod/Makefile14
2 files changed, 12 insertions, 16 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile
index 33a540e037c..4fce3d5a0bc 100644
--- a/emulators/kqemu-kmod-devel/Makefile
+++ b/emulators/kqemu-kmod-devel/Makefile
@@ -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>
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile
index f93d7afd6ba..2ca15932a11 100644
--- a/emulators/kqemu-kmod/Makefile
+++ b/emulators/kqemu-kmod/Makefile
@@ -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>