1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

Allow packaging as a user
Use options helpers
This commit is contained in:
Baptiste Daroussin 2014-01-04 18:25:01 +00:00
parent 1688e00a40
commit cb3962b38d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338665
2 changed files with 6 additions and 16 deletions

View File

@ -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>

View File

@ -2,3 +2,4 @@ include/umidi20.h
lib/libumidi20.a
lib/libumidi20.so
lib/libumidi20.so.1
man/man3/umidi20.3.gz