summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-03 06:56:23 +0000
committerjoerg <joerg>2006-11-03 06:56:23 +0000
commitcde09e9bff882d5ad2c9d623bfb1f07ba0c03788 (patch)
tree5db0773e16e1fd5192513830df02079fc742afd8 /textproc
parent304a0eada8064abdbcf07839b4d303d1ede36ba2 (diff)
downloadpkgsrc-cde09e9bff882d5ad2c9d623bfb1f07ba0c03788.tar.gz
DESTDIR support.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/expat/Makefile9
-rw-r--r--textproc/libxml2/Makefile3
-rw-r--r--textproc/xmlcatmgr/Makefile14
3 files changed, 15 insertions, 11 deletions
diff --git a/textproc/expat/Makefile b/textproc/expat/Makefile
index b64e620230f..97efc4ea6e7 100644
--- a/textproc/expat/Makefile
+++ b/textproc/expat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/02/05 23:11:01 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2006/11/03 06:56:23 joerg Exp $
#
DISTNAME= expat-2.0.0
@@ -11,6 +11,7 @@ HOMEPAGE= http://expat.sourceforge.net/
COMMENT= XML parser library written in C
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
@@ -19,8 +20,8 @@ USE_TOOLS+= gmake
DOCDIR= ${PREFIX}/share/doc/html/expat
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/reference.html ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/style.css ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/reference.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/style.css ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index ca816dd6928..f187a17283c 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2006/10/30 20:57:30 drochner Exp $
+# $NetBSD: Makefile,v 1.84 2006/11/03 06:56:23 joerg Exp $
DISTNAME= libxml2-2.6.27
CATEGORIES= textproc
@@ -10,6 +10,7 @@ HOMEPAGE= http://xmlsoft.org/
COMMENT= XML parser library from the GNOME project
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LIBTOOL= yes
diff --git a/textproc/xmlcatmgr/Makefile b/textproc/xmlcatmgr/Makefile
index 8a67ff72032..4dcbc81e45b 100644
--- a/textproc/xmlcatmgr/Makefile
+++ b/textproc/xmlcatmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/12/29 06:22:20 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2006/11/03 06:56:24 joerg Exp $
#
DISTNAME= xmlcatmgr-2.2
@@ -11,6 +11,7 @@ HOMEPAGE= http://xmlcatmgr.sourceforge.net/
COMMENT= XML and SGML catalog manager
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
@@ -26,6 +27,8 @@ REQD_DIRS= ${PREFIX}/share/sgml ${PREFIX}/share/xml
PRINT_PLIST_AWK+= /^@dirrm share\/(sgml|xml)$$/ { next; }
+INSTALLATION_DIRS+= share/examples/xmlcatmgr
+
post-build:
@${ECHO} "Creating SGML catalogs..."
@${WRKSRC}/xmlcatmgr -sc ${WRKDIR}/catalog.etc.sgml create
@@ -39,10 +42,9 @@ post-build:
nextCatalog ${PREFIX}/share/xml/catalog
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKDIR}/catalog.etc.sgml ${EGDIR}/catalog.etc.sgml
- ${INSTALL_DATA} ${WRKDIR}/catalog.etc.xml ${EGDIR}/catalog.etc.xml
- ${INSTALL_DATA} ${WRKDIR}/catalog.sgml ${EGDIR}/catalog.share.sgml
- ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${EGDIR}/catalog.share.xml
+ ${INSTALL_DATA} ${WRKDIR}/catalog.etc.sgml ${DESTDIR}${EGDIR}/catalog.etc.sgml
+ ${INSTALL_DATA} ${WRKDIR}/catalog.etc.xml ${DESTDIR}${EGDIR}/catalog.etc.xml
+ ${INSTALL_DATA} ${WRKDIR}/catalog.sgml ${DESTDIR}${EGDIR}/catalog.share.sgml
+ ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${DESTDIR}${EGDIR}/catalog.share.xml
.include "../../mk/bsd.pkg.mk"