mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
168f57451a
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category M. CR: D306 Approved by: portmgr (bapt)
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Alex Dupre <ale@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qmailmrtg7
|
|
PORTVERSION= 4.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= mail net-mgmt
|
|
MASTER_SITES= http://www.inter7.com/qmailmrtg7/
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= Program to create mrtg graphs for qmail activity
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= mrtg:${PORTSDIR}/net-mgmt/mrtg
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
USES= qmail
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|cc|${CC}|g;s|-s -O|${CFLAGS}|g" ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} "s|/usr/local|${PREFIX}|g;s|/var/qmail|${QMAIL_PREFIX}|g" \
|
|
${WRKSRC}/checkq.c ${WRKSRC}/qmail.mrtg.cfg
|
|
|
|
do-install:
|
|
${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>
|