summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-01-23 12:20:47 +0000
committertron <tron@pkgsrc.org>2014-01-23 12:20:47 +0000
commit48cda807c4214253f2672623d48715687d8d004b (patch)
tree96167c9cb50b6b038a57a9e12b91824d9af62b95 /mail
parenta96a3c5d1b4de22d29d16af127344528b16a3028 (diff)
downloadpkgsrc-48cda807c4214253f2672623d48715687d8d004b.tar.gz
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/sma/Makefile14
-rw-r--r--mail/sma/distinfo4
-rw-r--r--mail/sma/patches/patch-aa4
3 files changed, 12 insertions, 10 deletions
diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index a97e2e259f4..822c455f980 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.16 2014/01/23 11:58:39 tron Exp $
+# $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/
+#MASTER_SITES= http://www.klake.org/sma/dl/
MAINTAINER= markus@marsrakete.de
-HOMEPAGE= http://www.klake.org/sma/
+#HOMEPAGE= http://www.klake.org/sma/
COMMENT= Sendmail log analyser
+LICENSE= modified-bsd
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
NO_CONFIGURE= yes
@@ -16,18 +18,16 @@ BUILD_TARGET= sma
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "IRIX"
+.if ${OPSYS} != "IRIX"
CFLAGS+= -DUSE_REGEXP
.endif
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
+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_DIR} ${DESTDIR}${PREFIX}/share/doc/sma; \
${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/sma; \
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sma; \
${INSTALL_DATA} sma.conf ${DESTDIR}${PREFIX}/share/examples/sma
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/sma/distinfo b/mail/sma/distinfo
index 3200f2f529d..794b945fe3c 100644
--- a/mail/sma/distinfo
+++ b/mail/sma/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/11/14 12:31:30 obache Exp $
+$NetBSD: distinfo,v 1.5 2014/01/23 12:20:47 tron Exp $
SHA1 (sma-1.4.tar.gz) = ee4acb57ed7cde85e732e689756d900ed398a2ba
RMD160 (sma-1.4.tar.gz) = ce643df84f054216c3a6de5e6cea57b30b0b8f0a
Size (sma-1.4.tar.gz) = 121365 bytes
-SHA1 (patch-aa) = c1f7a646e7b0ebe9b22c8bd91e41d80487703040
+SHA1 (patch-aa) = f74dd8cca5e92db58bd10ee605cc9f22bf5bb1f3
diff --git a/mail/sma/patches/patch-aa b/mail/sma/patches/patch-aa
index 875e69099a8..299d6d9fb49 100644
--- a/mail/sma/patches/patch-aa
+++ b/mail/sma/patches/patch-aa
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2005/01/04 15:34:23 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2014/01/23 12:20:47 tron Exp $
+
+Fix build under IRIX. See PR pkg/28818.
--- Makefile.orig 2002-11-14 18:09:54.000000000 +0100
+++ Makefile