From owner-svn-ports-head@freebsd.org Mon Jun 26 03:24:40 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B15CDA00A7; Mon, 26 Jun 2017 03:24:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B6942F51; Mon, 26 Jun 2017 03:24:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5Q3OdHx071997; Mon, 26 Jun 2017 03:24:39 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5Q3Oc8F071995; Mon, 26 Jun 2017 03:24:38 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201706260324.v5Q3Oc8F071995@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 26 Jun 2017 03:24:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444342 - head/mail/postfix-postfwd 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.23 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: Mon, 26 Jun 2017 03:24:40 -0000 Author: sunpoet Date: Mon Jun 26 03:24:38 2017 New Revision: 444342 URL: https://svnweb.freebsd.org/changeset/ports/444342 Log: Remove Perl core modules - Add LICENSE_FILE - Add NO_ARCH - Convert to options target helper - Remove blank line in PLIST - Bump PORTREVISION for dependency change Modified: head/mail/postfix-postfwd/Makefile head/mail/postfix-postfwd/pkg-plist Modified: head/mail/postfix-postfwd/Makefile ============================================================================== --- head/mail/postfix-postfwd/Makefile Mon Jun 26 03:24:33 2017 (r444341) +++ head/mail/postfix-postfwd/Makefile Mon Jun 26 03:24:38 2017 (r444342) @@ -12,12 +12,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Postfix firewall policy daemon LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/doc/LICENSE RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS \ - p5-Net-Server>=0:net/p5-Net-Server \ - p5-Storable>=0:devel/p5-Storable \ - p5-Time-HiRes>=0:devel/p5-Time-HiRes + p5-Net-Server>=0:net/p5-Net-Server +NO_ARCH= yes SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} @@ -29,23 +29,23 @@ NO_BUILD= yes OPTIONS_DEFINE= EXAMPLES DOCS POSTFWD2 POSTFWD2_DESC= Install postfwd v2 rather than v1 -.include - do-install: -.if ${PORT_OPTIONS:MPOSTFWD2} - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} -.else - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.endif @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR} @${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR} + +do-install-POSTFWD2-on: + @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +do-install-POSTFWD2-off: + @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Modified: head/mail/postfix-postfwd/pkg-plist ============================================================================== --- head/mail/postfix-postfwd/pkg-plist Mon Jun 26 03:24:33 2017 (r444341) +++ head/mail/postfix-postfwd/pkg-plist Mon Jun 26 03:24:38 2017 (r444342) @@ -19,4 +19,3 @@ man/man8/postfwd2.8.gz %%PORTDOCS%%%%DOCSDIR%%/versions.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample %%PORTEXAMPLES%%%%EXAMPLESDIR%%/request.sample -