svn commit: r313391 - head/audio/cplay

Alexey Dokuchaev danfe at FreeBSD.org
Mon Mar 4 03:35:28 UTC 2013


Author: danfe
Date: Mon Mar  4 03:35:26 2013
New Revision: 313391
URL: http://svnweb.freebsd.org/changeset/ports/313391

Log:
  - Trim Makefile header per new style rules
  - Drop indefinite article from the COMMENT
  - Define LICENSE (GPLv2), utilize PORTDOCS
  - Sort the knobs, generally clean up Makefile
  - Reformat pkg-message and pkg-descr for better visual appeal
  - Drop old-school Author: attribution from pkg-descr

Modified:
  head/audio/cplay/Makefile
  head/audio/cplay/pkg-descr
  head/audio/cplay/pkg-message
  head/audio/cplay/pkg-plist

Modified: head/audio/cplay/Makefile
==============================================================================
--- head/audio/cplay/Makefile	Mon Mar  4 02:50:49 2013	(r313390)
+++ head/audio/cplay/Makefile	Mon Mar  4 03:35:26 2013	(r313391)
@@ -1,4 +1,4 @@
-# Created by: Jochem Kossen
+# Created by: Jochem Kossen <j.kossen at home.nl>
 # $FreeBSD$
 
 PORTNAME=	cplay
@@ -8,23 +8,28 @@ CATEGORIES=	audio
 MASTER_SITES=	ftp://ftp.SpringDaemons.com/soft/
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A curses based front-end for various audio players
+COMMENT=	Curses-based front-end for various audio players
+
+LICENSE=	GPLv2
 
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
 USE_PYTHON=	yes
-MAN1=		cplay.1
 
-MAKE_ARGS+=	PREFIX="${PREFIX}"
+MAKE_ARGS=	PREFIX="${PREFIX}"
+
+MAN1=		cplay.1
+PORTDOCS=	README
 
 .include <bsd.port.options.mk>
+
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-.for i in README
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
 .endif
+	@${ECHO_MSG}
 	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
 
 .include <bsd.port.mk>

Modified: head/audio/cplay/pkg-descr
==============================================================================
--- head/audio/cplay/pkg-descr	Mon Mar  4 02:50:49 2013	(r313390)
+++ head/audio/cplay/pkg-descr	Mon Mar  4 03:35:26 2013	(r313391)
@@ -1,11 +1,9 @@
-cplay is a curses based front-end to various audioplayers.
+cplay is a curses-based front-end to various audio players.  Supported
+players currently include:
 
-Supported players currently include:
-- mpg123
-- ogg123
-- madplay
-- mikmod
-- mpg321
-- splay
-
-Author:	Ulf Betlehem <flu at iki.fi>
+  - mpg123
+  - ogg123
+  - madplay
+  - mikmod
+  - mpg321
+  - splay

Modified: head/audio/cplay/pkg-message
==============================================================================
--- head/audio/cplay/pkg-message	Mon Mar  4 02:50:49 2013	(r313390)
+++ head/audio/cplay/pkg-message	Mon Mar  4 03:35:26 2013	(r313391)
@@ -1,13 +1,13 @@
-*********************************************************************
-* cplay is a front-end. To use it, you need to install one or more  *
-* of the following ports (audio players):                           *
-*                                                                   *
-*   audio/mad                                                       *
-*   audio/mikmod                                                    *
-*   audio/mpg123                                                    *
-*   audio/mpg321                                                    *
-*   audio/splay                                                     *
-*   audio/vorbis-tools                                              *
-*   multimedia/mplayer                                              *
-*                                                                   *
-*********************************************************************
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+* cplay is just a front-end; to use it, you need to install one or more *
+* of the following ports (audio players):                               *
+*                                                                       *
+*   audio/mad                                                           *
+*   audio/mikmod                                                        *
+*   audio/mpg123                                                        *
+*   audio/mpg321                                                        *
+*   audio/splay                                                         *
+*   audio/vorbis-tools                                                  *
+*   multimedia/mplayer                                                  *
+*                                                                       *
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Modified: head/audio/cplay/pkg-plist
==============================================================================
--- head/audio/cplay/pkg-plist	Mon Mar  4 02:50:49 2013	(r313390)
+++ head/audio/cplay/pkg-plist	Mon Mar  4 03:35:26 2013	(r313391)
@@ -1,7 +1,5 @@
 bin/cplay
-%%PORTDOCS%%%%DOCSDIR%%/README
 share/locale/da/LC_MESSAGES/cplay.mo
 share/locale/de/LC_MESSAGES/cplay.mo
 share/locale/hu/LC_MESSAGES/cplay.mo
 share/locale/pl/LC_MESSAGES/cplay.mo
-%%PORTDOCS%%@dirrm %%DOCSDIR%%


More information about the svn-ports-head mailing list