Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 08:50:02 GMT
From:      David Yeske <dyeske@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124126: devel/tclxml update docs
Message-ID:  <200805300850.m4U8o2QM053878@www.freebsd.org>
Resent-Message-ID: <200805300900.m4U90ArI029486@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124126
>Category:       ports
>Synopsis:       devel/tclxml update docs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 30 09:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        HEAD
>Organization:
>Environment:
FreeBSD speed 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed May 28 05:06:31 EDT 2008     dyeske@speed:/usr/obj/usr/src/sys/SPEED  amd64

>Description:
update port so it respects NOPORTDOCS
>How-To-Repeat:

>Fix:
see attachment

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/tclxml/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	5 May 2008 14:54:25 -0000	1.10
+++ Makefile	30 May 2008 08:36:06 -0000
@@ -16,6 +16,9 @@
 
 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 @@
 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>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805300850.m4U8o2QM053878>