aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xen-tools/Makefile
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2013-10-31 11:02:05 +0000
committerMark Felder <feld@FreeBSD.org>2013-10-31 11:02:05 +0000
commit97e207f1ce8906eae0f9feb1011c8c3f0ac65520 (patch)
treeaca2f0c1e9b7287f431d332e064b054b5e7cdad0 /sysutils/xen-tools/Makefile
parent5b54fe53d31a2f1792d790aad55937640a24055b (diff)
downloadports-97e207f1ce8906eae0f9feb1011c8c3f0ac65520.tar.gz
ports-97e207f1ce8906eae0f9feb1011c8c3f0ac65520.zip
Notes
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>