mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
cd85452c48
- Bump PORTREVISION Reported by: kris [1] Approved by: garga (mentor)
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# New ports collection makefile for: libjackasyn
|
|
# Date created: 2006-03-06
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libjackasyn
|
|
PORTVERSION= 0.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio devel
|
|
MASTER_SITES= http://gige.xdv.org/soft/libjackasyn/download/
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Allow use any sound program for the OSS system as a JACK client
|
|
|
|
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
|
|
samplerate.1:${PORTSDIR}/audio/libsamplerate
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= CC="${CC}" LDFLAGS="${LDFLAGS}"
|
|
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CFLAGS}"
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" LDFLAGS="${LDFLAGS}"
|
|
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
|
|
|
|
SUB_FILES= pkg-message
|
|
MAN1= jacklaunch.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PTHREAD%%|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libjackasyn.so.${PORTVERSION} ${PREFIX}/lib/libjackasyn.so.0
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libjackasyn.a ${PREFIX}/lib
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jacklaunch ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/libjackoss.h ${PREFIX}/include
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/lib && \
|
|
${LN} -s libjackasyn.so.0 libjackasyn.so
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|