svn commit: r307727 - head/audio/jack_ghero
Juergen Lock
nox at FreeBSD.org
Sat Nov 24 20:04:04 UTC 2012
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 at 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 at FreeBSD.org>
-#
+# Created by: Hans Petter Selasky <hselasky at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= jack_ghero
PORTVERSION= 1.0.3
@@ -14,9 +10,10 @@ MASTER_SITES= http://www.selasky.org/han
MAINTAINER= hselasky at 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>
More information about the svn-ports-all
mailing list