aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 02:25:01 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 02:25:01 +0800
commit87107555e8d4d68c8a91298b1dbce6afda3ddee2 (patch)
tree43dccc538c73390a0ff0c5d37652480443d7996e /audio
parent6c6740d1d67835c5cc73c74dadf000a73c684c7c (diff)
downloadfreebsd-ports-gnome-87107555e8d4d68c8a91298b1dbce6afda3ddee2.tar.gz
freebsd-ports-gnome-87107555e8d4d68c8a91298b1dbce6afda3ddee2.tar.zst
freebsd-ports-gnome-87107555e8d4d68c8a91298b1dbce6afda3ddee2.zip
Support stage
Allow packaging as a user Use options helpers
Diffstat (limited to 'audio')
-rw-r--r--audio/libumidi/Makefile21
-rw-r--r--audio/libumidi/pkg-plist1
2 files changed, 6 insertions, 16 deletions
diff --git a/audio/libumidi/Makefile b/audio/libumidi/Makefile
index 767ed4ec694c..cb55f1864e9b 100644
--- a/audio/libumidi/Makefile
+++ b/audio/libumidi/Makefile
@@ -10,28 +10,17 @@ MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
MAINTAINER= hselasky@FreeBSD.org
COMMENT= Universal general purpose MIDI library
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
USE_BZIP2= yes
-NO_STAGE= yes
-MAN3= umidi20.3
-MANCOMPRESSED= yes
OPTIONS_DEFINE= DEBUG JACK
OPTIONS_DEFAULT=JACK
-.include <bsd.port.options.mk>
-
-MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
-
-.if ${PORT_OPTIONS:MJACK}
-MAKE_ARGS+=" HAVE_JACK=YES"
-LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+=" HAVE_DEBUG=YES"
-.endif
+USES= uidfix
+JACK_MAKE_ARGS= " HAVE_JACK=YES"
+JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
+DEBUG_MAKE_ARGS= " HAVE_DEBUG=YES"
MAKE_ARGS+=" HAVE_MAN=YES"
.include <bsd.port.mk>
diff --git a/audio/libumidi/pkg-plist b/audio/libumidi/pkg-plist
index 92bf47fcb4d5..bf6aa5ab919a 100644
--- a/audio/libumidi/pkg-plist
+++ b/audio/libumidi/pkg-plist
@@ -2,3 +2,4 @@ include/umidi20.h
lib/libumidi20.a
lib/libumidi20.so
lib/libumidi20.so.1
+man/man3/umidi20.3.gz