Date: Wed, 29 Nov 2000 23:47:49 +0100 (CET) From: olgeni@uli.it To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23182: x11/eterm missing dependency, fix pkg-plist for NOPORTDOCS Message-ID: <200011292247.eATMlng07074@olgeni.localdomain.net>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011292247.eATMlng07074>