Date: Thu, 6 Sep 2001 13:19:25 +0200 (CEST) From: Cyrille Lefevre <clefevre@citeweb.net> To: FreeBSD-gnats-submit@freebsd.org Cc: brett@peloton.radford.edu Subject: ports/30381: Updated port: textproc/latex2html (pkg-message fix) Message-ID: <200109061119.f86BJPQ28767@gits.dyndns.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> + +# 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 <bsd.port.mk> +.include <bsd.port.post.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109061119.f86BJPQ28767>