diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
commit | fb3520254ab73be0aad04c3a63b781750cf26b5b (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /audio/libumidi | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) |
- Convert to OptionsNG
- Trim header
Reviewed by: beat, bapt, kwm
Notes
Notes:
svn path=/head/; revision=313460
Diffstat (limited to 'audio/libumidi')
-rw-r--r-- | audio/libumidi/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/audio/libumidi/Makefile b/audio/libumidi/Makefile index ee2984f885c8..bcfcff19bbd8 100644 --- a/audio/libumidi/Makefile +++ b/audio/libumidi/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: libumidi -# Date created: 21 June 2011 -# Whom: Hans Petter Selasky <hselasky@FreeBSD.org> -# +# Created by: Hans Petter Selasky <hselasky@FreeBSD.org> # $FreeBSD$ -# PORTNAME= libumidi PORTVERSION= 2.0.5 @@ -19,19 +15,17 @@ USE_BZIP2= yes MAN3= umidi20.3 MANCOMPRESSED= yes -OPTIONS= DEBUG "Build with debugging support" Off \ - JACK "Build with Jack support" On - +OPTIONS_DEFINE= DEBUG JACK .include <bsd.port.options.mk> MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}" -.if defined(WITH_JACK) +.if ${PORT_OPTIONS:MJACK} MAKE_ARGS+=" HAVE_JACK=YES" LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack .endif -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} MAKE_ARGS+=" HAVE_DEBUG=YES" .endif |