From sgk@outpost.globcon.net  Sun Oct 13 16:32:08 2002
Return-Path: <sgk@outpost.globcon.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7C24A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Oct 2002 16:32:08 -0700 (PDT)
Received: from outpost.lukarcos.com (outpost.globcon.net [62.141.88.161])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2D99A43EAC
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Oct 2002 16:32:07 -0700 (PDT)
	(envelope-from sgk@outpost.globcon.net)
Received: (qmail 44857 invoked by uid 911); 13 Oct 2002 23:32:05 -0000
Message-Id: <20021013233205.44856.qmail@outpost.globcon.net>
Date: 13 Oct 2002 23:32:05 -0000
From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] Update mail/pymsgauth: fix example installation
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44025
>Category:       ports
>Synopsis:       [MAINTAINER] Update mail/pymsgauth: fix example installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 13 16:40:02 PDT 2002
>Closed-Date:    Mon Oct 14 06:42:18 PDT 2002
>Last-Modified:  Mon Oct 14 06:42:18 PDT 2002
>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:
- Always install sample config file (i.e. even if NOPORTDOCS is defined)
- Do not install yet another copy of GPL
- Cleanup Makefile
- Sort pkg-plist
>How-To-Repeat:
>Fix:

--- pymsgauth-2.0.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/pymsgauth/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	7 Oct 2002 15:10:24 -0000	1.1
+++ Makefile	13 Oct 2002 23:28:38 -0000
@@ -17,7 +17,7 @@
 
 NO_BUILD=	yes
 
-DOCS=		BUGS CHANGELOG COPYING pymsgauth.txt pymsgauth.html
+DOCS=		BUGS CHANGELOG pymsgauth.txt pymsgauth.html
 
 post-patch:
 	${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
@@ -28,16 +28,14 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/pymsgauth-* ${PYTHON_SITELIBDIR}
 	${LN} -sf ${PYTHON_SITELIBDIR}/pymsgauth-* ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}
-
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/pymsgauthrc-example ${EXAMPLESDIR}
-
-	${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/pymsgauthrc-example ${EXAMPLESDIR}
+	@${SED} -e 's,__EXAMPLES__,${EXAMPLESDIR},' ${PKGMESSAGE}
 
-	@${CAT} ${PKGMESSAGE} | ${SED} -e 's,__EXAMPLES__,${EXAMPLESDIR},'
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/pymsgauth/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	7 Oct 2002 15:10:24 -0000	1.1
+++ pkg-plist	13 Oct 2002 23:28:38 -0000
@@ -1,14 +1,15 @@
 bin/pymsgauth-clean
 bin/pymsgauth-confirm
 bin/pymsgauth-mail
-share/doc/pymsgauth/BUGS
-share/doc/pymsgauth/CHANGELOG
-share/doc/pymsgauth/COPYING
-share/doc/pymsgauth/pymsgauth.html
-share/doc/pymsgauth/pymsgauth.txt
-share/examples/pymsgauth/pymsgauthrc-example
 %%PYTHON_SITELIBDIR%%/ConfParser.py
-%%PYTHON_SITELIBDIR%%/pymsgauth-mail
 %%PYTHON_SITELIBDIR%%/pymsgauth.py
 %%PYTHON_SITELIBDIR%%/pymsgauth-clean
 %%PYTHON_SITELIBDIR%%/pymsgauth-confirm
+%%PYTHON_SITELIBDIR%%/pymsgauth-mail
+%%PORTDOCS%%share/doc/pymsgauth/BUGS
+%%PORTDOCS%%share/doc/pymsgauth/CHANGELOG
+%%PORTDOCS%%share/doc/pymsgauth/pymsgauth.html
+%%PORTDOCS%%share/doc/pymsgauth/pymsgauth.txt
+%%PORTDOCS%%@dirrm share/doc/pymsgauth
+share/examples/pymsgauth/pymsgauthrc-example
+@dirrm share/examples/pymsgauth
--- pymsgauth-2.0.0.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Mon Oct 14 06:42:04 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44025 
>Unformatted:
