diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-13 02:22:37 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-13 02:22:37 +0800 |
commit | e949b2a2b78693d92831c7c7c34ebbb36f3893ae (patch) | |
tree | d8acec9c917d5f76f3945d38c60c554aee9c1fdc | |
parent | 0198d9e414a31ad4be2bc2df50ef9f7443fc2769 (diff) | |
download | freebsd-ports-gnome-e949b2a2b78693d92831c7c7c34ebbb36f3893ae.tar.gz freebsd-ports-gnome-e949b2a2b78693d92831c7c7c34ebbb36f3893ae.tar.zst freebsd-ports-gnome-e949b2a2b78693d92831c7c7c34ebbb36f3893ae.zip |
- Don't install example scripts that don't work outside WRKDIR
- While here, minor cosmetic fixes
PR: 208969
Submitted by: shurd@FreeBSD.org
Approved by: maintainer timeout (koalative@gmail.com, 2 weeks)
-rw-r--r-- | audio/portaudio/Makefile | 12 | ||||
-rw-r--r-- | audio/portaudio/pkg-plist | 9 |
2 files changed, 3 insertions, 18 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 983287e6ab8d..1bf8a4daf6e7 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -16,8 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= dos2unix gmake libtool pathfix pkgconfig tar:tgz GNU_CONFIGURE= yes -CONFIGURE_ARGS+=PKG_CONFIG_LIBDIR=${PREFIX}/libdata/pkgconfig \ - --without-alsa +CONFIGURE_ARGS= PKG_CONFIG_LIBDIR=${PREFIX}/libdata/pkgconfig \ + --without-alsa USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include @@ -43,7 +43,6 @@ JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --with-jack JACK_CONFIGURE_OFF= --without-jack -EXAMPLES_BIN= pa_d* pa_f* paex_* PATEST_BIN= pa_m* paqa_* patest* DOXYGEN_IMPLIES= DOCS @@ -53,13 +52,11 @@ post-patch: @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' ${WRKSRC}/configure.in \ ${WRKSRC}/src/hostapi/oss/pa_unix_oss.c ${WRKSRC}/src/SConscript @${REINPLACE_CMD} -e 's|PACKAGE_NAME=|PACKAGE_NAME=portaudio2|' ${WRKSRC}/configure - -post-patch-EXAMPLES-off: @${REINPLACE_CMD} -i '' '/EXAMPLES =/,/bin\/paex_write_sine_nonint/s/^/#/' \ ${WRKSRC}/Makefile.in post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libportaudio.so.2 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libportaudio.so post-install-PATEST-on: .for f in ${PATEST_BIN} @@ -75,9 +72,6 @@ post-install-DOXYGEN-on: @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: -.for f in ${EXAMPLES_BIN} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin/ -.endfor (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> diff --git a/audio/portaudio/pkg-plist b/audio/portaudio/pkg-plist index 0d4b7fcd697d..20e42314d139 100644 --- a/audio/portaudio/pkg-plist +++ b/audio/portaudio/pkg-plist @@ -1,13 +1,4 @@ -%%PORTEXAMPLES%%bin/pa_devs -%%PORTEXAMPLES%%bin/pa_fuzz %%PATEST%%bin/pa_minlat -%%PORTEXAMPLES%%bin/paex_pink -%%PORTEXAMPLES%%bin/paex_read_write_wire -%%PORTEXAMPLES%%bin/paex_record -%%PORTEXAMPLES%%bin/paex_saw -%%PORTEXAMPLES%%bin/paex_sine -%%PORTEXAMPLES%%bin/paex_write_sine -%%PORTEXAMPLES%%bin/paex_write_sine_nonint %%PATEST%%bin/paqa_devs %%PATEST%%bin/paqa_errs %%PATEST%%bin/paqa_latency |