summaryrefslogtreecommitdiff
path: root/mail/offlineimap
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2010-08-08 20:43:54 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2010-08-08 20:43:54 +0000
commitf2d5da124ba4a654c16a1dc548d9dd63bd73fc95 (patch)
tree1aa5ffeb37d377e30a9da86a01e259c73e1aca12 /mail/offlineimap
parentAs previously advertised, remove the old libassuan port now that all (diff)
Use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142769 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=258953
Diffstat (limited to 'mail/offlineimap')
-rw-r--r--mail/offlineimap/Makefile5
-rw-r--r--mail/offlineimap/files/pkg-message.in (renamed from mail/offlineimap/pkg-message)0
2 files changed, 2 insertions, 3 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile
index 2e0bc185e218..46b743bed261 100644
--- a/mail/offlineimap/Makefile
+++ b/mail/offlineimap/Makefile
@@ -18,11 +18,12 @@ COMMENT= Powerful IMAP/Maildir synchronization and reader support
.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 @@ post-install:
.endif
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
- @${SED} -e 's!%%EXAMPLESDIR%%!${EXAMPLESDIR}!' \
- ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/mail/offlineimap/pkg-message b/mail/offlineimap/files/pkg-message.in
index ee7feab2131c..ee7feab2131c 100644
--- a/mail/offlineimap/pkg-message
+++ b/mail/offlineimap/files/pkg-message.in