Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:30:41 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309756 - head/audio/cuetools
Message-ID:  <201212311430.qBVEUf3m050632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <vinc@FreeBSD-fr.org>
-#
+# Created by: Vincent Tantardini <vinc@FreeBSD-fr.org>
 # $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 <bsd.port.options.mk>
+
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311430.qBVEUf3m050632>