mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
40 lines
780 B
Makefile
40 lines
780 B
Makefile
# New ports collection makefile for: smc-milter
|
|
# Date created: 30 March 2005
|
|
# Whom: Andrey E. Shevtsov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smc-milter
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= milter
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A non-context email filter
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libbind_r.a:${PORTSDIR}/dns/bind84
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
|
|
NOMAN=
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
BROKEN= Does not compile with GCC 4.2
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\/opt\/SMC|${PREFIX}\/etc\/smc|g' \
|
|
${WRKSRC}/smc-milter.h
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/smc-milter.sh \
|
|
${PREFIX}/etc/rc.d/smc-milter.sh.sample
|
|
|
|
.include <bsd.port.post.mk>
|