mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add staging support
- Require liportaudio.so.2 to avoid clash with audio/portaudio - More precise BSD LICENSE
This commit is contained in:
parent
0c65f94d0a
commit
e9cb2a5902
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361202
@ -11,15 +11,14 @@ DIST_SUBDIR= pure
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Digital audio interface for the Pure language
|
||||
|
||||
LICENSE= BSD
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio2 \
|
||||
LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
|
||||
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
||||
libsndfile.so:${PORTSDIR}/audio/libsndfile \
|
||||
libfftw3.so:${PORTSDIR}/math/fftw3
|
||||
|
||||
USES= pure
|
||||
NO_STAGE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
@ -28,22 +27,14 @@ post-patch:
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user