2007-09-15 20:17:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/09/16 00:17:06 merdely Exp $
|
2002-12-11 10:34:55 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= Sendmail Log Analysis Report
|
2002-12-11 10:34:55 -05:00
|
|
|
|
2005-01-25 01:57:44 -05:00
|
|
|
VERSION= 1.4
|
2002-12-11 10:34:55 -05:00
|
|
|
DISTNAME= sma-${VERSION}
|
2007-03-15 07:30:07 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2002-12-11 10:34:55 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.klake.org/sma/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-01-02 07:56:04 -05:00
|
|
|
WANTLIB= c
|
2002-12-11 10:34:55 -05:00
|
|
|
|
|
|
|
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>
|