Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 18:59:22 +0300 (EEST)
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Braun <obraun@FreeBSD.org>
Subject:   ports/44412: [MAINTAINER UPDATE] converters/enca: Add support for NOPORTDOCS
Message-ID:  <200210231559.g9NFxMTK044254@kurush.osdn.org.ua>

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

>Number:         44412
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] converters/enca: Add support for NOPORTDOCS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 23 09:00:20 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexandr Kovalenko
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Self-employed
>Environment:
System: FreeBSD kurush.osdn.org.ua 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Tue Oct 15 17:18:12 EEST 2002 root@kurush.osdn.org.ua:/usr/obj/usr/src/sys/kurush i386

>Description:
	- Add support for NOPORTDOCS

	Requested by: Oliver Braun <obraun@FreeBSD.org>
>How-To-Repeat:
N/A
>Fix:

diff -ruN enca/Makefile enca-devel/Makefile
--- enca/Makefile	Wed Oct 23 17:24:54 2002
+++ enca-devel/Makefile	Wed Oct 23 18:55:36 2002
@@ -17,6 +17,7 @@
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
+USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc/enca \
 		--without-librecode \
@@ -26,5 +27,10 @@
 
 MAN1=	enca.1
 MLINKS=	enca.1 enconv.1
+
+post-patch::
+.if defined(NOPORTDOCS)
+	@${REINPLACE_CMD} -e 's#\ devel-docs##g' ${WRKSRC}/Makefile.in
+.endif
 
 .include <bsd.port.mk>
diff -ruN enca/pkg-plist enca-devel/pkg-plist
--- enca/pkg-plist	Wed Oct 23 17:18:19 2002
+++ enca-devel/pkg-plist	Wed Oct 23 18:37:37 2002
@@ -8,12 +8,12 @@
 lib/libenca.a
 lib/libenca.so
 lib/libenca.so.2
-share/doc/enca/libenca/c4.html
-share/doc/enca/libenca/index.html
-share/doc/enca/libenca/index.sgml
-share/doc/enca/libenca/libenca-analyser.html
-share/doc/enca/libenca/libenca-auxiliary-functions.html
-share/doc/enca/libenca/libenca-charsets-and-surfaces.html
-share/doc/enca/libenca/libenca-typedefs-and-constants.html
-@dirrm share/doc/enca/libenca
-@dirrm share/doc/enca
+%%PORTDOCS%%share/doc/enca/libenca/c4.html
+%%PORTDOCS%%share/doc/enca/libenca/index.html
+%%PORTDOCS%%share/doc/enca/libenca/index.sgml
+%%PORTDOCS%%share/doc/enca/libenca/libenca-analyser.html
+%%PORTDOCS%%share/doc/enca/libenca/libenca-auxiliary-functions.html
+%%PORTDOCS%%share/doc/enca/libenca/libenca-charsets-and-surfaces.html
+%%PORTDOCS%%share/doc/enca/libenca/libenca-typedefs-and-constants.html
+%%PORTDOCS%%@dirrm share/doc/enca/libenca
+%%PORTDOCS%%@dirrm share/doc/enca
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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