From owner-svn-ports-head@FreeBSD.ORG Mon Dec 31 14:30:41 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A3D95BC; Mon, 31 Dec 2012 14:30:41 +0000 (UTC) (envelope-from bapt@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 2E0F98FC0A; Mon, 31 Dec 2012 14:30:41 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBVEUfPM050633; Mon, 31 Dec 2012 14:30:41 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBVEUf3m050632; Mon, 31 Dec 2012 14:30:41 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201212311430.qBVEUf3m050632@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 31 Dec 2012 14:30:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309756 - head/audio/cuetools 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: Mon, 31 Dec 2012 14:30:41 -0000 Author: bapt Date: Mon Dec 31 14:30:40 2012 New Revision: 309756 URL: http://svnweb.freebsd.org/changeset/ports/309756 Log: Use PORT_OPTIONS for both EXAMPLES and DOCS Trim headers Modified: head/audio/cuetools/Makefile Modified: head/audio/cuetools/Makefile ============================================================================== --- head/audio/cuetools/Makefile Mon Dec 31 14:27:08 2012 (r309755) +++ head/audio/cuetools/Makefile Mon Dec 31 14:30:40 2012 (r309756) @@ -1,9 +1,5 @@ -# New ports collection makefile for: cuetools -# Date created: 30 December 2003 -# Whom: Vincent Tantardini -# +# Created by: Vincent Tantardini # $FreeBSD$ -# PORTNAME= cuetools PORTVERSION= 1.3.1 @@ -25,12 +21,14 @@ PORTDOCS= README PORTEXAMPLES= cuetag.sh PLIST_FILES= bin/cuebreakpoints bin/cueconvert bin/cueprint +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/extras/cuetag.sh ${EXAMPLESDIR}/ .endif