pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libradius Add DESTDIR support and honor PKGMANDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c49e9ca8ecc3
branches: trunk
changeset: 553813:c49e9ca8ecc3
user: obache <obache%pkgsrc.org@localhost>
date: Sat Jan 31 03:12:33 2009 +0000
description:
Add DESTDIR support and honor PKGMANDIR.
diffstat:
net/libradius/Makefile | 4 +++-
net/libradius/distinfo | 4 ++--
net/libradius/patches/patch-aa | 14 +++++++-------
3 files changed, 12 insertions(+), 10 deletions(-)
diffs (55 lines):
diff -r 94245bd98d48 -r c49e9ca8ecc3 net/libradius/Makefile
--- a/net/libradius/Makefile Sat Jan 31 03:09:10 2009 +0000
+++ b/net/libradius/Makefile Sat Jan 31 03:12:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/04/07 17:28:55 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2009/01/31 03:12:33 obache Exp $
DISTNAME= libradius-linux-20040827
PKGNAME= ${DISTNAME:S/-linux//}
@@ -9,6 +9,8 @@
MAINTAINER= manu%NetBSD.org@localhost
COMMENT= RADIUS client library
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= inn-[0-9]*
WRKSRC= ${WRKDIR}/libradius-linux
diff -r 94245bd98d48 -r c49e9ca8ecc3 net/libradius/distinfo
--- a/net/libradius/distinfo Sat Jan 31 03:09:10 2009 +0000
+++ b/net/libradius/distinfo Sat Jan 31 03:12:33 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/09/08 18:01:29 minskim Exp $
+$NetBSD: distinfo,v 1.7 2009/01/31 03:12:33 obache Exp $
SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f
RMD160 (libradius-linux-20040827.tar.gz) = 040fb6e3919402c21ffc4dcdb6c7ae2137030489
Size (libradius-linux-20040827.tar.gz) = 15791 bytes
-SHA1 (patch-aa) = 92c13e57919a75c0d463ca749222957d7a4c8ba9
+SHA1 (patch-aa) = d9849e36d2d075b5a89881b02461a874af342089
diff -r 94245bd98d48 -r c49e9ca8ecc3 net/libradius/patches/patch-aa
--- a/net/libradius/patches/patch-aa Sat Jan 31 03:09:10 2009 +0000
+++ b/net/libradius/patches/patch-aa Sat Jan 31 03:12:33 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2005/09/08 18:01:29 minskim Exp $
+$NetBSD: patch-aa,v 1.7 2009/01/31 03:12:33 obache Exp $
--- Makefile.orig 2004-08-27 00:20:33.000000000 -0700
+++ Makefile
@@ -48,9 +48,9 @@
- install -c -m 444 -o bin -g bin radlib.h $(PREFIX)/include
- install -c -m 444 -o bin -g bin libradius.3 $(PREFIX)/man/man3
- install -c -m 444 -o bin -g bin radius.conf.5 $(PREFIX)/man/man5
-+ ${BSD_INSTALL_LIB} lib$(LIB).a $(PREFIX)/lib
-+# install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(PREFIX)/lib
-+# $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(PREFIX)/lib/lib$(LIB).so
-+ ${BSD_INSTALL_DATA} radlib.h $(PREFIX)/include
-+ ${BSD_INSTALL_MAN} libradius.3 $(PREFIX)/man/man3
-+ ${BSD_INSTALL_MAN} radius.conf.5 $(PREFIX)/man/man5
++ ${BSD_INSTALL_LIB} lib$(LIB).a $(DESTDIR)$(PREFIX)/lib
++# install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(DESTDIR)$(PREFIX)/lib
++# $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(DESTDIR)$(PREFIX)/lib/lib$(LIB).so
++ ${BSD_INSTALL_DATA} radlib.h $(DESTDIR)$(PREFIX)/include
++ ${BSD_INSTALL_MAN} libradius.3 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man3
++ ${BSD_INSTALL_MAN} radius.conf.5 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man5
Home |
Main Index |
Thread Index |
Old Index