blob: ccf1733a4d6bd9c331dc2361a3f772a2a32dd12e (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.3 2007/04/18 15:36:18 joerg Exp $
#
DISTNAME= spamdyke-2.4.0
CATEGORIES= mail
MASTER_SITES= http://freesoftware.silence.org/spamdyke/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://freesoftware.silence.org/spamdyke/
COMMENT= Monitors and intercept incoming SMTP connections to qmail
BUILD_DIRS= ${PKGBASE} utils
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${PKGBASE}/spamdyke.c
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX:Q},g'
SUBST_STAGE.paths= do-configure
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly"
BUILD_TARGET= openbsd
.endif
do-install:
cd ${WRKSRC}/${PKGBASE}; \
for f in spamdyke; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/utils; \
for f in dnsmx dnsptr dnstxt; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/spamdyke-$${f}; \
done; \
for f in domain2path domainsplit; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/documentation; \
for f in *.txt; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \
done
.include "../../mk/bsd.pkg.mk"
|