aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juke
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-02-26 19:00:09 +0800
committerdanfe <danfe@FreeBSD.org>2013-02-26 19:00:09 +0800
commit2e38dbe101b70d0f6cd7e9c80251b53b4af1ddf3 (patch)
treeb2f657ac1ed02bdcbe03747f62c24de0a30181c0 /audio/juke
parent92e2f5ecaa38c55d3f31b193d6374f59c260ab60 (diff)
downloadfreebsd-ports-gnome-2e38dbe101b70d0f6cd7e9c80251b53b4af1ddf3.tar.gz
freebsd-ports-gnome-2e38dbe101b70d0f6cd7e9c80251b53b4af1ddf3.tar.zst
freebsd-ports-gnome-2e38dbe101b70d0f6cd7e9c80251b53b4af1ddf3.zip
- Trim the Makefile header per recent agreements
- Drop leading indefinite article from COMMENT - Convert to new generation OPTIONS framework - Fix whitespace issues with pkg-message display - Massively cleanup Makefile and port description
Diffstat (limited to 'audio/juke')
-rw-r--r--audio/juke/Makefile36
-rw-r--r--audio/juke/files/pkg-message.in2
-rw-r--r--audio/juke/pkg-descr8
3 files changed, 22 insertions, 24 deletions
diff --git a/audio/juke/Makefile b/audio/juke/Makefile
index d65daea12fc8..798c9b0e7b11 100644
--- a/audio/juke/Makefile
+++ b/audio/juke/Makefile
@@ -1,30 +1,34 @@
-# New ports collection makefile for: juke
-# Date created: 2 May 1999
-# Whom: oyvindmo@initio.no
-#
+# Created by: Oyvind Moll <oyvindmo@initio.no>
# $FreeBSD$
-#
-PORTNAME= juke
-PORTVERSION= 0.7
-CATEGORIES= audio
-MASTER_SITES= http://www.moll.no/oyvind/distfiles/\
- http://www.orakel.ntnu.no/~oyvindmo/distfiles/
+PORTNAME= juke
+PORTVERSION= 0.7
+CATEGORIES= audio
+MASTER_SITES= http://www.moll.no/oyvind/distfiles/ \
+ http://www.orakel.ntnu.no/~oyvindmo/distfiles/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A simple curses/ncurses based juke box program
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Simple (n)curses based juke box program
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
-MAN1= juke.1
-SUB_FILES= pkg-message
+MAN1= juke.1
+PLIST_FILES= bin/juke etc/juke.conf.sample
+SUB_FILES= pkg-message
-.if defined(WITH_VI_BINDINGS)
+OPTIONS_DEFINE= VI_BINDINGS
+VI_BINDINGS_DESC= Use vi-like key bindings
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MVI_BINDINGS}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/juke.conf ${PREFIX}/etc/juke.conf.sample
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.include <bsd.port.mk>
diff --git a/audio/juke/files/pkg-message.in b/audio/juke/files/pkg-message.in
index e49258d636e2..e78c6052c746 100644
--- a/audio/juke/files/pkg-message.in
+++ b/audio/juke/files/pkg-message.in
@@ -1,6 +1,4 @@
-
A sample configuration file has been copied to
%%PREFIX%%/etc/juke.conf.sample. Juke will not work without either
%%PREFIX%%/etc/juke.conf or the running user's ~/.juke.conf being
in place.
-
diff --git a/audio/juke/pkg-descr b/audio/juke/pkg-descr
index 15c20c370799..61db8a3daedb 100644
--- a/audio/juke/pkg-descr
+++ b/audio/juke/pkg-descr
@@ -1,6 +1,2 @@
-Juke
-----
-
-Juke is a simple curses/ncurses based juke box program.
-It uses command line based players to play all kinds
-of music formats.
+Juke is a simple (n)curses based juke box program. It uses command line
+based players to play all kinds of music formats.