1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/mail/sccmilter/Makefile
Jason Helfman 339d81c020 - remove invalid post-deinstall target
- drop unused use_rc_subr

PR:	ports/166072
Submitted by:	jgh@
Approved by:	maintainer, citycat4@ngs.ru
Feature safe:	yes
2012-03-14 18:07:49 +00:00

58 lines
1.3 KiB
Makefile

# New ports collection makefile for: sccmilter
# Date created: 25 Jul 2003
# Whom: Rashid N. Achilov <shelton@granch.ru>
#
# $FreeBSD$
#
PORTNAME= sccmilter
PORTVERSION= 0.95.7
PORTREVISION= 3
CATEGORIES= mail sysutils
MASTER_SITES= http://openoffice.mirahost.ru/fileZ/ports/ \
http://citycat4.land.ru/
MAINTAINER= citycat4@ngs.ru
COMMENT= Sendmail spam control and canceling filter, based on Milter API
.if !exists(/usr/lib/libmilter.a)
IGNORE= requires Sendmail 8.12; upgrade the base system
.endif
USE_BZIP2= yes
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN5= sccmilter.conf.5 scchosts.5 sccusers.5
MAN8= sccmilter.8
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --with-debug
.endif
pre-configure:
@${ECHO_MSG} ""
@${ECHO_MSG} "For debugging information support you should specify"
@${ECHO_MSG} " WITH_DEBUG=yes (press Ctrl-C here and start make WITH_DEBUG=yes)"
@${ECHO_MSG} ""
@sleep 2
post-install:
${STRIP_CMD} ${PREFIX}/libexec/sccmilter
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in CHANGES FAQ README TODO
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>