aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xen-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xen-tools/Makefile')
-rw-r--r--sysutils/xen-tools/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/sysutils/xen-tools/Makefile b/sysutils/xen-tools/Makefile
index 886d72958f0f..f2f56702a56c 100644
--- a/sysutils/xen-tools/Makefile
+++ b/sysutils/xen-tools/Makefile
@@ -13,7 +13,7 @@ COMMENT= Xen tools within FreeBSD domU
MASTER_SITES= http://bits.xensource.com/oss-xen/release/${PORTVERSION}/
DISTFILES= xen-${PORTVERSION}.tar.gz
-USE_GMAKE= yes
+USES= gmake
USE_PYTHON= yes
ONLY_FOR_ARCHS= amd64 i386 ia64
@@ -31,25 +31,22 @@ PLIST_FILES= lib/libxenstore.so.3.0 \
bin/xenstore-rm \
bin/xenstore-write
-NO_STAGE= yes
do-build:
cd ${WRKSRC}/tools && ${GMAKE} -C include
cd ${WRKSRC}/tools/misc && ${GMAKE} xen-detect
cd ${WRKSRC}/tools/xenstore && ${GMAKE} clients
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/misc/xen-detect ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore-control ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/libxenstore.so.3.0 ${PREFIX}/lib
-
-post-install:
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-chmod
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-exists
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-list
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-ls
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-read
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-rm
- ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-write
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/misc/xen-detect ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore-control ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/libxenstore.so.3.0 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-chmod
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-exists
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-list
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-ls
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-read
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-rm
+ ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-write
.include <bsd.port.mk>