summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 21:34:53 +0000
committerjoerg <joerg>2009-07-07 21:34:53 +0000
commita51c66c52bd44318dd835d67f3806d3f430460f4 (patch)
tree46f82165c188fe68b6c832370c508b199ec78d8f /textproc
parent66e1dd012b958f6b69ed39ccb081e52aae618fd6 (diff)
downloadpkgsrc-a51c66c52bd44318dd835d67f3806d3f430460f4.tar.gz
user-destdir support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/openjade/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile
index d9569589fe6..d24836ffdff 100644
--- a/textproc/openjade/Makefile
+++ b/textproc/openjade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/01/11 09:08:00 minskim Exp $
+# $NetBSD: Makefile,v 1.19 2009/07/07 21:34:53 joerg Exp $
#
DISTNAME= openjade-1.3.2
@@ -10,6 +10,8 @@ MAINTAINER= kogule@mars.dti.ne.jp
HOMEPAGE= http://openjade.sourceforge.net/
COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake perl
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
@@ -24,17 +26,17 @@ SGML_CATALOGS= ${PREFIX}/share/sgml/openjade/catalog
OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
+INSTALLATION_DIRS= ${OPENJADE_DATA_DIR}/pubtext \
+ ${OPENJADE_DOC_DIR}/doc \
+ ${OPENJADE_DOC_DIR}/jadedoc/images
+
post-install:
- ${INSTALL_DATA_DIR} ${OPENJADE_DATA_DIR}/pubtext
- ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${OPENJADE_DATA_DIR}
- ${INSTALL_DATA} ${WRKSRC}/pubtext/* ${OPENJADE_DATA_DIR}/pubtext
-
- ${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/doc
- ${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/jadedoc/images
- ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${OPENJADE_DOC_DIR}/doc
- ${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${OPENJADE_DOC_DIR}/jadedoc
- ${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${OPENJADE_DOC_DIR}/jadedoc
- ${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${OPENJADE_DOC_DIR}/jadedoc/images
+ ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${DESTDIR}${OPENJADE_DATA_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/pubtext/* ${DESTDIR}${OPENJADE_DATA_DIR}/pubtext
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/doc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc/images
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/opensp/buildlink3.mk"