From b5334343b2985bf173c6e92ce21d70838f646f3e Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 31 Dec 2012 14:30:40 +0000 Subject: Use PORT_OPTIONS for both EXAMPLES and DOCS Trim headers --- audio/cuetools/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'audio') diff --git a/audio/cuetools/Makefile b/audio/cuetools/Makefile index 933f1c8d783..678a0444738 100644 --- a/audio/cuetools/Makefile +++ b/audio/cuetools/Makefile @@ -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 -- cgit