1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/sccmilter/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

67 lines
1.6 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
CATEGORIES= mail sysutils
MASTER_SITES= ftp://ftp.granch.ru/pub/kavmilter/
MAINTAINER= shelton@granch.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_GETOPT_LONG= yes
USE_RC_SUBR= yes
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
.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}
post-deinstall:
@${ECHO_MSG} ""
@${ECHO_MSG} "Do not forget delete filter description from /etc/mail/freebsd.mc"
@${ECHO_MSG} "and rebuild sendmail.cf file!"
@${ECHO_MSG} ""
.include <bsd.port.mk>