mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
10abba4f7d
- Remove MAKE_JOBS_UNSAFE that was added in r415925: while it's true that most plugins we have in the tree are make(1) jobs unsafe (and, in fact, come from the same upstream with nearly identical (and broken) Makefile logic), this particular port contains single C source file and we build and install it directly via port's Makefile (in situ), so it can hardly be make(1) -jX unsafe
34 lines
794 B
Makefile
34 lines
794 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= deadbeef-jack-plugin
|
|
DISTVERSION= 0.0.2011.03.22
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= JACK output plugin for DeaDBeeF music player
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/deadbeef/deadbeef.h:audio/deadbeef
|
|
LIB_DEPENDS= libjack.so:audio/jack
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Alexey-Yakovenko
|
|
GH_PROJECT= jack
|
|
GH_TAGNAME= 62d1e6a
|
|
|
|
PLIST_FILES= lib/deadbeef/jack.so
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -std=c99 -fPIC -shared -Wall \
|
|
-I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
-o jack.so jack.c -ljack
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/deadbeef
|
|
${INSTALL_LIB} ${WRKSRC}/jack.so ${STAGEDIR}${PREFIX}/lib/deadbeef
|
|
|
|
.include <bsd.port.mk>
|