2014-01-23 13:20:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2014/01/23 12:20:47 tron Exp $
|
2003-09-24 11:25:46 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= sma-1.4
|
2014-01-23 13:20:47 +01:00
|
|
|
PKGREVISION= 1
|
2003-09-24 11:25:46 +02:00
|
|
|
CATEGORIES= mail
|
2014-01-23 13:20:47 +01:00
|
|
|
#MASTER_SITES= http://www.klake.org/sma/dl/
|
2003-09-24 11:25:46 +02:00
|
|
|
|
2014-01-23 12:58:39 +01:00
|
|
|
MAINTAINER= markus@marsrakete.de
|
2014-01-23 13:20:47 +01:00
|
|
|
#HOMEPAGE= http://www.klake.org/sma/
|
2003-09-24 11:25:46 +02:00
|
|
|
COMMENT= Sendmail log analyser
|
2014-01-23 13:20:47 +01:00
|
|
|
LICENSE= modified-bsd
|
2003-09-24 11:25:46 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2003-09-24 11:25:46 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= Makefile
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= sma
|
2003-09-24 11:25:46 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2014-01-23 13:20:47 +01:00
|
|
|
.if ${OPSYS} != "IRIX"
|
2005-09-28 16:31:06 +02:00
|
|
|
CFLAGS+= -DUSE_REGEXP
|
|
|
|
.endif
|
2014-01-23 13:20:47 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/sma share/examples/sma
|
2005-01-04 16:34:23 +01:00
|
|
|
|
2003-09-24 11:25:46 +02:00
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
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
|
2003-09-24 11:25:46 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|