summaryrefslogtreecommitdiff
path: root/mail/sma/Makefile
blob: 822c455f980ed80636a088b494e3badc5867f42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.17 2014/01/23 12:20:47 tron Exp $

DISTNAME=	sma-1.4
PKGREVISION=	1
CATEGORIES=	mail
#MASTER_SITES=	http://www.klake.org/sma/dl/

MAINTAINER=	markus@marsrakete.de
#HOMEPAGE=	http://www.klake.org/sma/
COMMENT=	Sendmail log analyser
LICENSE=	modified-bsd

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
NO_CONFIGURE=	yes

MAKE_FILE=	Makefile
BUILD_TARGET=	sma

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "IRIX"
CFLAGS+=	-DUSE_REGEXP
.endif
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man8 share/doc/sma share/examples/sma

do-install:
	cd ${WRKSRC};							\
	${INSTALL_PROGRAM} sma ${DESTDIR}${PREFIX}/bin;			\
	${INSTALL_MAN} docs/sma.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8;\
	${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/sma;	\
	${INSTALL_DATA} sma.conf ${DESTDIR}${PREFIX}/share/examples/sma

.include "../../mk/bsd.pkg.mk"