Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 14:08:39 -0500 (EST)
From:      anarcat@anarcat.dyndns.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16753: Install portfix html doc with port
Message-ID:  <20000216190839.E24751BF3@anarcat.dyndns.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000216190839.E24751BF3>