mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
487cc0fe64
Approved by: portmgr (blanket)
64 lines
1.6 KiB
Makefile
64 lines
1.6 KiB
Makefile
PORTNAME= harp
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= heckendorfc@gmail.com
|
|
COMMENT= Minimalist audio player
|
|
WWW= https://github.com/heckendorfc/harp
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= heckendorfc
|
|
|
|
USES= cmake sqlite
|
|
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS= -DINSTALL_MANPREFIX=${PREFIX}/share
|
|
|
|
OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS DOCS
|
|
OPTIONS_SINGLE= AUDIO_OUT
|
|
OPTIONS_SINGLE_AUDIO_OUT= JACK OSS PULSEAUDIO
|
|
OPTIONS_DEFAULT= AAC FLAC MP3 OSS SHOUTCAST VORBIS
|
|
OPTIONS_SUB= yes
|
|
|
|
PORTDOCS= README
|
|
|
|
AAC_LIB_DEPENDS= libfaad.so:audio/faad
|
|
AAC_CMAKE_ON= -DWITH_AAC:BOOL=ON
|
|
AAC_CMAKE_OFF= -DWITH_AAC:BOOL=OFF
|
|
|
|
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
|
|
FLAC_CMAKE_ON= -DWITH_FLAC:BOOL=ON
|
|
FLAC_CMAKE_OFF= -DWITH_FLAC:BOOL=OFF
|
|
|
|
MP3_LIB_DEPENDS+= libmpg123.so:audio/mpg123
|
|
MP3_CMAKE_ON= -DWITH_MP3:BOOL=ON
|
|
MP3_CMAKE_OFF= -DWITH_MP3:BOOL=OFF
|
|
|
|
SHOUTCAST_CMAKE_ON= -DWITH_STREAM:BOOL=ON
|
|
SHOUTCAST_CMAKE_OFF= -DWITH_STREAM:BOOL=OFF
|
|
|
|
VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
|
VORBIS_CMAKE_ON= -DWITH_VORBIS:BOOL=ON
|
|
VORBIS_CMAKE_OFF= -DWITH_VORBIS:BOOL=OFF
|
|
|
|
OSS_CMAKE_ON= -DWITH_OSS:BOOL=ON
|
|
OSS_CMAKE_OFF= -DWITH_OSS:BOOL=OFF
|
|
|
|
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
|
JACK_LIB_DEPENDS+= libsamplerate.so:audio/libsamplerate
|
|
JACK_CMAKE_ON= -DWITH_JACK:BOOL=ON
|
|
JACK_CMAKE_OFF= -DWITH_JACK:BOOL=OFF
|
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
PULSEAUDIO_CMAKE_ON= -DWITH_PULSE:BOOL=ON
|
|
PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE:BOOL=OFF
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|