openbsd-ports/mail/sma/Makefile
grange 5ca92a71dc Initial import of sma from Jim Geovedi <jim@corebsd.or.id>.
SMA is a program that analyses mail log files and produces a nice
summary of mail activity. It works by taking its input from files
or standard input and outputting the results to standard output or
file. All error messages and debugging information are printed to
standard error.

WWW: http://www.klake.org/sma/

ok couderc@
2002-12-11 15:34:55 +00:00

36 lines
909 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/12/11 15:34:55 grange Exp $
COMMENT= "Sendmail Log Analysis Report"
VERSION= 1.3.2
DISTNAME= sma-${VERSION}
CATEGORIES= mail
HOMEPAGE= http://www.klake.org/sma/
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.klake.org/sma/dl/
NO_REGRESS= Yes
ALL_TARGET= sma
pre-patch:
@perl -pi -e 's,./sma.conf,${SYSCONFDIR}/sma.conf,g' \
${WRKSRC}/docs/sma.8 ${WRKSRC}/conf.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sma ${PREFIX}/bin/sma
${INSTALL_MAN} ${WRKSRC}/docs/sma.8 ${PREFIX}/man/man8/sma.8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sma
${INSTALL_DATA} ${WRKSRC}/sma.conf ${PREFIX}/share/examples/sma
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sma
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sma
.include <bsd.port.mk>