aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/pure-audio/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/audio/pure-audio/Makefile b/audio/pure-audio/Makefile
index cfd69a3e1aae..fb874c75bc67 100644
--- a/audio/pure-audio/Makefile
+++ b/audio/pure-audio/Makefile
@@ -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>