2004-12-22 04:43:31 +01:00
|
|
|
# New ports collection makefile for: policyd
|
|
|
|
# Date created: 19 Dec 2004
|
2005-09-16 19:58:32 +02:00
|
|
|
# Whom: Marcus Alves Grando <mnag@FreeBSD.org>
|
2004-12-22 04:43:31 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= policyd
|
|
|
|
PORTVERSION= 1.0.1
|
2005-09-11 23:45:14 +02:00
|
|
|
PORTREVISION= 2
|
2004-12-22 04:43:31 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.libspf2.org/patch/
|
2005-04-24 13:50:16 +02:00
|
|
|
PKGNAMEPREFIX= postfix-
|
|
|
|
PKGNAMESUFFIX= -spf
|
2004-12-22 04:43:31 +01:00
|
|
|
|
2005-09-16 19:58:32 +02:00
|
|
|
MAINTAINER= mnag@FreeBSD.org
|
2004-12-22 04:43:31 +01:00
|
|
|
COMMENT= Implements SPF for postfix, as a policy daemon
|
|
|
|
|
2005-09-11 23:45:14 +02:00
|
|
|
LIB_DEPENDS= spf2.1:${PORTSDIR}/mail/libspf2-10
|
2004-12-22 04:43:31 +01:00
|
|
|
|
2005-04-24 13:50:16 +02:00
|
|
|
CONFLICTS= policyd-1.*
|
|
|
|
|
2004-12-22 04:43:31 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
GNU_CONFIGURE= yes
|
2004-12-22 22:11:22 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
2004-12-22 04:43:31 +01:00
|
|
|
|
2005-04-24 13:50:16 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
PLIST_FILES= sbin/postfix-policyd-spf
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
2005-01-14 02:45:53 +01:00
|
|
|
|
2004-12-22 04:43:31 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-04-24 13:50:16 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-12-22 04:43:31 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
2005-04-24 13:50:16 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-12-22 04:43:31 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|