summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-04 15:27:25 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-04 15:27:25 +0000
commite2e0c18dc1369eabaa6f3cc1070bc1e5bd1e3c0a (patch)
treec28391a5be2c1a9d7a890d3e464dfc658d139562 /textproc
parentc56c2bfb3f3b61b53fed435afc542bc42487eeda (diff)
downloadpkgsrc-e2e0c18dc1369eabaa6f3cc1070bc1e5bd1e3c0a.tar.gz
DESTDIR support. Fix permissions.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libpathan/Makefile5
-rw-r--r--textproc/libpathan/distinfo3
-rw-r--r--textproc/libpathan/patches/patch-ad18
3 files changed, 24 insertions, 2 deletions
diff --git a/textproc/libpathan/Makefile b/textproc/libpathan/Makefile
index e608857f051..0a16e21d2b2 100644
--- a/textproc/libpathan/Makefile
+++ b/textproc/libpathan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/07/22 04:46:18 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/04/04 15:27:25 joerg Exp $
DISTNAME= libpathan-1.2-2-src
PKGNAME= ${DISTNAME:S/-2-src/.2/}
@@ -11,6 +11,7 @@ HOMEPAGE= http://software.decisionsoft.com/
COMMENT= Library to parse and evaluate XPath expressions
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME:S/-2-src//}
GNU_CONFIGURE= YES
@@ -20,5 +21,7 @@ USE_LANGUAGES= c c++
CONFIGURE_ARGS+= XERCESCROOT=${LOCALBASE:Q}
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/libpathan/distinfo b/textproc/libpathan/distinfo
index 5240f280298..b07bf09600f 100644
--- a/textproc/libpathan/distinfo
+++ b/textproc/libpathan/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:44 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/04/04 15:27:25 joerg Exp $
SHA1 (libpathan-1.2-2-src.tar.gz) = 7354de9e5ffd192366b498ee99103899b0995247
RMD160 (libpathan-1.2-2-src.tar.gz) = 9dab7672d2ff724fad681b560132ecd32ebbc0e6
@@ -6,3 +6,4 @@ Size (libpathan-1.2-2-src.tar.gz) = 547460 bytes
SHA1 (patch-aa) = 43656156022b24ece265b161703c3f7fc9dfa90f
SHA1 (patch-ab) = 5c0e91f5ce235ed12cacff207dc56097082000d4
SHA1 (patch-ac) = 75afff02ce378b05d09aaa9de779134ac1a5ca3a
+SHA1 (patch-ad) = 7c81a565abaa920ae453febe226011762c432996
diff --git a/textproc/libpathan/patches/patch-ad b/textproc/libpathan/patches/patch-ad
new file mode 100644
index 00000000000..9de2a60746f
--- /dev/null
+++ b/textproc/libpathan/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2008/04/04 15:27:26 joerg Exp $
+
+--- Makefile.orig 2008-04-03 11:37:30.000000000 +0200
++++ Makefile
+@@ -73,10 +73,10 @@ lexparseclean:
+ install:
+ $(srcdir)/util/mkinstalldirs $(incdir)/ext
+ $(srcdir)/util/mkinstalldirs $(libdir)
+- for f in $(USERINCLUDEFILES) ; do $(INSTALL) $$f $(incdir) ; done
+- for f in $(EXTINCLUDEFILES) ; do $(INSTALL) $$f $(incdir)/ext ; done
++ for f in $(USERINCLUDEFILES) ; do $(BSD_INSTALL_DATA) $$f $(incdir) ; done
++ for f in $(EXTINCLUDEFILES) ; do $(BSD_INSTALL_DATA) $$f $(incdir)/ext ; done
+ $(PERL) $(srcdir)/util/IntegrateConfigH.pl src/config.h
+- $(INSTALL) $(srcdir)/objs/Pathan.hpp $(incdir)
++ $(BSD_INSTALL_DATA) $(srcdir)/objs/Pathan.hpp $(incdir)
+ $(PERL) $(srcdir)/util/StripHeader.pl $(incdir)/*.hpp $(incdir)/ext/*.hpp
+ $(INSTALLLIBSTAGE)
+