diff options
author | petef <petef@FreeBSD.org> | 2002-08-26 02:55:36 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-08-26 02:55:36 +0800 |
commit | 6b286c2e2f4657ac6bff3e22b115851580a8b89a (patch) | |
tree | 9f4659059386359546450357318670a5e8de3290 /mail | |
parent | ce1a161f80a16a7813fb167984d60b99596aee19 (diff) | |
download | freebsd-ports-gnome-6b286c2e2f4657ac6bff3e22b115851580a8b89a.tar.gz freebsd-ports-gnome-6b286c2e2f4657ac6bff3e22b115851580a8b89a.tar.zst freebsd-ports-gnome-6b286c2e2f4657ac6bff3e22b115851580a8b89a.zip |
General cleanup: use DOCSDIR & EXAMPLESDIR.
PR: 41864
Submitted by: Sergei Kolobov <skolobov@globcon.net>
Approved by: maintainer
Diffstat (limited to 'mail')
-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 |