Date: Sun, 12 May 2013 14:29:46 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317962 - head/mail/postgrey Message-ID: <201305121429.r4CETkaH035795@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sun May 12 14:29:46 2013 New Revision: 317962 URL: http://svnweb.freebsd.org/changeset/ports/317962 Log: - Add USES=shebangfix - Convert to new options framework - Use space for WWW line in pkg-descr - Trim Makefile headers PR: ports/178400 Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> Modified: head/mail/postgrey/Makefile (contents, props changed) head/mail/postgrey/pkg-descr (contents, props changed) Modified: head/mail/postgrey/Makefile ============================================================================== --- head/mail/postgrey/Makefile Sun May 12 14:05:52 2013 (r317961) +++ head/mail/postgrey/Makefile Sun May 12 14:29:46 2013 (r317962) @@ -1,9 +1,5 @@ -# New ports collection makefile for: postgrey -# Date created: 24 August 2004 -# Whom: Will Andrews <will@FreeBSD.org> -# +# Created by: Will Andrews <will@FreeBSD.org> # $FreeBSD$ -# PORTNAME= postgrey PORTVERSION= 1.34 @@ -41,6 +37,14 @@ USERS= ${PGY_USERNAME} GROUPS= ${PGY_GROUPNAME} MAN1= ${PORTNAME}.1 policy-test.1 postgreyreport.1 +USES= shebangfix +SHEBANG_FILES= ${WRKSRC}/postgrey + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's#/etc/main.cf#/etc/postfix/main.cf#' ${WRKSRC}/postgrey @${REINPLACE_CMD} -e 's#/etc/postfix#${PREFIX}&#' ${WRKSRC}/postgrey ${WRKSRC}/postgrey_whitelist_* @@ -61,7 +65,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i} .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif Modified: head/mail/postgrey/pkg-descr ============================================================================== --- head/mail/postgrey/pkg-descr Sun May 12 14:05:52 2013 (r317961) +++ head/mail/postgrey/pkg-descr Sun May 12 14:29:46 2013 (r317962) @@ -1,4 +1,4 @@ Postgrey is a program which implements greylisting and is designed to work with the Postfix MTA. -WWW: http://postgrey.schweikert.ch/ +WWW: http://postgrey.schweikert.ch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305121429.r4CETkaH035795>