aboutsummaryrefslogtreecommitdiff
path: root/mail/qmailmrtg7
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2014-05-12 15:59:35 +0000
committerAlex Dupre <ale@FreeBSD.org>2014-05-12 15:59:35 +0000
commitcad9b2eb03f6554439aca31c8ad8af187ce62104 (patch)
treee0457121297a5255ba9c9674b2d89d0ea39dc27a /mail/qmailmrtg7
parente38d4f8b9baf61fe0c28f31b47207e53fbdb4f4a (diff)
downloadports-cad9b2eb03f6554439aca31c8ad8af187ce62104.tar.gz
ports-cad9b2eb03f6554439aca31c8ad8af187ce62104.zip
Notes
Diffstat (limited to 'mail/qmailmrtg7')
-rw-r--r--mail/qmailmrtg7/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/mail/qmailmrtg7/Makefile b/mail/qmailmrtg7/Makefile
index 677d8aa16736..b0ec7e838862 100644
--- a/mail/qmailmrtg7/Makefile
+++ b/mail/qmailmrtg7/Makefile
@@ -10,11 +10,14 @@ MASTER_SITES= http://www.inter7.com/qmailmrtg7/
MAINTAINER= ale@FreeBSD.org
COMMENT= A program to create mrtg graphs for qmail activity
+LICENSE= GPLv2
+
RUN_DEPENDS= mrtg:${PORTSDIR}/net-mgmt/mrtg
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USES= qmail
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@@ -23,14 +26,12 @@ post-patch:
${WRKSRC}/checkq.c ${WRKSRC}/qmail.mrtg.cfg
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qmailmrtg7 ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/qmail.mrtg.cfg ${PREFIX}/etc/qmail.mrtg.cfg.sample
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/index.html ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/qmailmrtg7 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/qmail.mrtg.cfg ${STAGEDIR}${PREFIX}/etc/qmail.mrtg.cfg.sample
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>