diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-08-25 18:55:36 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-08-25 18:55:36 +0000 |
commit | bb7b105aa7b62a32df74cb76e9c86bf46f6d7223 (patch) | |
tree | affc5c97372d5a4ec063bf114a8fb375e6f0cbec /mail/getmail | |
parent | - update to 0.61 (diff) |
General cleanup: use DOCSDIR & EXAMPLESDIR.
PR: 41864
Submitted by: Sergei Kolobov <skolobov@globcon.net>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=64991
Diffstat (limited to 'mail/getmail')
-rw-r--r-- | mail/getmail/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile index 72b5f4d07dd3..3e882c407674 100644 --- a/mail/getmail/Makefile +++ b/mail/getmail/Makefile @@ -17,6 +17,8 @@ USE_PYTHON= yes USE_REINPLACE= yes NO_BUILD= yes +DOCS= CHANGELOG docs.txt faq.txt getmail.txt + post-patch: @${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \ -e 's!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail @@ -25,12 +27,11 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} - @${MKDIR} ${PREFIX}/share/examples/getmail - ${INSTALL_DATA} ${WRKSRC}/getmailrc-example \ - ${PREFIX}/share/examples/getmail + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/getmailrc-example ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in CHANGELOG docs.txt faq.txt getmail.txt +.for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif |