1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/mail/sentinel/Makefile
2002-10-21 22:09:24 +00:00

39 lines
951 B
Makefile

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