summaryrefslogtreecommitdiff
path: root/textproc/php4-xslt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-01 06:46:39 +0000
committerjlam <jlam@pkgsrc.org>2002-01-01 06:46:39 +0000
commit90485a20ed671e007b5650255dc59ea896428e5a (patch)
tree9ffac5fbe13045a27eae56fc2754d13a0beff3f4 /textproc/php4-xslt
parent93f4be20fc7fe0ecb25c36af2983806b61bf9598 (diff)
downloadpkgsrc-90485a20ed671e007b5650255dc59ea896428e5a.tar.gz
Install the API documentation for php4-xslt.
Diffstat (limited to 'textproc/php4-xslt')
-rw-r--r--textproc/php4-xslt/Makefile9
-rw-r--r--textproc/php4-xslt/PLIST.extras3
2 files changed, 11 insertions, 1 deletions
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
index 5c9c90f3def..325891b8137 100644
--- a/textproc/php4-xslt/Makefile
+++ b/textproc/php4-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/01/01 03:48:14 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2002/01/01 06:46:39 jlam Exp $
.include "../../www/php4/Makefile.module"
@@ -19,5 +19,12 @@ CONFIGURE_ENV+= ac_cv_lib_c_iconv_open=yes
CONFIGURE_ENV+= XSLT_SHARED_LIBADD="-liconv"
LIBS+= -liconv
+PLIST_SRC+= ${.CURDIR}/PLIST.extras
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
+
.include "../../textproc/sablotron/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/php4-xslt/PLIST.extras b/textproc/php4-xslt/PLIST.extras
new file mode 100644
index 00000000000..3e405f4ddff
--- /dev/null
+++ b/textproc/php4-xslt/PLIST.extras
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.extras,v 1.1 2002/01/01 06:47:08 jlam Exp $
+share/doc/${PKGBASE}/README.XSLT-BACKENDS
+@dirrm share/doc/${PKGBASE}