Skip site navigation (1)Skip section navigation (2)
Date:      13 Oct 2002 23:32:05 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44025: [MAINTAINER] Update mail/pymsgauth: fix example installation
Message-ID:  <20021013233205.44856.qmail@outpost.globcon.net>

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

>Number:         44025
>Category:       ports
>Synopsis:       [MAINTAINER] Update mail/pymsgauth: fix example installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 13 16:40:02 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:
- 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:
>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?20021013233205.44856.qmail>