Lines 6-48
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= easytag |
8 |
PORTNAME= easytag |
9 |
PORTVERSION= 2.1.2 |
9 |
PORTVERSION= 2.1.5 |
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 |
.if !defined(WITHOUT_FLAC) |
38 |
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac |
39 |
.else |
40 |
CONFIGURE_ARGS+=--disable-flac |
41 |
.endif |
42 |
|
43 |
.if !defined(WITHOUT_MP3) |
44 |
LIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag |
45 |
.else |
46 |
CONFIGURE_ARGS+=--disable-mp3 |
47 |
.endif |
48 |
|
49 |
.if defined(WITH_ID3V23) |
50 |
LIB_DEPENDS+= id3:${PORTSDIR}/audio/id3lib |
38 |
.else |
51 |
.else |
39 |
CONFIGURE_ARGS+= --disable-wavpack |
52 |
CONFIGURE_ARGS+=--disable-id3v23 |
40 |
.endif |
53 |
.endif |
41 |
|
54 |
|
42 |
.if defined(WITHOUT_ID3V23) |
55 |
.if !defined(WITHOUT_MPEG4IP) |
43 |
CONFIGURE_ARGS+= --disable-id3v23 |
56 |
LIB_DEPENDS+= mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 |
|
|
57 |
.else |
58 |
CONFIGURE_ARGS+=--disable-mp4 |
59 |
.endif |
60 |
|
61 |
.if defined(WITH_SPEEX) |
62 |
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex |
63 |
.else |
64 |
CONFIGURE_ARGS+=--disable-speex |
65 |
.endif |
66 |
|
67 |
.if !defined(WITHOUT_VORBIS) |
68 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
69 |
.else |
70 |
CONFIGURE_ARGS+=--disable-ogg |
71 |
.endif |
72 |
|
73 |
.if defined(WITH_WAVPACK) |
74 |
LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack |
44 |
.else |
75 |
.else |
45 |
LIB_DEPENDS+= id3:${PORTSDIR}/audio/id3lib |
76 |
CONFIGURE_ARGS+=--disable-wavpack |
46 |
.endif |
77 |
.endif |
47 |
|
78 |
|
48 |
.include <bsd.port.mk> |
79 |
.include <bsd.port.post.mk> |