diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 21:22:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 21:22:17 +0000 |
commit | 7a24433f224ae449d94a502f8eefbd2b13810db3 (patch) | |
tree | cfc3a14a74408fbaf44986e154c3ca3bda6966ed /net/gnet1 | |
parent | 98c1a3078711b5452852fcc2395dcc090e602ace (diff) | |
download | pkgsrc-7a24433f224ae449d94a502f8eefbd2b13810db3.tar.gz |
DESTDIR support
Diffstat (limited to 'net/gnet1')
-rw-r--r-- | net/gnet1/Makefile | 4 | ||||
-rw-r--r-- | net/gnet1/distinfo | 3 | ||||
-rw-r--r-- | net/gnet1/patches/patch-af | 17 |
3 files changed, 22 insertions, 2 deletions
diff --git a/net/gnet1/Makefile b/net/gnet1/Makefile index d1c266a50da..979ef04f448 100644 --- a/net/gnet1/Makefile +++ b/net/gnet1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/03/04 21:30:19 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2010/02/11 21:22:17 joerg Exp $ # DISTNAME= gnet-1.1.8 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnetlibrary.org/ COMMENT= Simple network library (older version) +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= gnet<=1.1.8 USE_TOOLS+= pkg-config diff --git a/net/gnet1/distinfo b/net/gnet1/distinfo index 552c83f107e..53d11c6bec6 100644 --- a/net/gnet1/distinfo +++ b/net/gnet1/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:13:48 agc Exp $ +$NetBSD: distinfo,v 1.3 2010/02/11 21:22:17 joerg Exp $ SHA1 (gnet-1.1.8.tar.gz) = f0c01075f911859f807a5a49a2165eded26c2ad5 RMD160 (gnet-1.1.8.tar.gz) = a967693f6cbfa6dab7f0c98bb56a7c2e8049cee9 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = e874ed0fd4ee827f2c96746bb33f34182f3f6968 SHA1 (patch-ac) = 7f1545f76d28c92e37953bd5e1e0f743f3b4800f SHA1 (patch-ad) = f6bfaafafeaf12b49b18b2f4525310ee32db9726 SHA1 (patch-ae) = 5135cf8ed04bb6ed7441fff03c513039b675be5d +SHA1 (patch-af) = f7b4ac31662b5030f698c9a9fd7c123265d4ab1f diff --git a/net/gnet1/patches/patch-af b/net/gnet1/patches/patch-af new file mode 100644 index 00000000000..bf75dcb7352 --- /dev/null +++ b/net/gnet1/patches/patch-af @@ -0,0 +1,17 @@ +$NetBSD: patch-af,v 1.1 2010/02/11 21:22:17 joerg Exp $ + +--- doc/Makefile.in.orig 2003-01-06 21:19:57.000000000 +0000 ++++ doc/Makefile.in +@@ -289,9 +289,9 @@ install-data-local: + -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR) + -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) + -(cd $(DESTDIR); gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)) +- -mv $(HTML_DIR)/$(DOC_MODULE)/* $(HTML_DIR) +- -rm -rf $(HTML_DIR)/$(DOC_MODULE) +- -(cd $(HTML_DIR); ln -s book1.html index.html) ++ -mv ${DESTDIR}$(HTML_DIR)/$(DOC_MODULE)/* ${DESTDIR}$(HTML_DIR) ++ -rm -rf ${DESTDIR}$(HTML_DIR)/$(DOC_MODULE) ++ -(cd ${DESTDIR}$(HTML_DIR); ln -s book1.html index.html) + + dist-hook: + (cd $(srcdir) ; tar cvf - html/*.html html/*.sgml) | (cd $(distdir); tar xf -) |