blob: 988e65e1781dd63d6d2155b6f7bb9ddd77c1ad26 (
plain) (
blame)
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
|
# New ports collection makefile for: sentinel
# Date created: 14 May 2002
# Whom: Peter Hollaubek <fifteen@inext.hu>
#
# $FreeBSD$
#
PORTNAME= sentinel
PORTVERSION= 1.2b
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= smfilter
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
PORTCOMMENT= Sentinel is a sendmail milter API implementation
USE_REINPLACE= yes
MAKEFILE= Makefile.FreeBSD
ALL_TARGET= sentinel
post-patch:
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin
@${MKDIR} ${PREFIX}/var/sentinel
${CHOWN} smmsp:smmsp ${PREFIX}/var/sentinel
${INSTALL_SCRIPT} ${FILESDIR}/000.sentinel.sh ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/sentinel.cf.SAMPLE ${PREFIX}/etc/sentinel.cf.dist
post-install:
@${STRIP_CMD} ${PREFIX}/sbin/sentinel
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|