Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:23:47 +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: r309753 - head/audio/btc
Message-ID:  <201212311423.qBVENlR4049531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 14:23:46 2012
New Revision: 309753
URL: http://svnweb.freebsd.org/changeset/ports/309753

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
  Trim headers

Modified:
  head/audio/btc/Makefile

Modified: head/audio/btc/Makefile
==============================================================================
--- head/audio/btc/Makefile	Mon Dec 31 14:22:14 2012	(r309752)
+++ head/audio/btc/Makefile	Mon Dec 31 14:23:46 2012	(r309753)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   btc
-# Date created:        1 August 2000
-# Whom:                Bill Fumerola <billf@chimesnet.com>
-#
+# Created by: Bill Fumerola <billf@chimesnet.com>
 # $FreeBSD$
-#
 
 PORTNAME=	btc
 PORTVERSION=	258
@@ -19,12 +15,14 @@ WRKSRC=		${WRKDIR}
 PLIST_FILES=	bin/btc
 PORTDOCS=	btc.doc
 
+.include <bsd.port.options.mk>
+
 do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR}
 .endif



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