1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/mail/sma/Makefile
Dmitry Marakasov 357df036a7 - Switch to options helpers
Approved by:	portmgr blanket
2015-09-20 19:21:30 +00:00

40 lines
905 B
Makefile

# $FreeBSD$
PORTNAME= sma
PORTVERSION= 1.4
CATEGORIES= mail
MASTER_SITES= LOCAL/dinoex \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Program that analyses Sendmail log entries
ALL_TARGET= sma
SAMPLEFILES= sma.conf
DOCSFILES= BUGS COPYRIGHT HISTORY README TODO
OPTIONS_DEFINE= DOCS EXAMPLES
do-configure:
${REINPLACE_CMD} -e "s,CC =,CC?= ," \
-e "s,CFLAGS = -Wall -O,CFLAGS+= ," \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sma ${STAGEDIR}${PREFIX}/bin/sma
${INSTALL_MAN} ${WRKSRC}/sma.8 ${STAGEDIR}${PREFIX}/man/man8/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${SAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EXAMPLESDIR}/
.endfor
.include <bsd.port.mk>