freebsd-ports/audio/portaudio/Makefile
Rusmir Dusko dd3adcb19b These ports are no longer used or cared for.
Dave Shar <koalative at gmail.com> wishes to maintain these ports
with my help.

audio/portaudio

- Pass maintainership to koalative at gmail.com

audio/portaudio2

- Pass maintainership to koalative at gmail.com

deskutils/parcellite

- Pass maintainership to koalative at gmail.com

devel/allegro

- Change Makefile header, add Created by Jimmy Olgeni <olgeni@FreeBSD.org>
- Pass maintainership to koalative at gmail.com

devel/allegro-devel

- Change Makefile header, use my name and @FreeBSD.org email
- Pass maintainership to koalative at gmail.com

emulators/q4wine

- Remove not needed linie
- Pass maintainership to koalative at gmail.com

emulators/swine

- Change Makefile header, use my name and @FreeBSD.org email
- Pass maintainership to koalative at gmail.com

finance/venice

- Pass maintainership to koalative at gmail.com

graphics/glfw

- Pass maintainership to koalative at gmail.com

graphics/glfw2

- Pass maintainership to koalative at gmail.com

graphics/xsane

- Pass maintainership to koalative at gmail.com

textproc/loook

- Pass maintainership to koalative at gmail.com
2014-06-16 21:03:57 +00:00

67 lines
1.7 KiB
Makefile

# Created by: michaelnottebrock@gmx.net and lioux@FreeBSD.org
# $FreeBSD$
PORTNAME= portaudio
PORTVERSION= 18.1
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/}
MAINTAINER= koalative@gmail.com
COMMENT= Portable cross-platform Audio API
LICENSE= MIT
USES= gmake dos2unix zip
GNU_CONFIGURE= yes
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_CFLAGS}
PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION}
SHLIB_VERSION= 0
PORTDOCS= *
DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= README.txt index.html
DOCSRCDIR2= ${WRKSRC}/docs
DOCSDIR2= ${DOCSDIR}/docs
DOC_FILES2= *.html *.txt *.pdf
OPTIONS_DEFINE= DOCS PATEST
OPTIONS_DEFAULT= PATEST
PATEST_DESC= PortAudio Test Programs
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/pa_unix_oss/pa_unix.h
@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' ${WRKSRC}/pa_unix_oss/pa_unix_oss.c
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/configure.in \
${WRKSRC}/pa_unix_oss/Makefile
pre-configure:
@${CHMOD} +x ${WRKSRC}/configure
post-install:
@${LN} -sf libportaudio.so \
${STAGEDIR}${PREFIX}/lib/libportaudio.so.${SHLIB_VERSION}
.if ${PORT_OPTIONS:MPATEST}
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin/
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
.include <bsd.port.mk>