blob: 0bf241a827ab86f2a50eaddbb7a8608a0b587d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Fraser Tweedale <frase@frase.id.au>
PORTNAME= asunder
PORTVERSION= 2.9.6
CATEGORIES= audio
MASTER_SITES= http://littlesvr.ca/asunder/releases/
MAINTAINER= frase@frase.id.au
COMMENT= Lightweight GTK+ CD ripper
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcddb.so:audio/libcddb \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:audio/cdparanoia
USES= compiler:c11 desktop-file-utils gettext gmake gnome pkgconfig \
tar:bzip2
USE_GNOME= cairo gdkpixbuf2 gtk20 glib20 intltool intlhack
GNU_CONFIGURE= yes
OPTIONS_DEFINE= LAME OGG FLAC OPUS WAVPACK APE WINDOWS_CHARS NLS DOCS
OPTIONS_DEFAULT= OGG FLAC
OPTIONS_SUB= yes
WINDOWS_CHARS_DESC= Allow Windows special chars in filenames
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
LAME_RUN_DEPENDS= lame:audio/lame
OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools
FLAC_RUN_DEPENDS= flac:audio/flac
OPUS_RUN_DEPENDS= opusenc:audio/opus-tools
WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack
APE_RUN_DEPENDS= mac:audio/mac
NLS_CONFIGURE_ENABLE= yes
post-patch:
post-patch-WINDOWS_CHARS-on:
@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|