summaryrefslogtreecommitdiff
path: root/textproc/expat
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/expat
parent304a0eada8064abdbcf07839b4d303d1ede36ba2 (diff)
downloadpkgsrc-cde09e9bff882d5ad2c9d623bfb1f07ba0c03788.tar.gz
DESTDIR support.
Diffstat (limited to 'textproc/expat')
-rw-r--r--textproc/expat/Makefile9
1 files changed, 5 insertions, 4 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"