summaryrefslogtreecommitdiff
path: root/textproc/expat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 06:56:23 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 06:56:23 +0000
commit1eda43f28414247090e3adc6fce98331f63fa452 (patch)
tree5db0773e16e1fd5192513830df02079fc742afd8 /textproc/expat
parent4570d9e9621a162b2f2a604c631c7e4931a2ae9d (diff)
downloadpkgsrc-1eda43f28414247090e3adc6fce98331f63fa452.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"