Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 11:00:09 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312971 - in head/audio/juke: . files
Message-ID:  <201302261100.r1QB09YQ077009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Feb 26 11:00:09 2013
New Revision: 312971
URL: http://svnweb.freebsd.org/changeset/ports/312971

Log:
  - 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

Modified:
  head/audio/juke/Makefile
  head/audio/juke/files/pkg-message.in
  head/audio/juke/pkg-descr

Modified: head/audio/juke/Makefile
==============================================================================
--- head/audio/juke/Makefile	Tue Feb 26 10:43:36 2013	(r312970)
+++ head/audio/juke/Makefile	Tue Feb 26 11:00:09 2013	(r312971)
@@ -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>

Modified: head/audio/juke/files/pkg-message.in
==============================================================================
--- head/audio/juke/files/pkg-message.in	Tue Feb 26 10:43:36 2013	(r312970)
+++ head/audio/juke/files/pkg-message.in	Tue Feb 26 11:00:09 2013	(r312971)
@@ -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.
-

Modified: head/audio/juke/pkg-descr
==============================================================================
--- head/audio/juke/pkg-descr	Tue Feb 26 10:43:36 2013	(r312970)
+++ head/audio/juke/pkg-descr	Tue Feb 26 11:00:09 2013	(r312971)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302261100.r1QB09YQ077009>