From owner-freebsd-ports Thu Sep 6 4:20:12 2001 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 D800237B405 for ; Thu, 6 Sep 2001 04:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f86BK1958787; Thu, 6 Sep 2001 04:20:01 -0700 (PDT) (envelope-from gnats) Received: from smtp.noos.fr (verlaine.noos.net [212.198.2.73]) by hub.freebsd.org (Postfix) with ESMTP id E737D37B405 for ; Thu, 6 Sep 2001 04:19:27 -0700 (PDT) Received: (qmail 15522014 invoked by uid 0); 6 Sep 2001 11:19:26 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 6 Sep 2001 11:19:26 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f86BJPQ28767; Thu, 6 Sep 2001 13:19:25 +0200 (CEST) (envelope-from root) Message-Id: <200109061119.f86BJPQ28767@gits.dyndns.org> Date: Thu, 6 Sep 2001 13:19:25 +0200 (CEST) From: Cyrille Lefevre Reply-To: Cyrille Lefevre To: FreeBSD-gnats-submit@freebsd.org Cc: brett@peloton.radford.edu X-Send-Pr-Version: 3.113 Subject: ports/30381: Updated port: textproc/latex2html (pkg-message fix) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30381 >Category: ports >Synopsis: Updated port: textproc/latex2html (pkg-message fix) >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: Thu Sep 06 04:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.4-RC i386 >Organization: ACME >Environment: System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #29: Sat Aug 25 14:49:20 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: Makefile targets reworked a lot make pkg-message display the right prefix. ${PREFIX}/share/doc/${PORTNAME} changed to ${DOCSDIR}. pkg-message indented to be more readable. Maintainer CC'ed. >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/latex2html/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 2001/07/10 13:54:21 1.19 +++ Makefile 2001/09/06 11:13:59 @@ -14,6 +14,11 @@ MAINTAINER= brett@peloton.runet.edu +.include + +# Global variables +# + BUILD_DEPENDS= ${LOCALBASE}/bin/latex:${PORTSDIR}/print/teTeX \ ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript55 \ ${LOCALBASE}/bin/anytopnm:${PORTSDIR}/graphics/netpbm @@ -24,14 +29,37 @@ CONFIGURE_ARGS= --with-perl=${PERL} \ --disable-gif \ --libdir=${DATADIR} + +MSG_FILE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +# Local variables +# + +DOC_FILES= FAQ INSTALL LICENSE README + +# Port-patch +# -post-install: +post-patch: patch-message + +patch-message: + @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} + +# Post-install +# + +post-install: install-docs display-message + +install-docs: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} -.for file in FAQ INSTALL LICENSE README - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif + +display-message: @${CAT} ${PKGMESSAGE} -.include +.include Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/textproc/latex2html/pkg-message,v retrieving revision 1.1 diff -u -r1.1 pkg-message --- pkg-message 2000/12/11 16:44:38 1.1 +++ pkg-message 2001/09/06 11:11:19 @@ -1,3 +1,3 @@ -Individual user configurations can be accomplished by placing a copy of -/usr/local/share/latex2html/dot.latex2html-init in the user's home -directory and editing to preference. +**** Individual user configurations can be accomplished by placing a copy + of %%PREFIX%%/share/latex2html/dot.latex2html-init in the user's home + directory and editing to preference. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message