Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 16:28:14 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306203 - head/audio/xmmsctrl
Message-ID:  <201210201628.q9KGSET1065363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sat Oct 20 16:28:14 2012
New Revision: 306203
URL: http://svn.freebsd.org/changeset/ports/306203

Log:
  - Convert to new options framework
  - Remove indefinite article from COMMENT
  - Add LICENSE (GPLv2)
  - Trim Makefile header
  
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/audio/xmmsctrl/Makefile   (contents, props changed)

Modified: head/audio/xmmsctrl/Makefile
==============================================================================
--- head/audio/xmmsctrl/Makefile	Sat Oct 20 16:19:21 2012	(r306202)
+++ head/audio/xmmsctrl/Makefile	Sat Oct 20 16:28:14 2012	(r306203)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	xmmsctrl
-# Date created:				22 September 2005
-# Whom:					Jason E. Hale <jhale@bluebottle.com>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	xmmsctrl
 PORTVERSION=	1.8
@@ -15,7 +10,9 @@ MASTER_SITES=	http://user.it.uu.se/~adav
 		http://www.sourcefiles.org/Multimedia/MP3/Tools/Miscellaneous/
 
 MAINTAINER=	jhale@FreeBSD.org
-COMMENT=	A small utility to control XMMS from the command line
+COMMENT=	Small utility to control XMMS from the command line
+
+LICENSE=	GPLv2
 
 BUILD_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
 RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
@@ -26,10 +23,12 @@ MAKE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLA
 
 PORTDOCS=	Changelog README
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 	${MKDIR} ${EXAMPLESDIR}



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