View | Details | Raw Unified | Return to bug 179950
Collapse All | Expand All

(-)./Makefile (-8 / +22 lines)
Lines 1-3 Link Here
1
# Created by: nemysis <nemysis@gmx.ch>
1
# $FreeBSD: head/multimedia/freetuxtv/Makefile 319055 2013-05-25 14:37:02Z zeising $
2
# $FreeBSD: head/multimedia/freetuxtv/Makefile 319055 2013-05-25 14:37:02Z zeising $
2
3
3
PORTNAME=	freetuxtv
4
PORTNAME=	freetuxtv
Lines 11-16 Link Here
11
12
12
LICENSE=	GPLv3
13
LICENSE=	GPLv3
13
14
15
BUILD_DEPENDS=	p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
14
LIB_DEPENDS=	vlc:${PORTSDIR}/multimedia/vlc \
16
LIB_DEPENDS=	vlc:${PORTSDIR}/multimedia/vlc \
15
		dbus-glib:${PORTSDIR}/devel/dbus-glib \
17
		dbus-glib:${PORTSDIR}/devel/dbus-glib \
16
		sqlite3:${PORTSDIR}/databases/sqlite3 \
18
		sqlite3:${PORTSDIR}/databases/sqlite3 \
Lines 24-50 Link Here
24
		expat:${PORTSDIR}/textproc/expat2 \
26
		expat:${PORTSDIR}/textproc/expat2 \
25
		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
27
		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
26
28
29
USES=		iconv pathfix pkgconfig
27
USE_GNOME=	glib20 gtk20
30
USE_GNOME=	glib20 gtk20
28
USE_XORG=	pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
31
USE_XORG=	pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
29
		xi xinerama xrandr xrender
32
		xi xinerama xrandr xrender
30
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
34
CONFIGURE_ARGS+=--with-gtk=2.0
31
USE_GMAKE=	yes
35
USE_GMAKE=	yes
32
USES=		pkgconfig iconv
36
USE_GCC=	any
33
INSTALLS_ICONS=	yes
37
INSTALLS_ICONS=	yes
34
38
35
CONFIGURE_ARGS+=--with-gtk=2.0
39
PORTDOCS=	AUTHORS ChangeLog README
40
41
OPTIONS_DEFINE=	DOCS NLS
42
OPTIONS_SUB=	yes
43
44
NLS_USES=	gettext
36
45
37
.include <bsd.port.options.mk>
46
.include <bsd.port.options.mk>
38
47
39
.if ${PORT_OPTIONS:MNLS}
48
post-patch:
40
USES+=		gettext
49
	@${REINPLACE_CMD} -e 's|$${pkgdatadir}/doc|$${PREFIX}/share/doc/${PORTNAME}|' \
41
PLIST_SUB+=	NLS=""
50
		-e 's|install-data-am: install-freetuxtvdocDATA|install-data-am: |' \
42
.else
51
		${WRKSRC}/Makefile.in
52
53
.if ! ${PORT_OPTIONS:MNLS}
43
CONFIGURE_ARGS+=	--disable-nls
54
CONFIGURE_ARGS+=	--disable-nls
44
PLIST_SUB+=	NLS="@comment "
45
.endif
55
.endif
46
56
47
post-install:
57
post-install:
48
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
58
.if ${PORT_OPTIONS:MDOCS}
59
	@${MKDIR} ${DOCSDIR}
60
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
61
.endif
62
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
49
63
50
.include <bsd.port.mk>
64
.include <bsd.port.mk>
(-)./files/patch-po-Makefile.in.in (-11 lines)
Lines 1-11 Link Here
1
--- po/Makefile.in.in.orig	2012-05-08 19:34:01.000000000 +0200
2
+++ po/Makefile.in.in	2012-09-22 10:34:08.000000000 +0200
3
@@ -34,7 +34,7 @@
4
 datarootdir = @datarootdir@
5
 libdir = @libdir@
6
 DATADIRNAME = @DATADIRNAME@
7
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
8
+itlocaledir = $(datarootdir)/locale
9
 subdir = po
10
 install_sh = @install_sh@
11
 # Automake >= 1.8 provides @mkdir_p@.
(-)./pkg-plist (-19 lines)
Lines 10-21 Link Here
10
lib/libvlc-gtk.la
10
lib/libvlc-gtk.la
11
share/applications/freetuxtv.desktop
11
share/applications/freetuxtv.desktop
12
%%DATADIR%%/channels_groups.xml
12
%%DATADIR%%/channels_groups.xml
13
%%DATADIR%%/doc/AUTHORS
14
%%DATADIR%%/doc/COPYING
15
%%DATADIR%%/doc/ChangeLog
16
%%DATADIR%%/doc/INSTALL
17
%%DATADIR%%/doc/NEWS
18
%%DATADIR%%/doc/README
19
%%DATADIR%%/images/channels/100pourcentradio.png
13
%%DATADIR%%/images/channels/100pourcentradio.png
20
%%DATADIR%%/images/channels/1onairconnect.png
14
%%DATADIR%%/images/channels/1onairconnect.png
21
%%DATADIR%%/images/channels/2mmaroc.png
15
%%DATADIR%%/images/channels/2mmaroc.png
Lines 440-461 Link Here
440
%%NLS%%share/locale/zh_CN/LC_MESSAGES/freetuxtv.mo
434
%%NLS%%share/locale/zh_CN/LC_MESSAGES/freetuxtv.mo
441
%%NLS%%share/locale/zh_TW/LC_MESSAGES/freetuxtv.mo
435
%%NLS%%share/locale/zh_TW/LC_MESSAGES/freetuxtv.mo
442
share/pixmaps/freetuxtv.png
436
share/pixmaps/freetuxtv.png
443
@dirrmtry share/icons/hicolor/scalable/apps
444
@dirrmtry share/icons/hicolor/scalable
445
@dirrmtry share/icons/hicolor/48x48/apps
446
@dirrmtry share/icons/hicolor/48x48
447
@dirrmtry share/icons/hicolor/32x32/apps
448
@dirrmtry share/icons/hicolor/32x32
449
@dirrmtry share/icons/hicolor/22x22/apps
450
@dirrmtry share/icons/hicolor/22x22
451
@dirrmtry share/icons/hicolor/16x16/apps
452
@dirrmtry share/icons/hicolor/16x16
453
@dirrmtry share/icons/hicolor
454
@dirrmtry share/icons
455
@dirrm %%DATADIR%%/ui
437
@dirrm %%DATADIR%%/ui
456
@dirrm %%DATADIR%%/images/channels
438
@dirrm %%DATADIR%%/images/channels
457
@dirrm %%DATADIR%%/images
439
@dirrm %%DATADIR%%/images
458
@dirrm %%DATADIR%%/doc
459
@dirrm %%DATADIR%%
440
@dirrm %%DATADIR%%
460
@dirrmtry share/applications
441
@dirrmtry share/applications
461
@dirrmtry include/libvlc-gtk
442
@dirrmtry include/libvlc-gtk

Return to bug 179950