From owner-svn-ports-all@FreeBSD.ORG Sun May 26 08:44:41 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 1A74C653; Sun, 26 May 2013 08:44:41 +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 0D05CEA7; Sun, 26 May 2013 08:44:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4Q8iejU034257; Sun, 26 May 2013 08:44:40 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4Q8ieFA034256; Sun, 26 May 2013 08:44:40 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305260844.r4Q8ieFA034256@svn.freebsd.org> From: Boris Samorodov Date: Sun, 26 May 2013 08:44:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319099 - head/sysutils/seatools 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: Sun, 26 May 2013 08:44:41 -0000 Author: bsam Date: Sun May 26 08:44:40 2013 New Revision: 319099 URL: http://svnweb.freebsd.org/changeset/ports/319099 Log: . trim Makefile headers; . remove pkg-plist file; . use options for DOCS; . mute mkdir; . install DOCS at do-install stage rather then post-install; . remove check for unsupported OSVERSION. Deleted: head/sysutils/seatools/pkg-plist Modified: head/sysutils/seatools/Makefile Modified: head/sysutils/seatools/Makefile ============================================================================== --- head/sysutils/seatools/Makefile Sun May 26 08:38:26 2013 (r319098) +++ head/sysutils/seatools/Makefile Sun May 26 08:44:40 2013 (r319099) @@ -1,9 +1,5 @@ -# Ports collection makefile for: linux-seatools -# Date created: 08 Apr 2007 -# Whom: Boris Samorodov -# +# Created by: Boris Samorodov # $FreeBSD$ -# PORTNAME= seatools PORTVERSION= 2.54 @@ -22,33 +18,28 @@ RESTRICTED= The distfile should be down ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes +PLIST_FILES= sbin/st +PORTDOCS= sthelp.txt + +OPTIONS_DEFINE= DOCS + do-build: @${BRANDELF} -t Linux ${WRKSRC}/st +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/st ${PREFIX}/sbin/st - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/sthelp.txt ${DOCSDIR}/sthelp.txt +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/sthelp.txt ${DOCSDIR}/sthelp.txt .endif .include -.if defined(NOPORTDOCS) -PLIST_SUB+= PORTDOCS="@comment " -.else -PLIST_SUB+= PORTDOCS= -.endif - .if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) IGNORE= please access ${DOWNLOAD_URL} with a web browser, fill the web form.\ Please place the downloaded ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR} .endif -.if ${OSVERSION} < 700037 -IGNORE= needs CAM sg -.endif - .include