blob: 99e71a6525b867122d905dcfb8f4aaaf0d8eda0c (
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.16 2008/03/04 17:57:18 jlam Exp $
DISTNAME= milter-regex-1.6
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/
MAINTAINER= jdarrow@NetBSD.org
HOMEPAGE= http://www.benzedrine.cx/milter-regex.html
COMMENT= Milter enabling regular expression filtering
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= yacc
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
PKG_GROUPS= smmsp
PKG_USERS= smmsp:smmsp
PKG_GECOS.smmsp= Sendmail Message Submission Program
RCD_SCRIPTS= milter-regex
SUBST_CLASSES+= etc
SUBST_STAGE.etc= do-configure
SUBST_FILES.etc= milter-regex.8 milter-regex.c
SUBST_SED.etc= -e 's|/etc|${PKG_SYSCONFDIR}|g'
SUBST_CLASSES+= var
SUBST_STAGE.var= do-configure
SUBST_FILES.var= milter-regex.8 milter-regex.c
SUBST_SED.var= -e 's|/var/spool|${VARBASE}|g'
# Work arround to avoid naming clash between the source directory
# and our "rc.d" script.
post-extract:
${MV} ${WRKDIR}/${PKGBASE} ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/milter-regex.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|