svn commit: r306203 - head/audio/xmmsctrl
Jason E. Hale
jhale at FreeBSD.org
Sat Oct 20 16:28:15 UTC 2012
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 at 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 at 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}
More information about the svn-ports-head
mailing list