From owner-svn-ports-all@FreeBSD.ORG Mon May 27 11:14:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E3597E4C; Mon, 27 May 2013 11:14:56 +0000 (UTC) (envelope-from bsam@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 D5795924; Mon, 27 May 2013 11:14:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RBEuF2059200; Mon, 27 May 2013 11:14:56 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RBEu7d059199; Mon, 27 May 2013 11:14:56 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305271114.r4RBEu7d059199@svn.freebsd.org> From: Boris Samorodov Date: Mon, 27 May 2013 11:14:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319209 - head/sysutils/ledit X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 11:14:57 -0000 Author: bsam Date: Mon May 27 11:14:56 2013 New Revision: 319209 URL: http://svnweb.freebsd.org/changeset/ports/319209 Log: . trim Makefile headres; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . seems that nothing requires .pre. and .post. includes. Modified: head/sysutils/ledit/Makefile Modified: head/sysutils/ledit/Makefile ============================================================================== --- head/sysutils/ledit/Makefile Mon May 27 11:07:49 2013 (r319208) +++ head/sysutils/ledit/Makefile Mon May 27 11:14:56 2013 (r319209) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: ledit -# Date created: Feb 8, 2005 -# Whom: Marwan Burelle -# +# Created by: Marwan Burelle # $FreeBSD$ -# PORTNAME= ledit PORTVERSION= 2.03 @@ -31,8 +26,7 @@ MAKE_JOBS_UNSAFE= yes MAN1= ledit.1 PORTDOCS= CHANGES LICENSE README - -.include +OPTIONS_DEFINE= DOCS do-configure: ${REINPLACE_CMD} -e '/^BINDIR=/s;/usr/local;${PREFIX};' \ @@ -40,12 +34,12 @@ do-configure: -e '/^MANDIR=/s;/usr/local;${PREFIX};' \ ${WRKSRC}/Makefile +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -.include +.include