From owner-svn-ports-head@FreeBSD.ORG Sun May 12 14:29:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 22713C77; Sun, 12 May 2013 14:29:47 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EF21BE11; Sun, 12 May 2013 14:29:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4CETkqt035797; Sun, 12 May 2013 14:29:46 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4CETkaH035795; Sun, 12 May 2013 14:29:46 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201305121429.r4CETkaH035795@svn.freebsd.org> From: Guido Falsi Date: Sun, 12 May 2013 14:29:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317962 - head/mail/postgrey X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 14:29:47 -0000 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 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 -# +# Created by: Will Andrews # $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 + 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/