aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2012-11-25 04:04:03 +0800
committernox <nox@FreeBSD.org>2012-11-25 04:04:03 +0800
commit2d01fde02c172f99c0e3f8f92e1ef0754f45655f (patch)
tree5624900e990fe8b7c0a848922ced72744ddf746b /audio
parentd491c8b4f53be9153e86c39a88044176d97d01a7 (diff)
downloadfreebsd-ports-gnome-2d01fde02c172f99c0e3f8f92e1ef0754f45655f.tar.gz
freebsd-ports-gnome-2d01fde02c172f99c0e3f8f92e1ef0754f45655f.tar.zst
freebsd-ports-gnome-2d01fde02c172f99c0e3f8f92e1ef0754f45655f.zip
- 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
Diffstat (limited to 'audio')
-rw-r--r--audio/jack_ghero/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/audio/jack_ghero/Makefile b/audio/jack_ghero/Makefile
index abc398266442..3433e1079b91 100644
--- a/audio/jack_ghero/Makefile
+++ b/audio/jack_ghero/Makefile
@@ -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/hans_petter/distfiles/ \
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>