diff options
author | rene <rene@FreeBSD.org> | 2014-02-17 00:15:06 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-02-17 00:15:06 +0800 |
commit | 959b9db439c38b4b9167c58a7e292036bb4b3ddc (patch) | |
tree | f8277029c4644b86e6091ba06ad3422e413eec9b /emulators/libspectrum | |
parent | dc88aaa14919637bfb09452f409a04d3185e39d6 (diff) | |
download | freebsd-ports-gnome-959b9db439c38b4b9167c58a7e292036bb4b3ddc.tar.gz freebsd-ports-gnome-959b9db439c38b4b9167c58a7e292036bb4b3ddc.tar.zst freebsd-ports-gnome-959b9db439c38b4b9167c58a7e292036bb4b3ddc.zip |
- Use option helpers
- Strip library
Diffstat (limited to 'emulators/libspectrum')
-rw-r--r-- | emulators/libspectrum/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile index 8af661a1fd51..ed3504bcd151 100644 --- a/emulators/libspectrum/Makefile +++ b/emulators/libspectrum/Makefile @@ -21,19 +21,14 @@ USES= gmake pkgconfig OPTIONS_DEFINE= AUDIOFILE AUDIOFILE_DESC= Support loading from .wav files -.include <bsd.port.options.mk> +AUDIOFILE_LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile +AUDIOFILE_CONFIGURE_OFF= --without-libaudiofile -.if ${PORT_OPTIONS:MAUDIOFILE} -LIB_DEPENDS+= libaudiofile.so:${PORTSDIR}/audio/libaudiofile -.else -CONFIGURE_ARGS+=--without-libaudiofile -.endif +INSTALL_TARGET= install-strip post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} \ - AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${STAGEDIR}${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \ + doc/libspectrum.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |