diff options
author | sergei <sergei@FreeBSD.org> | 2010-08-09 04:43:54 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2010-08-09 04:43:54 +0800 |
commit | af796a4db1cb165d93c5892029bf0da79b9d7ab6 (patch) | |
tree | 0c1960725be0e62e7f729a0d4d14c50c8e576897 | |
parent | 6f2f1664cc718ea8b3a313a66f43fcc32dcd7e3a (diff) | |
download | freebsd-ports-gnome-af796a4db1cb165d93c5892029bf0da79b9d7ab6.tar.gz freebsd-ports-gnome-af796a4db1cb165d93c5892029bf0da79b9d7ab6.tar.zst freebsd-ports-gnome-af796a4db1cb165d93c5892029bf0da79b9d7ab6.zip |
Use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142769
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
-rw-r--r-- | mail/offlineimap/Makefile | 5 | ||||
-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 |