diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-10-09 11:14:49 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-10-09 11:14:49 +0800 |
commit | 298043d54977acd392dca43fc0e4c5902fd502c4 (patch) | |
tree | e8a934005aedcb31ffdd8f852b79454b4d3f4827 /audio/portaudio | |
parent | 9069650ea7cde720a81a21247ea47eef97235da5 (diff) | |
download | freebsd-ports-gnome-298043d54977acd392dca43fc0e4c5902fd502c4.tar.gz freebsd-ports-gnome-298043d54977acd392dca43fc0e4c5902fd502c4.tar.zst freebsd-ports-gnome-298043d54977acd392dca43fc0e4c5902fd502c4.zip |
- Change maintainer email to @FreeBSD.org
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
Approved by: wg/pawel (mentors)
Diffstat (limited to 'audio/portaudio')
-rw-r--r-- | audio/portaudio/Makefile | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 922a3da31915..6bc04dc738e5 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -8,15 +8,15 @@ CATEGORIES= audio MASTER_SITES= http://www.portaudio.com/archives/ DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Portable cross-platform Audio API LICENSE= MIT USES= gmake -NO_STAGE= yes USE_ZIP= yes GNU_CONFIGURE= yes +MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_DOS2UNIX= yes USE_LDCONFIG= yes @@ -35,18 +35,14 @@ DOCSRCDIR2= ${WRKSRC}/docs DOCSDIR2= ${DOCSDIR}/docs DOC_FILES2= *.html *.txt *.pdf -OPTIONS_DEFINE= PATEST +OPTIONS_DEFINE= DOCS PATEST OPTIONS_DEFAULT= PATEST PATEST_DESC= PortAudio Test Programs -.include <bsd.port.options.mk> +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MPATEST} -PLIST_SUB+= PATEST="" -.else -PLIST_SUB+= PATEST="@comment " -.endif +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/pa_unix_oss/pa_unix.h @@ -59,15 +55,15 @@ pre-configure: post-install: @${LN} -sf libportaudio.so \ - ${PREFIX}/lib/libportaudio.so.${SHLIB_VERSION} + ${STAGEDIR}${PREFIX}/lib/libportaudio.so.${SHLIB_VERSION} + .if ${PORT_OPTIONS:MPATEST} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - ${MKDIR} ${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} + ${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> |