pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xentools415 Move Makefile fragments to versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e50cdb6ce4d
branches:  trunk
changeset: 381116:2e50cdb6ce4d
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Jun 28 16:26:34 2022 +0000

description:
Move Makefile fragments to version.mk, to ease reuse by other packages.
NFC.

diffstat:

 sysutils/xentools415/Makefile   |  25 +++++--------------------
 sysutils/xentools415/version.mk |  20 ++++++++++++++++++++
 2 files changed, 25 insertions(+), 20 deletions(-)

diffs (58 lines):

diff -r 0d8b288ed1e9 -r 2e50cdb6ce4d sysutils/xentools415/Makefile
--- a/sysutils/xentools415/Makefile     Tue Jun 28 13:01:59 2022 +0000
+++ b/sysutils/xentools415/Makefile     Tue Jun 28 16:26:34 2022 +0000
@@ -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=       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}/
+# VERSION is set in version.mk as it is shared with other packages
+.include        "version.mk"
+PKGREVISION=    2
 
-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
+CATEGORIES=            sysutils
 
 MAINTAINER=            bouyer%NetBSD.org@localhost
 HOMEPAGE=              https://xenproject.org/
diff -r 0d8b288ed1e9 -r 2e50cdb6ce4d sysutils/xentools415/version.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools415/version.mk   Tue Jun 28 16:26:34 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index