aboutsummaryrefslogtreecommitdiff
path: root/mail/getmail
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-08-25 18:55:36 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-08-25 18:55:36 +0000
commitbb7b105aa7b62a32df74cb76e9c86bf46f6d7223 (patch)
treeaffc5c97372d5a4ec063bf114a8fb375e6f0cbec /mail/getmail
parentc788452a6fdfac5ff4f7fc37f5125a20acc9f0e5 (diff)
downloadports-bb7b105aa7b62a32df74cb76e9c86bf46f6d7223.tar.gz
ports-bb7b105aa7b62a32df74cb76e9c86bf46f6d7223.zip
Notes
Diffstat (limited to 'mail/getmail')
-rw-r--r--mail/getmail/Makefile9
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