svn commit: r312971 - in head/audio/juke: . files

Alexey Dokuchaev danfe at FreeBSD.org
Tue Feb 26 11:00:10 UTC 2013


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 at initio.no
-#
+# Created by: Oyvind Moll <oyvindmo at 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 at FreeBSD.org
-COMMENT=	A simple curses/ncurses based juke box program
+MAINTAINER=	ports at 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.


More information about the svn-ports-all mailing list