Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 160465 | Differences between
and this patch

Collapse All | Expand All

(-)texmaker-1.50.ebuild (-2 / +24 lines)
Lines 42-50 Link Here
42
	virtual/ghostscript
42
	virtual/ghostscript
43
	media-libs/netpbm"
43
	media-libs/netpbm"
44
44
45
src_unpack() {
46
	unpack ${A}
47
	cd "${S}"
48
49
	einfo "Fixing sources"
50
	sed -i -e 's/PREFIX"/"\/usr/' *.cpp
51
}
52
45
src_compile() {
53
src_compile() {
46
	cd ${S}
54
	cd ${S}
47
	qmake -unix texmaker.pro || die "qmake failed"
55
56
	if use x86-fbsd; then
57
		myspec="-spec freebsd-g++"
58
	else
59
		myspec="-spec linux-g++"
60
	fi
61
62
	# Forcing Qt4 qmake
63
	/usr/bin/qmake PREFIX="/usr" QMAKE_CFLAGS="${CFLAGS}" \
64
	QMAKE_CXXFLAGS="${CXXFLAGS}" ${myspec} -unix texmaker.pro \
65
	|| die "qmake failed"
48
	emake || die "emake failed"
66
	emake || die "emake failed"
49
}
67
}
50
68
Lines 53-66 Link Here
53
71
54
	insinto /usr/share/pixmaps/texmaker
72
	insinto /usr/share/pixmaps/texmaker
55
	doins utilities/texmaker*.png || die "doins failed."
73
	doins utilities/texmaker*.png || die "doins failed."
74
	doins utilities/texmaker.svg || die "doins failed."
56
75
57
	dodoc utilities/AUTHORS || die "dodoc failed"
76
	dodoc utilities/AUTHORS || die "dodoc failed"
77
	dodoc utilities/COPYING || die "dodoc failed"
78
	dodoc utilities/CHANGELOG.txt || die "dodoc failed"
79
	dodoc utilities/license.txt || die "dodoc failed"
58
80
59
	dohtml utilities/*.{html,gif,css,txt} utilities/doc*.png || die "dohtml failed"
81
	dohtml utilities/*.{html,gif,css,txt} utilities/doc*.png || die "dohtml failed"
60
82
61
	dosym /usr/share/doc/${PF}/html /usr/share/${PN} || die "dosym failed"
83
	dosym /usr/share/doc/${PF}/html /usr/share/${PN} || die "dosym failed"
62
84
63
	make_desktop_entry texmaker Texmaker "/usr/share/pixmaps/texmaker/texmaker48x48.png" Office
85
	domenu utilities/texmaker.desktop
64
}
86
}
65
87
66
pkg_postinst() {
88
pkg_postinst() {

Return to bug 160465