diff options
author | leeym <leeym@FreeBSD.org> | 2004-11-12 02:17:48 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-11-12 02:17:48 +0800 |
commit | 4846a2b1b1ff368c5065c9b27e9826c97506c624 (patch) | |
tree | f4f77714e52fd94b689c37c9c2d6ea45256f5235 /textproc/xmlada | |
parent | 03323c0dee1fb75a30885e8acc68b58e359f9b2a (diff) | |
download | freebsd-ports-gnome-4846a2b1b1ff368c5065c9b27e9826c97506c624.tar.gz freebsd-ports-gnome-4846a2b1b1ff368c5065c9b27e9826c97506c624.tar.zst freebsd-ports-gnome-4846a2b1b1ff368c5065c9b27e9826c97506c624.zip |
- utilize PORTDOCS and INFO
PR: 73264
Submitted by: leeym
Approved by: maintainer timeout
Diffstat (limited to 'textproc/xmlada')
-rw-r--r-- | textproc/xmlada/Makefile | 10 | ||||
-rw-r--r-- | textproc/xmlada/pkg-plist | 14 |
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 |