aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-04 11:35:26 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-04 11:35:26 +0800
commit473371a4f5dc657caec9f6fb29d8f300b76f724a (patch)
tree31f349f7ee69f587a9ae42fed0d99295a4c37c4b /audio
parenteb9b19c97abe0bdb4288262981d255f6e1493d2d (diff)
downloadfreebsd-ports-gnome-473371a4f5dc657caec9f6fb29d8f300b76f724a.tar.gz
freebsd-ports-gnome-473371a4f5dc657caec9f6fb29d8f300b76f724a.tar.zst
freebsd-ports-gnome-473371a4f5dc657caec9f6fb29d8f300b76f724a.zip
- 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
Diffstat (limited to 'audio')
-rw-r--r--audio/cplay/Makefile21
-rw-r--r--audio/cplay/pkg-descr18
-rw-r--r--audio/cplay/pkg-message26
-rw-r--r--audio/cplay/pkg-plist2
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 <j.kossen@home.nl>
# $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 <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>
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 <flu@iki.fi>
+ - 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%%