aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlada
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-11-11 18:17:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-11-11 18:17:48 +0000
commitc5181a7846a5d294e48d4812b778c753c25cac2e (patch)
treeb815ab888eae36dd23fcbe2efa89c981b7fbef2f /textproc/xmlada
parentd9de5588eda8fc74b92e073a356a840b2d13b9c2 (diff)
- utilize PORTDOCS and INFO
PR: 73264 Submitted by: leeym Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=121402
Diffstat (limited to 'textproc/xmlada')
-rw-r--r--textproc/xmlada/Makefile10
-rw-r--r--textproc/xmlada/pkg-plist14
2 files changed, 7 insertions, 17 deletions
diff --git a/textproc/xmlada/Makefile b/textproc/xmlada/Makefile
index f9d0e7eadf09..039ba98bf25d 100644
--- a/textproc/xmlada/Makefile
+++ b/textproc/xmlada/Makefile
@@ -23,12 +23,16 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-.if !defined(NOPORTDOCS)
+INFO= xmlada
+PORTDOCS= xml.html xml_1.html xml_2.html xml_3.html xml_4.html \
+ xml_5.html xml_6.html xml_toc.html xml_ovr.html xml_abt.html
+
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/xml.info ${PREFIX}/info/xmlada.info
- install-info ${PREFIX}/info/xmlada.info ${PREFIX}/info/dir
.endif
+ ${INSTALL_DATA} ${WRKSRC}/docs/xml.info ${PREFIX}/${INFO_PATH}/xmlada.info
+ install-info ${PREFIX}/${INFO_PATH}/xmlada.info ${PREFIX}/${INFO_PATH}/dir
.include <bsd.port.mk>
diff --git a/textproc/xmlada/pkg-plist b/textproc/xmlada/pkg-plist
index 2bb2596ec023..96b51f5d7985 100644
--- a/textproc/xmlada/pkg-plist
+++ b/textproc/xmlada/pkg-plist
@@ -291,17 +291,3 @@ lib/libxmlada_sax.so
lib/libxmlada_dom-0.7.so
lib/libxmlada_dom.a
lib/libxmlada_dom.so
-%%PORTDOCS%%share/doc/xmlada/xml.html
-%%PORTDOCS%%share/doc/xmlada/xml_1.html
-%%PORTDOCS%%share/doc/xmlada/xml_2.html
-%%PORTDOCS%%share/doc/xmlada/xml_3.html
-%%PORTDOCS%%share/doc/xmlada/xml_4.html
-%%PORTDOCS%%share/doc/xmlada/xml_5.html
-%%PORTDOCS%%share/doc/xmlada/xml_6.html
-%%PORTDOCS%%share/doc/xmlada/xml_toc.html
-%%PORTDOCS%%share/doc/xmlada/xml_ovr.html
-%%PORTDOCS%%share/doc/xmlada/xml_abt.html
-%%PORTDOCS%%@dirrm share/doc/xmlada
-%%PORTDOCS%%@unexec install-info --delete %D/info/xmlada.info %D/info/dir
-%%PORTDOCS%%info/xmlada.info
-%%PORTDOCS%%@exec install-info %D/info/xmlada.info %D/info/dir