From owner-svn-ports-head@freebsd.org Fri Sep 4 21:33:21 2015 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 695AC9CB641; Fri, 4 Sep 2015 21:33:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 419BB1212; Fri, 4 Sep 2015 21:33:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t84LXLO6068140; Fri, 4 Sep 2015 21:33:21 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t84LXK6s068137; Fri, 4 Sep 2015 21:33:20 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201509042133.t84LXK6s068137@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 4 Sep 2015 21:33:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396138 - head/mail/fetchmail 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.20 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: Fri, 04 Sep 2015 21:33:21 -0000 Author: amdmi3 Date: Fri Sep 4 21:33:19 2015 New Revision: 396138 URL: https://svnweb.freebsd.org/changeset/ports/396138 Log: - Switch to options helpers - Switch to @sample Approved by: portmgr blanket Modified: head/mail/fetchmail/Makefile head/mail/fetchmail/pkg-plist Modified: head/mail/fetchmail/Makefile ============================================================================== --- head/mail/fetchmail/Makefile Fri Sep 4 21:33:16 2015 (r396137) +++ head/mail/fetchmail/Makefile Fri Sep 4 21:33:19 2015 (r396138) @@ -97,19 +97,18 @@ post-patch: .endif post-build: - @${MAKE} -C ${WRKSRC} check + @${MAKE_CMD} -C ${WRKSRC} check post-install: -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_DATA} ${FILESDIR}/fetchmailrc.sample \ + ${STAGEDIR}${PREFIX}/etc/fetchmailrc.sample + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.if empty(PORT_OPTIONS:MX11) +post-install-X11-off: ${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf.py ${STAGEDIR}${PREFIX}/libexec -.endif - ${INSTALL} ${FILESDIR}/fetchmailrc.sample \ - ${STAGEDIR}${PREFIX}/etc/fetchmailrc.sample .include Modified: head/mail/fetchmail/pkg-plist ============================================================================== --- head/mail/fetchmail/pkg-plist Fri Sep 4 21:33:16 2015 (r396137) +++ head/mail/fetchmail/pkg-plist Fri Sep 4 21:33:19 2015 (r396138) @@ -30,6 +30,4 @@ man/man1/fetchmailconf.1.gz %%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.py %%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.pyc %%X11%%%%PYTHON_SITELIBDIR%%/fetchmailconf.pyo -@unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi -etc/fetchmailrc.sample -@exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi +@sample etc/fetchmailrc.sample