diff options
-rw-r--r-- | net/libradius/Makefile | 4 | ||||
-rw-r--r-- | net/libradius/distinfo | 4 | ||||
-rw-r--r-- | net/libradius/patches/patch-aa | 14 |
3 files changed, 12 insertions, 10 deletions
diff --git a/net/libradius/Makefile b/net/libradius/Makefile index e1bc4ac6fac..482751bd458 100644 --- a/net/libradius/Makefile +++ b/net/libradius/Makefile @@ -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 @@ MASTER_SITES= http://portal-to-web.de/tacacs/ MAINTAINER= manu@NetBSD.org COMMENT= RADIUS client library +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= inn-[0-9]* WRKSRC= ${WRKDIR}/libradius-linux diff --git a/net/libradius/distinfo b/net/libradius/distinfo index c43c597f207..468c3f4f43b 100644 --- a/net/libradius/distinfo +++ b/net/libradius/distinfo @@ -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 --git a/net/libradius/patches/patch-aa b/net/libradius/patches/patch-aa index c38389c59ef..0892eec04ab 100644 --- a/net/libradius/patches/patch-aa +++ b/net/libradius/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.6 2005/09/08 18:01:29 minskim Exp $ - 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 |