pkgsrc/mail/sma/Makefile
tron 970eda9354 Packaging improvements:
- Comment out master site and home page URL as they don't work anymore.
- Define a license.
- Fix "pkglint warnings.
- Fix build on IRIX by correcting the mistake in the fix for PR pkg/28818.

Bump package revision because binary changed.
2014-01-23 12:20:47 +00:00

33 lines
846 B
Makefile

# $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"