svn commit: r361202 - head/audio/pure-audio
Pawel Pekala
pawel at FreeBSD.org
Tue Jul 8 08:57:30 UTC 2014
Author: pawel
Date: Tue Jul 8 08:57:30 2014
New Revision: 361202
URL: http://svnweb.freebsd.org/changeset/ports/361202
QAT: https://qat.redports.org/buildarchive/r361202/
Log:
- Add staging support
- Require liportaudio.so.2 to avoid clash with audio/portaudio
- More precise BSD LICENSE
Modified:
head/audio/pure-audio/Makefile
Modified: head/audio/pure-audio/Makefile
==============================================================================
--- head/audio/pure-audio/Makefile Tue Jul 8 08:51:31 2014 (r361201)
+++ head/audio/pure-audio/Makefile Tue Jul 8 08:57:30 2014 (r361202)
@@ -11,15 +11,14 @@ DIST_SUBDIR= pure
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list