[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: UPDATE: mail/p5-Mail-SPF-Query
From:       steven mestdagh <steven.mestdagh () esat ! kuleuven ! be>
Date:       2006-01-31 22:51:15
Message-ID: 20060131225115.GA3042 () esat ! kuleuven ! be
[Download RAW message or body]

On Tue, Jan 31, 2006 at 09:58:19AM -0500, David Hill wrote:
> This updates adds a postfix flavor which will install the postfix policy
> daemon.
> 
> - David

does it make more sense to skip the flavor stuff and just have this port
install the bundled examples?

${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Mail-SPF-Query
${INSTALL_DATA} ${WRKSRC}/examples/* \
	${PREFIX}/share/examples/p5-Mail-SPF-Query


> Index: ports/mail/p5-Mail-SPF-Query//Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/p5-Mail-SPF-Query/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 Makefile
> --- ports/mail/p5-Mail-SPF-Query//Makefile	21 Jan 2006 23:35:16 -0000	1.1.1.1
> +++ ports/mail/p5-Mail-SPF-Query//Makefile	31 Jan 2006 14:56:54 -0000
> @@ -8,6 +8,9 @@
>  
>  MAINTAINER=		David Hill <dhill@mindcry.org>
>  
> +FLAVORS=		postfix
> +FLAVOR?=
> +
>  # GPL/Artistic
>  PERMIT_PACKAGE_CDROM=	Yes
>  PERMIT_PACKAGE_FTP=	Yes
> @@ -22,6 +25,12 @@
>  			:p5-URI-*:www/p5-URI
>  
>  BUILD_DEPENDS=		${RUN_DEPENDS}
> +
> +.if ${FLAVOR:L:Mpostfix}
> +post-install:
> +	${INSTALL_DATA_DIR} ${PREFIX}/libexec
> +	${INSTALL_SCRIPT} ${WRKSRC}/examples/postfix-policyd-spf ${PREFIX}/libexec
> +.endif
>  
>  CONFIGURE_STYLE=	perl
>  
> Index: ports/mail/p5-Mail-SPF-Query//pkg/PFRAG.postfix
> ===================================================================
> RCS file: ports/mail/p5-Mail-SPF-Query//pkg/PFRAG.postfix
> diff -N ports/mail/p5-Mail-SPF-Query//pkg/PFRAG.postfix
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ ports/mail/p5-Mail-SPF-Query//pkg/PFRAG.postfix	31 Jan 2006 14:56:54 -0000
> @@ -0,0 +1 @@
> +libexec/postfix-policyd-spf
> Index: ports/mail/p5-Mail-SPF-Query//pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/mail/p5-Mail-SPF-Query/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 PLIST
> --- ports/mail/p5-Mail-SPF-Query//pkg/PLIST	21 Jan 2006 23:35:16 -0000	1.1.1.1
> +++ ports/mail/p5-Mail-SPF-Query//pkg/PLIST	31 Jan 2006 14:56:54 -0000
> @@ -4,6 +4,7 @@
>  ${P5SITE}/Mail/
>  ${P5SITE}/Mail/SPF/
>  ${P5SITE}/Mail/SPF/Query.pm
> +%%postfix%%
>  @man man/man1/spfd.1
>  @man man/man1/spfquery.1
>  @man man/man3p/Mail::SPF::Query.3p


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic