From ba181920a6e8f248a5bf3ed833f1703dc9e8996e Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 26 Feb 2013 11:00:09 +0000 Subject: - 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 --- audio/juke/Makefile | 36 ++++++++++++++++++++---------------- audio/juke/files/pkg-message.in | 2 -- audio/juke/pkg-descr | 8 ++------ 3 files changed, 22 insertions(+), 24 deletions(-) (limited to 'audio/juke') 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 # $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 + +.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 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. -- cgit v1.2.3