diff options
-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 |