mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Add docs and configure to respect NOPORTDOCS
PR: ports/124126 Submitted by: David Yeske <dyeske@gmail.com> (maintainer)
This commit is contained in:
parent
5f2eba1251
commit
b6dbbfe765
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215745
@ -16,6 +16,9 @@ COMMENT= API for parsing XML documents using Tcl
|
||||
|
||||
RUN_DEPENDS?= dtplite:${PORTSDIR}/devel/tcllib
|
||||
|
||||
PORTDOCS= README.html html.xsl nroff.xsl tclxml.html tclxml.xml \
|
||||
README.xml man.macros tcldoc-1.0.dtd tclxml.n txt.xsl
|
||||
|
||||
USE_TCL= 82+
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG?= ${PREFIX}/lib/Tclxml${PORTVERSION}
|
||||
@ -25,4 +28,13 @@ PLIST= ${PKGDIR}${PKGNAMESUFFIX}/pkg-plist
|
||||
PATCHDIR= ${PKGDIR}${PKGNAMESUFFIX}/files/
|
||||
PLIST_SUB= VER=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-install:
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user