aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-04 03:35:26 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-04 03:35:26 +0000
commit5b6d2e215740cfee8f991b7d9b4bf05ecc56e2cf (patch)
tree31f349f7ee69f587a9ae42fed0d99295a4c37c4b
parent4f8acfa13dab59c564775ac3fbad5dbb03ec4a7a (diff)
downloadports-5b6d2e215740cfee8f991b7d9b4bf05ecc56e2cf.tar.gz
ports-5b6d2e215740cfee8f991b7d9b4bf05ecc56e2cf.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
Notes
Notes: svn path=/head/; revision=313391
-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%%