blob: 84adbbbf260e2c0522a9f45c8b1ce881536e00eb (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
|
PORTNAME= easytag
PORTVERSION= 2.4.3
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= GNOME
MAINTAINER= novel@FreeBSD.org
COMMENT= GTK Tag editor for audio files
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/catalog.xml:textproc/docbook-xml \
${LOCALBASE}/share/xsl/docbook/html/refentry.xsl:textproc/docbook-xsl \
itstool:textproc/itstool \
xsltproc:textproc/libxslt
LIB_DEPENDS= libid3.so:audio/id3lib \
libid3tag.so:audio/libid3tag \
libvorbis.so:audio/libvorbis \
libFLAC.so:audio/flac \
libtag.so:audio/taglib \
libogg.so:audio/libogg
USES= compiler:c++11-lang desktop-file-utils gettext-tools gmake \
gnome localbase pkgconfig tar:xz
USE_GNOME= cairo dconf:run gtk30 intlhack libxslt
GLIB_SCHEMAS= org.gnome.EasyTAG.gschema.xml org.gnome.EasyTAG.enums.xml
GNU_CONFIGURE= yes
CPPFLAGS+= -DHAVE_GTK
CONFIGURE_ARGS= --disable-appdata-validate \
--without-help-dir \
--with-xml-catalog=${LOCALBASE}/share/xml/catalog
PORTDOCS= HACKING THANKS TODO
OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX DOCS
OPTIONS_DEFAULT= WAVPACK OPUS SPEEX
OPTIONS_SUB= yes
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
WAVPACK_CONFIGURE_ENABLE= wavpack
NLS_CONFIGURE_ENABLE= nls
OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \
libopus.so:audio/opus
OPUS_CONFIGURE_ENABLE= opus
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
SPEEX_CONFIGURE_ENABLE= speex
NLS_USES= gettext-runtime
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
pre-configure:
@${REINPLACE_CMD} -e 's,^DATADIRNAME = @DATADIRNAME@,DATADIRNAME = share,' \
${WRKSRC}/po/Makefile.in.in
.include <bsd.port.mk>
|