ports/142769: [PATCH] mail/offlineimap: use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Wed Jan 13 06:40:02 UTC 2010


>Number:         142769
>Category:       ports
>Synopsis:       [PATCH] mail/offlineimap: use $SUB_FILES to dynamically adjust pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 13 06:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (sergei at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- offlineimap-6.0.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/offlineimap/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	26 Jan 2009 14:59:34 -0000	1.30
+++ Makefile	13 Jan 2010 06:26:36 -0000
@@ -18,11 +18,12 @@
 
 .if !defined(WITHOUT_X11)
 RUN_DEPENDS=	${TKINTER}:${PORTSDIR}/x11-toolkits/py-tkinter
+
 TKINTER=	${PYTHON_SITELIBDIR}/_tkinter.so
 .endif
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
@@ -37,8 +38,6 @@
 .endif
 	@${MKDIR} ${EXAMPLESDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
-	@${SED} -e 's!%%EXAMPLESDIR%%!${EXAMPLESDIR}!' \
-		${MASTERDIR}/pkg-message > ${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	7 May 2003 17:34:42 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-###########################################################################
-# 
-# Please copy sample configuration file from 
-# %%EXAMPLESDIR%%/offlineimap.conf.minimal 
-# to ~/.offlineimaprc and edit to suit your needs.
-#
-# WARNING: if you are upgrading from pre-3.99.12 version, please be sure 
-#          to check the manual for changes in configuration file format 
-#          that are incompatible with your existing configuration.
-#
-###########################################################################
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	13 Jan 2010 06:26:36 -0000
@@ -0,0 +1,11 @@
+###########################################################################
+# 
+# Please copy sample configuration file from 
+# %%EXAMPLESDIR%%/offlineimap.conf.minimal 
+# to ~/.offlineimaprc and edit to suit your needs.
+#
+# WARNING: if you are upgrading from pre-3.99.12 version, please be sure 
+#          to check the manual for changes in configuration file format 
+#          that are incompatible with your existing configuration.
+#
+###########################################################################
--- offlineimap-6.0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list