From owner-freebsd-ports Wed Nov 29 14:50:17 2000 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DC33937B401 for ; Wed, 29 Nov 2000 14:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eATMo1C75378; Wed, 29 Nov 2000 14:50:01 -0800 (PST) (envelope-from gnats) Received: from vega.uli.it (vega.uli.it [62.212.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 095A537B401 for ; Wed, 29 Nov 2000 14:47:19 -0800 (PST) Received: from olgeni.localdomain.net (olgeni.uli.it [62.212.0.22]) by vega.uli.it (Postfix) with ESMTP id 97A953B005 for ; Wed, 29 Nov 2000 23:47:16 +0100 (CET) Received: (from olgeni@localhost) by olgeni.localdomain.net (8.11.1/8.11.1) id eATMlng07074; Wed, 29 Nov 2000 23:47:49 +0100 (CET) (envelope-from olgeni) Message-Id: <200011292247.eATMlng07074@olgeni.localdomain.net> Date: Wed, 29 Nov 2000 23:47:49 +0100 (CET) From: olgeni@uli.it Reply-To: olgeni@uli.it To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23182: x11/eterm missing dependency, fix pkg-plist for NOPORTDOCS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23182 >Category: ports >Synopsis: x11/eterm missing dependency, fix pkg-plist for NOPORTDOCS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 29 14:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 4.2-STABLE i386 >Organization: Colby >Environment: FreeBSD olgeni.localdomain.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Nov 28 03:14:12 CET 2000 root@olgeni.localdomain.net:/usr/obj/usr/src/sys/BSDBOX i386 >Description: The current x11/eterm port is missing a dependency on textproc/man2html: it looks for it while building Eterm.1.html, which should go in ${PREFIX}/share/doc/Eterm. This has already been fixed in japanese/eterm (ports/20568). Maintainer notified on 23 Nov 2000 about man2html. But this is better since it handles NOPORTDOCS :-) Makefile: * Bump PORTREVISION * Add BUILD_DEPENDS: textproc/man2html * Add NOPORTDOCS hint in PLIST_SUB post-install: * Install Eterm.1.html too pkg-plist: * Add share/doc/Eterm/Eterm.1.html * Support %%NOPORTDOCS%% >How-To-Repeat: >Fix: diff -ruN eterm.orig/Makefile eterm/Makefile --- eterm.orig/Makefile Sun Oct 8 08:53:30 2000 +++ eterm/Makefile Wed Nov 29 23:39:52 2000 @@ -7,6 +7,7 @@ PORTNAME= eterm PORTVERSION= 0.8.10 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= ftp://eterm.sourceforge.net/pub/eterm/ \ ftp://ftp.enlightenment.org/pub/enlightenment/Eterm/ \ @@ -18,6 +19,8 @@ MAINTAINER= murray@FreeBSD.org +BUILD_DEPENDS= man2html:${PORTSDIR}/textproc/man2html + USE_GMAKE= yes USE_X_PREFIX= yes USE_IMLIB= yes @@ -31,6 +34,12 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-kanji .endif +.if defined(NOPORTDOCS) +NODOCS= "@comment " +.endif + +PLIST_SUB= NOPORTDOCS=${NODOCS} + # this is needed to remove leftover files from applied patches. pre-install: .for i in Eterm emacs irc mutt tn3270 trans @@ -44,6 +53,7 @@ @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/doc/Eterm @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/doc/Eterm + @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.1.html ${PREFIX}/share/doc/Eterm .endif .include diff -ruN eterm.orig/pkg-plist eterm/pkg-plist --- eterm.orig/pkg-plist Sun Sep 17 14:34:31 2000 +++ eterm/pkg-plist Wed Nov 29 23:37:50 2000 @@ -41,17 +41,18 @@ share/Eterm/themes/trans/MAIN share/Eterm/themes/trans/pixmaps.list share/Eterm/themes/trans/trans.menu -share/doc/Eterm/Eterm.tcap -share/doc/Eterm/Eterm.ti -share/doc/Eterm/ReleaseNotes -@dirrm share/doc/Eterm -@dirrm share/Eterm/themes/Eterm -@dirrm share/Eterm/themes/chooser -@dirrm share/Eterm/themes/emacs -@dirrm share/Eterm/themes/irc -@dirrm share/Eterm/themes/mutt -@dirrm share/Eterm/themes/tn3270 +%%NOPORTDOCS%%share/doc/Eterm/Eterm.1.html +%%NOPORTDOCS%%share/doc/Eterm/Eterm.tcap +%%NOPORTDOCS%%share/doc/Eterm/Eterm.ti +%%NOPORTDOCS%%share/doc/Eterm/ReleaseNotes @dirrm share/Eterm/themes/trans -@dirrm share/Eterm/themes +@dirrm share/Eterm/themes/tn3270 +@dirrm share/Eterm/themes/mutt +@dirrm share/Eterm/themes/irc +@dirrm share/Eterm/themes/emacs +@dirrm share/Eterm/themes/chooser +@dirrm share/Eterm/themes/Eterm @dirrm share/Eterm/pix +@dirrm share/Eterm/themes +%%NOPORTDOCS%%@dirrm share/doc/Eterm @dirrm share/Eterm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message