Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 20:04:03 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307727 - head/audio/jack_ghero
Message-ID:  <201211242004.qAOK43ev015203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sat Nov 24 20:04:03 2012
New Revision: 307727
URL: http://svnweb.freebsd.org/changeset/ports/307727

Log:
  - Convert to OPTIONSng.
  - Strip Makefile headers.
  - Remove shlib major version from LIB_DEPENDS.
  
  PR:		ports/173801
  Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com>
  Approved by:	hselasky (maintainer)
  Feature safe:	yes

Modified:
  head/audio/jack_ghero/Makefile

Modified: head/audio/jack_ghero/Makefile
==============================================================================
--- head/audio/jack_ghero/Makefile	Sat Nov 24 20:01:26 2012	(r307726)
+++ head/audio/jack_ghero/Makefile	Sat Nov 24 20:04:03 2012	(r307727)
@@ -1,9 +1,5 @@
-# Ports collection makefile for: jack_ghero
-# Date created: 21 June 2011
-# Whom:         Hans Petter Selasky <hselasky@FreeBSD.org>
-#
+# Created by: Hans Petter Selasky <hselasky@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	jack_ghero
 PORTVERSION=	1.0.3
@@ -14,9 +10,10 @@ MASTER_SITES=	http://www.selasky.org/han
 MAINTAINER=	hselasky@FreeBSD.org
 COMMENT=	Daemon that converts a GuitarHero device into a JACK MIDI device
 
-LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack
-
 LICENSE=	BSD
+
+LIB_DEPENDS=	jack:${PORTSDIR}/audio/jack
+
 USE_BZIP2=	yes
 MAKE_JOBS_SAFE=	yes
 MANCOMPRESSED=	yes
@@ -24,21 +21,19 @@ MAN8=		jack_ghero.8
 
 PLIST_FILES=	sbin/jack_ghero
 
-OPTIONS=	DEBUG "Build with debugging support" Off
+OPTIONS_DEFINE=	DEBUG
 
 .include <bsd.port.options.mk>
 
 MAKE_ARGS+=" HAVE_MAN=YES"
 MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
 
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
 MAKE_ARGS+=" HAVE_DEBUG=YES"
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${OSVERSION} < 800000
 IGNORE=		requires usb stack from FreeBSD 8.0-RELEASE or later
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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