Date: 16 Sep 2002 08:46:01 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Alan Eldridge <ports@geeksrus.net> Subject: ports/42824: [PATCH] mail/archivemail: install examples and documentation Message-ID: <20020916084601.33499.qmail@outpost.globcon.net>
next in thread | raw e-mail | index | archive | help
>Number: 42824 >Category: ports >Synopsis: [PATCH] mail/archivemail: install examples and documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 02:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386 >Description: Change mail/archivemail port to install examples and documentation: - Install examples and documentation - Respect NOPORTDOCS >How-To-Repeat: >Fix: --- archivemail-0.5.0.patch begins here --- diff -urN /usr/ports/mail/archivemail/Makefile /home/sgk/ports/mail/archivemail/Makefile --- /usr/ports/mail/archivemail/Makefile Mon Sep 16 04:08:44 2002 +++ /home/sgk/ports/mail/archivemail/Makefile Mon Sep 16 01:36:50 2002 @@ -17,5 +17,17 @@ USE_PYDISTUTILS=yes MAN1= archivemail.1 +DOCS= CHANGELOG FAQ README TODO + +post-install: + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff -urN /usr/ports/mail/archivemail/pkg-plist /home/sgk/ports/mail/archivemail/pkg-plist --- /usr/ports/mail/archivemail/pkg-plist Sun May 19 23:46:43 2002 +++ /home/sgk/ports/mail/archivemail/pkg-plist Mon Sep 16 01:44:44 2002 @@ -1 +1,9 @@ bin/archivemail +%%PORTDOCS%%share/doc/archivemail/CHANGELOG +%%PORTDOCS%%share/doc/archivemail/FAQ +%%PORTDOCS%%share/doc/archivemail/README +%%PORTDOCS%%share/doc/archivemail/TODO +%%PORTDOCS%%@dirrm share/doc/archivemail +share/examples/archivemail/archivemail_all +share/examples/archivemail/test_archivemail.py +@dirrm share/examples/archivemail --- archivemail-0.5.0.patch ends here --- >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?20020916084601.33499.qmail>