From owner-freebsd-ports Wed Feb 16 15:30:40 2000 Delivered-To: freebsd-ports@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 0AFCF37B595 for ; Wed, 16 Feb 2000 15:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 06D06132E9 for ; Wed, 16 Feb 2000 15:29:26 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA96828; Wed, 16 Feb 2000 15:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 47BD937B538 for ; Wed, 16 Feb 2000 11:08:54 -0800 (PST) (envelope-from spidey@anarcat.dyndns.org) Received: from anarcat.dyndns.org (phobos.IRO.UMontreal.CA [132.204.20.20]) by builder.freebsd.org (Postfix) with ESMTP id BBD86132E8 for ; Wed, 16 Feb 2000 11:08:14 -0800 (PST) Received: by anarcat.dyndns.org (Postfix, from userid 1000) id E24751BF3; Wed, 16 Feb 2000 14:08:39 -0500 (EST) Message-Id: <20000216190839.E24751BF3@anarcat.dyndns.org> Date: Wed, 16 Feb 2000 14:08:39 -0500 (EST) From: anarcat@anarcat.dyndns.org Reply-To: beaupran@iro.umontreal.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16753: Install portfix html doc with port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16753 >Category: ports >Synopsis: Install portfix html doc with port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 16 15:30:03 PST 2000 >Closed-Date: >Last-Modified: >Originator: Anarcat >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: Recent ports collection (2000.02.10). >Description: The HTML documentation of the postfix MTA is not installed with the port by default. It's a good documentation, essential to understand the working principles of Postfix, and I think it should be installed. >How-To-Repeat: cd ${PORTSDIR}/mail/postfix && make install >Fix: I decided to make the html install in ${PREFIX}/share/doc/postfix (as dicted by hier(7)). 1 patch to the makefile to hack the already specified do-install, and 1 patch to the PLIST to take into account the new files installed. --- Makefile.orig Wed Feb 16 00:49:21 2000 +++ Makefile Wed Feb 16 13:56:57 2000 @@ -49,6 +49,8 @@ SHAREMODE= 0644 +PDOC= ${PREFIX}/share/doc/postfix + do-install: @${MKDIR} -m 755 ${PREFIX}/etc/postfix @${CHOWN} root:wheel ${PREFIX}/etc/postfix @@ -93,6 +95,12 @@ ${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man8/$$f \ ${PREFIX}/man/man8/$$f ;\ done + + ${INSTALL} -d -m 555 -o ${DOCOWN} -f ${DOCGRP} ${PDOC} + cd ${WRKSRC} && ${INSTALL_DATA} \ + html/*.html html/*.gif ${PDOC} && \ + echo "Installed documentation in ${PDOC}" + @${MKDIR} -m 0755 /var/spool/postfix @if [ ! -e ${PREFIX}/etc/postfix/main.cf ]; then \ ${CP} -p ${PREFIX}/etc/postfix/sample-main.cf \ --- pkg/PLIST.orig Wed Feb 16 13:42:01 2000 +++ pkg/PLIST Wed Feb 16 13:59:31 2000 @@ -45,5 +45,58 @@ sbin/sendmail sbin/smtp-sink sbin/smtp-source +share/doc/postfix/access.5.html +share/doc/postfix/aliases.5.html +share/doc/postfix/architecture.html +share/doc/postfix/backstage.html +share/doc/postfix/basic.html +share/doc/postfix/big-picture.gif +share/doc/postfix/big-picture.html +share/doc/postfix/bounce.8.html +share/doc/postfix/canonical.5.html +share/doc/postfix/cleanup.8.html +share/doc/postfix/commands.html +share/doc/postfix/defer.8.html +share/doc/postfix/delivering.html +share/doc/postfix/error.8.html +share/doc/postfix/faq.html +share/doc/postfix/goals.html +share/doc/postfix/inbound.gif +share/doc/postfix/index.html +share/doc/postfix/local.8.html +share/doc/postfix/mailq.1.html +share/doc/postfix/master.8.html +share/doc/postfix/motivation.html +share/doc/postfix/newaliases.1.html +share/doc/postfix/outbound.gif +share/doc/postfix/pickup.8.html +share/doc/postfix/pipe.8.html +share/doc/postfix/postalias.1.html +share/doc/postfix/postcat.1.html +share/doc/postfix/postconf.1.html +share/doc/postfix/postdrop.1.html +share/doc/postfix/postfix.1.html +share/doc/postfix/postkick.1.html +share/doc/postfix/postlock.1.html +share/doc/postfix/postlog.1.html +share/doc/postfix/postmap.1.html +share/doc/postfix/postsuper.1.html +share/doc/postfix/qmgr.8.html +share/doc/postfix/queuing.html +share/doc/postfix/rate.html +share/doc/postfix/receiving.html +share/doc/postfix/relocated.5.html +share/doc/postfix/resource.html +share/doc/postfix/rewrite.html +share/doc/postfix/security.html +share/doc/postfix/sendmail.1.html +share/doc/postfix/showq.8.html +share/doc/postfix/small-picture.gif +share/doc/postfix/smtp.8.html +share/doc/postfix/smtpd.8.html +share/doc/postfix/transport.5.html +share/doc/postfix/trivial-rewrite.8.html +share/doc/postfix/uce.html +share/doc/postfix/virtual.5.html @exec mkdir -p -m 0755 /var/spool/postfix @exec chown root:wheel /var/spool/postfix >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message