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

Collapse All | Expand All

(-)x11/roxterm/Makefile (-21 / +22 lines)
Lines 1-8 Link Here
1
# Created by: Yinghong Liu <relaxbsd@gmail.com>
1
# Created by: Yinghong Liu <relaxbsd@gmail.com>
2
# $FreeBSD: head/x11/roxterm/Makefile 317767 2013-05-10 06:45:48Z miwi $
2
# $FreeBSD: head/x11/roxterm/Makefile 317767 2013-05-10 06:45:48Z miwi $
3
 
3
4
PORTNAME=	roxterm
4
PORTNAME=	roxterm
5
PORTVERSION=	2.7.1
5
PORTVERSION=	2.7.2
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
MASTER_SITES=	SF
7
MASTER_SITES=	SF
8
8
Lines 15-26 Link Here
15
		docbook-xsl>0:${PORTSDIR}/textproc/docbook-xsl \
15
		docbook-xsl>0:${PORTSDIR}/textproc/docbook-xsl \
16
		xsltproc:${PORTSDIR}/textproc/libxslt
16
		xsltproc:${PORTSDIR}/textproc/libxslt
17
LIB_DEPENDS=	dbus-glib-1:${PORTSDIR}/devel/dbus-glib
17
LIB_DEPENDS=	dbus-glib-1:${PORTSDIR}/devel/dbus-glib
18
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
18
19
19
OPTIONS_DEFINE=	DOCS
20
OPTIONS_DEFINE=	DOCS
20
21
21
USE_BZIP2=	yes
22
USE_BZIP2=	yes
22
USES=		gettext pkgconfig
23
USES=		gettext pkgconfig
23
USE_GNOME=	libglade2 vte
24
USE_GNOME=	libglade2 librsvg2 vte
24
USE_PYTHON_BUILD=	yes
25
USE_PYTHON_BUILD=	yes
25
USE_AUTOTOOLS=	libtool:env
26
USE_AUTOTOOLS=	libtool:env
26
INSTALLS_ICONS=	yes
27
INSTALLS_ICONS=	yes
Lines 37-43 Link Here
37
	@${REINPLACE_CMD} -e \
38
	@${REINPLACE_CMD} -e \
38
		's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py
39
		's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py
39
	@${REINPLACE_CMD} -e \
40
	@${REINPLACE_CMD} -e \
40
		's|= "-T"|= ""|' ${WRKSRC}/mscript.py
41
		's|x-www-browser|xdg-open|' ${WRKSRC}/src/uri.c
41
42
42
do-configure:
43
do-configure:
43
	@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \
44
	@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \
Lines 45-78 Link Here
45
		--disable-gtk3 --disable-po4a --disable-git)
46
		--disable-gtk3 --disable-po4a --disable-git)
46
47
47
do-build:
48
do-build:
48
	@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build \
49
	@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build)
49
		&& ${PYTHON_CMD} mscript.py install)
50
50
51
do-install:
51
do-install:
52
	(cd ${WRKSRC}/build/usr/local/bin \
52
	(cd ${WRKSRC}/build && ${INSTALL_PROGRAM} roxterm ${PREFIX}/bin)
53
		&& ${INSTALL_PROGRAM} * ${PREFIX}/bin)
53
	(cd ${WRKSRC}/build && ${INSTALL_SCRIPT} roxterm-config ${PREFIX}/bin)
54
	(cd ${WRKSRC}/build/usr/local/share/man/man1 \
54
	(cd ${WRKSRC}/build && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1)
55
		&& ${INSTALL_MAN} * ${MANPREFIX}/man/man1)
56
	@${MKDIR} ${DATADIR}
57
	@(cd ${WRKSRC}/build/usr/local/share/roxterm \
58
		&& ${COPYTREE_SHARE} . ${DATADIR})
59
	@${MKDIR} ${DESKTOPDIR}
55
	@${MKDIR} ${DESKTOPDIR}
60
	(cd ${WRKSRC}/build/usr/local/share/applications \
56
	(cd ${WRKSRC} && ${INSTALL_DATA} roxterm.desktop ${DESKTOPDIR})
61
		&& ${INSTALL_DATA} * ${DESKTOPDIR})
62
	@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
57
	@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
63
	(cd ${WRKSRC}/build/usr/local/share/icons/hicolor/scalable/apps \
58
	(cd ${WRKSRC} && ${INSTALL_DATA} roxterm.svg \
64
		&& ${INSTALL_DATA} * \
65
		${PREFIX}/share/icons/hicolor/scalable/apps)
59
		${PREFIX}/share/icons/hicolor/scalable/apps)
60
	@${MKDIR} ${DATADIR}
61
	(cd ${WRKSRC}/src && ${INSTALL_DATA} roxterm-config.ui ${DATADIR})
62
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} Config ${DATADIR})
66
.for i in es fr pt_BR ru uk
63
.for i in es fr pt_BR ru uk
67
	@${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
64
	@${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
68
	(cd ${WRKSRC}/build/usr/local/share/locale/${i}/LC_MESSAGES/roxterm.mo \
65
	(cd ${WRKSRC}/build/po && ${INSTALL_DATA} ${i}.mo \
69
		&& ${INSTALL_DATA} ${i}.mo \
70
		${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo)
66
		${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo)
71
.endfor
67
.endfor
72
.if ${PORT_OPTIONS:MDOCS}
68
.if ${PORT_OPTIONS:MDOCS}
73
	@${MKDIR} ${DOCSDIR}
69
	@${MKDIR} ${DOCSDIR}
74
	@(cd ${WRKSRC}/build/usr/local/share/doc/roxterm \
70
.for i in AUTHORS ChangeLog README
75
		&& ${COPYTREE_SHARE} . ${DOCSDIR})
71
	@(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
72
.endfor
73
	@${MKDIR} ${DOCSDIR}/en
74
	@(cd ${WRKSRC}/Help/en && ${INSTALL_DATA} * ${DOCSDIR}/en)
75
	@${MKDIR} ${DOCSDIR}/lib
76
	@(cd ${WRKSRC}/Help/lib && ${INSTALL_DATA} * ${DOCSDIR}/lib)
76
.endif
77
.endif
77
78
78
.include <bsd.port.mk>
79
.include <bsd.port.mk>
(-)x11/roxterm/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (roxterm-2.7.1.tar.bz2) = 24d6d5523d47f32bdf787b70d7d78463df079d644047214982b825403fac99b3
1
SHA256 (roxterm-2.7.2.tar.bz2) = 94db6be85abe7f0b8f216ee48bded178800e88cc5dfeb308520d7b03875749ce
2
SIZE (roxterm-2.7.1.tar.bz2) = 349478
2
SIZE (roxterm-2.7.2.tar.bz2) = 376920

Return to bug 179597