View | Details | Raw Unified | Return to bug 173779 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-21 / +26 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	asunder
1
# Created by: Fraser Tweedale <frase@frase.id.au>
2
# Date created:				14 September 2007
3
# Whom:					frase@frase.id.au
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
3
7
PORTNAME=	asunder
4
PORTNAME=	asunder
8
PORTVERSION=	2.0
5
PORTVERSION=	2.2
9
PORTREVISION?=	2
10
CATEGORIES=	audio
6
CATEGORIES=	audio
11
MASTER_SITES=	http://littlesvr.ca/asunder/releases/
7
MASTER_SITES=	http://littlesvr.ca/asunder/releases/
12
8
Lines 16-65 Link Here
16
LIB_DEPENDS=	cddb.4:${PORTSDIR}/audio/libcddb
12
LIB_DEPENDS=	cddb.4:${PORTSDIR}/audio/libcddb
17
RUN_DEPENDS=	${LOCALBASE}/bin/cdparanoia:${PORTSDIR}/audio/cdparanoia
13
RUN_DEPENDS=	${LOCALBASE}/bin/cdparanoia:${PORTSDIR}/audio/cdparanoia
18
14
19
OPTIONS=	LAME "lame support" on \
15
OPTIONS_DEFINE=	LAME OGG FLAC WAVPACK MONKEYAUDIO WINDOWS_CHARS NLS DOCS
20
		OGG "ogg-vorbis support" on \
16
OPTIONS_DEFAULT=	LAME OGG FLAC
21
		FLAC "FLAC support" on \
22
		WAVPACK "WavPack support" off \
23
		MONKEYAUDIO "Monkey's Audio support" off \
24
		WINDOWS_CHARS "Allow Windows special chars in filenames" off
25
17
18
MONKEYAUDIO_DESC=	Monkey's Audio support
19
WINDOWS_CHARS_DESC=	Allow Windows special chars in filenames
20
26
USE_BZIP2=	yes
21
USE_BZIP2=	yes
27
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
USE_GETTEXT=	yes
24
USE_GMAKE=	yes
28
USE_GNOME=	gtk20
25
USE_GNOME=	gtk20
29
26
30
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
27
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
31
28
32
.include <bsd.port.pre.mk>
29
.include <bsd.port.options.mk>
33
30
34
.if defined(WITH_LAME)
31
.if ${PORT_OPTIONS:MLAME}
35
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
32
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
36
.endif
33
.endif
37
34
38
.if defined(WITH_OGG)
35
.if ${PORT_OPTIONS:MOGG}
39
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
36
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
40
.endif
37
.endif
41
38
42
.if defined(WITH_FLAC)
39
.if ${PORT_OPTIONS:MFLAC}
43
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
40
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
44
.endif
41
.endif
45
42
46
.if defined(WITH_WAVPACK)
43
.if ${PORT_OPTIONS:MWAVPACK}
47
RUN_DEPENDS+=	wavpack:${PORTSDIR}/audio/wavpack
44
RUN_DEPENDS+=	wavpack:${PORTSDIR}/audio/wavpack
48
.endif
45
.endif
49
46
50
.if defined(WITH_MONKEYAUDIO)
47
.if ${PORT_OPTIONS:MMONKEYAUDIO}
51
RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
48
RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
52
.endif
49
.endif
53
50
51
.if ${PORT_OPTIONS:MNLS}
52
PLIST_SUB+=	NLS=''
53
.else
54
CONFIGURE_ARGS+=	--disable-nls
55
PLIST_SUB+=	NLS='@comment '
56
.endif
57
54
post-patch:
58
post-patch:
55
.if defined(WITH_WINDOWS_CHARS)
59
	@${REINPLACE_CMD} -e 's/^itlocaledir = .*/itlocaledir = @datarootdir@\/locale/' ${WRKSRC}/po/Makefile.in.in
60
.if ${PORT_OPTIONS:MWINDOWS_CHARS}
56
	@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
61
	@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
57
.endif
62
.endif
58
63
59
post-install:
64
post-install:
60
.if !defined(NOPORTDOCS)
65
.if ${PORT_OPTIONS:MDOCS}
61
	@${MKDIR} ${DOCSDIR}
66
	@${MKDIR} ${DOCSDIR}
62
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
67
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
63
.endif
68
.endif
64
69
65
.include <bsd.port.post.mk>
70
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (asunder-2.0.tar.bz2) = f86539f3cbccf0727f654cbfad4f6b7dde4e5668973b5c74b3cf5041b70b9f4d
1
SHA256 (asunder-2.2.tar.bz2) = bb608c1cdefcce2f533fb5d5cc23838846b2810ec89d0ebb083507cf27e7822f
2
SIZE (asunder-2.0.tar.bz2) = 220593
2
SIZE (asunder-2.2.tar.bz2) = 208936
(-)pkg-plist (+39 lines)
Lines 1-4 Link Here
1
bin/asunder
1
bin/asunder
2
share/applications/asunder.desktop
2
share/applications/asunder.desktop
3
%%NLS%%share/locale/ar/LC_MESSAGES/asunder.mo
4
%%NLS%%share/locale/be@latin/LC_MESSAGES/asunder.mo
5
%%NLS%%share/locale/bg/LC_MESSAGES/asunder.mo
6
%%NLS%%share/locale/bs_BA/LC_MESSAGES/asunder.mo
7
%%NLS%%share/locale/ca/LC_MESSAGES/asunder.mo
8
%%NLS%%share/locale/cs/LC_MESSAGES/asunder.mo
9
%%NLS%%share/locale/da/LC_MESSAGES/asunder.mo
10
%%NLS%%share/locale/de/LC_MESSAGES/asunder.mo
11
%%NLS%%share/locale/el/LC_MESSAGES/asunder.mo
12
%%NLS%%share/locale/eo/LC_MESSAGES/asunder.mo
13
%%NLS%%share/locale/es/LC_MESSAGES/asunder.mo
14
%%NLS%%share/locale/eu/LC_MESSAGES/asunder.mo
15
%%NLS%%share/locale/fi/LC_MESSAGES/asunder.mo
16
%%NLS%%share/locale/fr/LC_MESSAGES/asunder.mo
17
%%NLS%%share/locale/hr/LC_MESSAGES/asunder.mo
18
%%NLS%%share/locale/hu/LC_MESSAGES/asunder.mo
19
%%NLS%%share/locale/it/LC_MESSAGES/asunder.mo
20
%%NLS%%share/locale/ja/LC_MESSAGES/asunder.mo
21
%%NLS%%share/locale/lv/LC_MESSAGES/asunder.mo
22
%%NLS%%share/locale/nb/LC_MESSAGES/asunder.mo
23
%%NLS%%share/locale/nl/LC_MESSAGES/asunder.mo
24
%%NLS%%share/locale/nn/LC_MESSAGES/asunder.mo
25
%%NLS%%share/locale/pl/LC_MESSAGES/asunder.mo
26
%%NLS%%share/locale/pt/LC_MESSAGES/asunder.mo
27
%%NLS%%share/locale/pt_BR/LC_MESSAGES/asunder.mo
28
%%NLS%%share/locale/ru/LC_MESSAGES/asunder.mo
29
%%NLS%%share/locale/sk/LC_MESSAGES/asunder.mo
30
%%NLS%%share/locale/sl/LC_MESSAGES/asunder.mo
31
%%NLS%%share/locale/sq/LC_MESSAGES/asunder.mo
32
%%NLS%%share/locale/sr/LC_MESSAGES/asunder.mo
33
%%NLS%%share/locale/sr@latin/LC_MESSAGES/asunder.mo
34
%%NLS%%share/locale/sv/LC_MESSAGES/asunder.mo
35
%%NLS%%share/locale/tr/LC_MESSAGES/asunder.mo
36
%%NLS%%share/locale/ur_PK/LC_MESSAGES/asunder.mo
37
%%NLS%%share/locale/zh_TW/LC_MESSAGES/asunder.mo
3
share/pixmaps/asunder.png
38
share/pixmaps/asunder.png
4
@dirrmtry share/applications
39
@dirrmtry share/applications
40
%%NLS%%@dirrmtry share/locale/bs_BA/LC_MESSAGES
41
%%NLS%%@dirrmtry share/locale/bs_BA
42
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
43
%%NLS%%@dirrmtry share/locale/ur_PK

Return to bug 173779