summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2022-06-28 16:26:34 +0000
committerbouyer <bouyer@pkgsrc.org>2022-06-28 16:26:34 +0000
commit4f6e8ca356824ab7d8a1fc13e333057cae799cad (patch)
tree83c8a7b41ab62b3c0a8127cd8469b4dd4f9b8836 /sysutils
parentad3286b7a76362f74db4a229d5857448e0a95c5d (diff)
downloadpkgsrc-4f6e8ca356824ab7d8a1fc13e333057cae799cad.tar.gz
Move Makefile fragments to version.mk, to ease reuse by other packages.
NFC.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xentools415/Makefile23
-rw-r--r--sysutils/xentools415/version.mk20
2 files changed, 24 insertions, 19 deletions
diff --git a/sysutils/xentools415/Makefile b/sysutils/xentools415/Makefile
index b10b68484d8..b6cce9fedb8 100644
--- a/sysutils/xentools415/Makefile
+++ b/sysutils/xentools415/Makefile
@@ -1,25 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2022/06/28 11:36:07 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2022/06/28 16:26:34 bouyer Exp $
#
+# VERSION is set in version.mk as it is shared with other packages
+.include "version.mk"
+PKGREVISION= 2
-VERSION= 4.15.2
-DIST_SUBDIR= xen415
-DISTNAME= xen-${VERSION}
-PKGNAME= xentools415-${VERSION}
-PKGREVISION= 2
CATEGORIES= sysutils
-MASTER_SITES= https://downloads.xenproject.org/release/xen/${VERSION}/
-
-DISTFILES= ${DISTNAME}.tar.gz
-
-SEABIOS_VERSION= 1.14.0
-SEABIOS_DIST= seabios-${SEABIOS_VERSION}.tar.gz
-DISTFILES+= ${SEABIOS_DIST}
-SITES.${SEABIOS_DIST}= -http://xenbits.xen.org/gitweb/?p=seabios.git;a=snapshot;h=refs/tags/rel-${SEABIOS_VERSION};sf=tgz
-
-IPXE_VERSION= 988d2c13cdf0f0b4140685af35ced70ac5b3283c
-IPXE_DIST= ipxe-${IPXE_VERSION}.tar.gz
-DISTFILES+= ${IPXE_DIST}
-SITES.${IPXE_DIST}= -https://github.com/ipxe/ipxe/archive/${IPXE_VERSION}.tar.gz
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= https://xenproject.org/
diff --git a/sysutils/xentools415/version.mk b/sysutils/xentools415/version.mk
new file mode 100644
index 00000000000..6d5689c945d
--- /dev/null
+++ b/sysutils/xentools415/version.mk
@@ -0,0 +1,20 @@
+# $NetBSD: version.mk,v 1.1 2022/06/28 16:26:34 bouyer Exp $
+#
+# Version number is used by xentools415 and xenstoretools
+
+VERSION= 4.15.2
+
+DIST_SUBDIR= xen415
+DISTNAME= xen-${VERSION}
+MASTER_SITES= https://downloads.xenproject.org/release/xen/${VERSION}/
+DISTFILES= ${DISTNAME}.tar.gz
+
+IPXE_VERSION= 988d2c13cdf0f0b4140685af35ced70ac5b3283c
+IPXE_DIST= ipxe-${IPXE_VERSION}.tar.gz
+DISTFILES+= ${IPXE_DIST}
+SITES.${IPXE_DIST}= -https://github.com/ipxe/ipxe/archive/${IPXE_VERSION}.tar.gz
+
+SEABIOS_VERSION= 1.14.0
+SEABIOS_DIST= seabios-${SEABIOS_VERSION}.tar.gz
+DISTFILES+= ${SEABIOS_DIST}
+SITES.${SEABIOS_DIST}= -http://xenbits.xen.org/gitweb/?p=seabios.git;a=snapshot;h=refs/tags/rel-${SEABIOS_VERSION};sf=tgz