1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- utilize PORTDOCS and INFO

PR:		73264
Submitted by:	leeym
Approved by:	maintainer timeout
This commit is contained in:
Yen-Ming Lee 2004-11-11 18:17:48 +00:00
parent d9de5588ed
commit c5181a7846
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121402
2 changed files with 7 additions and 17 deletions

View File

@ -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>

View File

@ -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