Lines 6-48
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= easytag |
8 |
PORTNAME= easytag |
9 |
PORTVERSION= 2.1.2 |
9 |
PORTVERSION= 2.1.4 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
14 |
PKGNAMESUFFIX= -devel |
12 |
PKGNAMESUFFIX= -devel |
15 |
|
13 |
|
16 |
MAINTAINER= novel@FreeBSD.org |
14 |
MAINTAINER= novel@FreeBSD.org |
17 |
COMMENT= GTK2 Tag editor for MP3 and OGG files |
15 |
COMMENT= GTK2 Tag editor for MP3 and OGG files |
18 |
|
16 |
|
19 |
LIB_DEPENDS= id3tag:${PORTSDIR}/audio/libid3tag \ |
|
|
20 |
vorbis:${PORTSDIR}/audio/libvorbis \ |
21 |
FLAC:${PORTSDIR}/audio/flac \ |
22 |
mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 |
23 |
|
24 |
MAN1= easytag.1 |
17 |
MAN1= easytag.1 |
25 |
CONFLICTS= easytag-[0-9]* |
18 |
CONFLICTS= easytag-[0-9]* |
26 |
|
19 |
|
27 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
28 |
USE_XLIB= yes |
|
|
29 |
USE_GETTEXT= yes |
21 |
USE_GETTEXT= yes |
30 |
USE_GNOME= gnomehack gnomeprefix gtk20 desktopfileutils |
22 |
USE_GNOME= gnomehack gnomeprefix gtk20 desktopfileutils |
31 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
32 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_GTK" \ |
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_GTK" \ |
33 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
LDFLAGS="-L${LOCALBASE}/lib" |
34 |
|
26 |
|
35 |
.if defined(WITH_WAVPACK) |
27 |
OPTIONS= FLAC "FLAC support" on |
36 |
LIB_DEPENDS+= wavpack.1:${PORTSDIR}/audio/wavpack |
28 |
OPTIONS+= MP3 "MP3 ID3V1 and ID3V24 support" on |
37 |
CONFIGURE_ARGS+= --enable-wavpack |
29 |
OPTIONS+= ID3V23 "MP3 ID3V23 support" off |
|
|
30 |
OPTIONS+= MPEG4IP "MP4 support" on |
31 |
OPTIONS+= SPEEX "SPEEX support" off |
32 |
OPTIONS+= VORBIS "VORBIS support" on |
33 |
OPTIONS+= WAVPACK "WAVPACK support" off |
34 |
|
35 |
.include <bsd.port.pre.mk> |
36 |
|
37 |
# XXX disable FLAC support until ancient version in ports is updated |
38 |
#.if !defined(WITHOUT_FLAC) |
39 |
#LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac |
40 |
#.else |
41 |
CONFIGURE_ARGS+=--disable-flac |
42 |
#.endif |
43 |
|
44 |
.if !defined(WITHOUT_MP3) |
45 |
LIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag |
46 |
.else |
47 |
CONFIGURE_ARGS+=--disable-mp3 |
48 |
.endif |
49 |
|
50 |
.if defined(WITH_ID3V23) |
51 |
LIB_DEPENDS+= id3:${PORTSDIR}/audio/id3lib |
52 |
.else |
53 |
CONFIGURE_ARGS+=--disable-id3v23 |
54 |
.endif |
55 |
|
56 |
.if !defined(WITHOUT_MPEG4IP) |
57 |
LIB_DEPENDS+= mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 |
58 |
.else |
59 |
CONFIGURE_ARGS+=--disable-mp4 |
60 |
.endif |
61 |
|
62 |
.if defined(WITH_SPEEX) |
63 |
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex |
38 |
.else |
64 |
.else |
39 |
CONFIGURE_ARGS+= --disable-wavpack |
65 |
CONFIGURE_ARGS+=--disable-speex |
40 |
.endif |
66 |
.endif |
41 |
|
67 |
|
42 |
.if defined(WITHOUT_ID3V23) |
68 |
.if !defined(WITHOUT_VORBIS) |
43 |
CONFIGURE_ARGS+= --disable-id3v23 |
69 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
|
|
70 |
.else |
71 |
CONFIGURE_ARGS+=--disable-ogg |
72 |
.endif |
73 |
|
74 |
.if defined(WITH_WAVPACK) |
75 |
LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack |
44 |
.else |
76 |
.else |
45 |
LIB_DEPENDS+= id3:${PORTSDIR}/audio/id3lib |
77 |
CONFIGURE_ARGS+=--disable-wavpack |
46 |
.endif |
78 |
.endif |
47 |
|
79 |
|
48 |
.include <bsd.port.mk> |
80 |
.include <bsd.port.post.mk> |