diff options
author | joerg <joerg> | 2007-10-26 15:06:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-10-26 15:06:19 +0000 |
commit | a28e982c779fef64750de0ebd17e704979cda546 (patch) | |
tree | 26404d3c737d40756f80f732093a61d7b3fc62bd /sysutils | |
parent | 6870c0d2fdb30adca831d19591533ebb2a58d30d (diff) | |
download | pkgsrc-a28e982c779fef64750de0ebd17e704979cda546.tar.gz |
Add DESTDIR support. Split install -d command as it is not portable.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pciutils/Makefile | 4 | ||||
-rw-r--r-- | sysutils/pciutils/distinfo | 4 | ||||
-rw-r--r-- | sysutils/pciutils/patches/patch-aa | 28 |
3 files changed, 23 insertions, 13 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile index 1fe5b4515bd..ee0560ba12f 100644 --- a/sysutils/pciutils/Makefile +++ b/sysutils/pciutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/08/22 22:49:12 gdt Exp $ +# $NetBSD: Makefile,v 1.11 2007/10/26 15:06:19 joerg Exp $ DISTNAME= pciutils-2.1.11 PKGREVISION= 1 @@ -11,6 +11,8 @@ MAINTAINER= cube@NetBSD.org HOMEPAGE= http://mj.ucw.cz/pciutils.shtml COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8) +PKG_DESTDIR_SUPPORT= user-destdir + # subdir build in libs, followed by linking with it, without .WAIT MAKE_JOBS_SAFE= NO diff --git a/sysutils/pciutils/distinfo b/sysutils/pciutils/distinfo index bcbcd49dd97..15a4757c5c6 100644 --- a/sysutils/pciutils/distinfo +++ b/sysutils/pciutils/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/12/27 18:39:53 reed Exp $ +$NetBSD: distinfo,v 1.4 2007/10/26 15:06:19 joerg Exp $ SHA1 (pciutils-2.1.11.tar.gz) = bb1e107a745a40e208f676cffc0826ca8b928688 RMD160 (pciutils-2.1.11.tar.gz) = 46b6aed92fb9a8b81e7bd0da23ed13963ce15456 Size (pciutils-2.1.11.tar.gz) = 120948 bytes -SHA1 (patch-aa) = eb33c807890869abd2ddfeb38472dc15bd612bdd +SHA1 (patch-aa) = 03031ebefda815b1fc0cac1dbdfd5fc5cada463c diff --git a/sysutils/pciutils/patches/patch-aa b/sysutils/pciutils/patches/patch-aa index 97ee453e69d..80dabb76af8 100644 --- a/sysutils/pciutils/patches/patch-aa +++ b/sysutils/pciutils/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2005/12/27 18:39:53 reed Exp $ +$NetBSD: patch-aa,v 1.3 2007/10/26 15:06:19 joerg Exp $ --- Makefile.orig 2003-01-04 13:53:01.000000000 +0100 +++ Makefile @@ -22,19 +22,27 @@ $NetBSD: patch-aa,v 1.2 2005/12/27 18:39:53 reed Exp $ ifeq ($(shell uname),NetBSD) PCILIB=libpciutils.a -@@ -58,11 +60,14 @@ clean: +@@ -58,11 +60,18 @@ clean: install: all # -c is ignored on Linux, but required on FreeBSD - $(DIRINSTALL) -m 755 $(SBINDIR) $(SHAREDIR) $(MANDIR)/man8 -+ $(DIRINSTALL) -m 755 $(SBINDIR) $(SHAREDIR) $(MANDIR)/man8 $(LIBDIR) $(INCLUDEDIR) - $(INSTALL) -c -m 755 -s lspci setpci $(SBINDIR) - $(INSTALL) -c -m 755 update-pciids $(SBINDIR) - $(INSTALL) -c -m 644 pci.ids $(SHAREDIR) -+ $(INSTALL) -c -m 644 README $(SHAREDIR) - $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(MANDIR)/man8 -+ $(INSTALL) -c -m 444 lib/$(PCILIB) $(LIBDIR) -+ $(INSTALL) -c -m 644 lib/pci.h lib/header.h lib/config.h $(INCLUDEDIR) +- $(INSTALL) -c -m 755 -s lspci setpci $(SBINDIR) +- $(INSTALL) -c -m 755 update-pciids $(SBINDIR) +- $(INSTALL) -c -m 644 pci.ids $(SHAREDIR) +- $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(MANDIR)/man8 ++ $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) ++ $(DIRINSTALL) -m 755 $(DESTDIR)$(SHAREDIR) ++ $(DIRINSTALL) -m 755 $(DESTDIR)$(MANDIR)/man8 ++ $(DIRINSTALL) -m 755 $(DESTDIR)$(LIBDIR) ++ $(DIRINSTALL) -m 755 $(DESTDIR)$(INCLUDEDIR) ++ $(INSTALL) -c -m 755 -s lspci setpci $(DESTDIR)$(SBINDIR) ++ $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR) ++ $(INSTALL) -c -m 644 pci.ids $(DESTDIR)$(SHAREDIR) ++ $(INSTALL) -c -m 644 README $(DESTDIR)$(SHAREDIR) ++ $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8 ++ $(INSTALL) -c -m 444 lib/$(PCILIB) $(DESTDIR)$(LIBDIR) ++ $(INSTALL) -c -m 644 lib/pci.h lib/header.h lib/config.h $(DESTDIR)$(INCLUDEDIR) uninstall: all rm -f $(SBINDIR)/lspci $(SBINDIR)/setpci $(SBINDIR)/update-pciids |