From 5b6d2e215740cfee8f991b7d9b4bf05ecc56e2cf Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 4 Mar 2013 03:35:26 +0000 Subject: - 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 --- audio/cplay/Makefile | 21 +++++++++++++-------- audio/cplay/pkg-descr | 18 ++++++++---------- audio/cplay/pkg-message | 26 +++++++++++++------------- audio/cplay/pkg-plist | 2 -- 4 files changed, 34 insertions(+), 33 deletions(-) diff --git a/audio/cplay/Makefile b/audio/cplay/Makefile index ba9b44842a83..229a18446cc7 100644 --- a/audio/cplay/Makefile +++ b/audio/cplay/Makefile @@ -1,4 +1,4 @@ -# Created by: Jochem Kossen +# Created by: Jochem Kossen # $FreeBSD$ PORTNAME= cplay @@ -8,23 +8,28 @@ CATEGORIES= audio MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ MAINTAINER= ports@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 + 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 diff --git a/audio/cplay/pkg-descr b/audio/cplay/pkg-descr index 7db430bbdea1..8a17946b63b6 100644 --- a/audio/cplay/pkg-descr +++ b/audio/cplay/pkg-descr @@ -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 + - mpg123 + - ogg123 + - madplay + - mikmod + - mpg321 + - splay diff --git a/audio/cplay/pkg-message b/audio/cplay/pkg-message index e3bc3296380d..ff92f029e4a2 100644 --- a/audio/cplay/pkg-message +++ b/audio/cplay/pkg-message @@ -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 * +* * +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * diff --git a/audio/cplay/pkg-plist b/audio/cplay/pkg-plist index 2421e0558273..4c796a6829e3 100644 --- a/audio/cplay/pkg-plist +++ b/audio/cplay/pkg-plist @@ -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%% -- cgit v1.2.3