www-client/seamonkey-bin ) )"
S=${S}/src
+COMMONDIR=/usr/share/ipe/common
+
search_urw_fonts() {
local texmfdist="$(kpsewhich -var-value=TEXMFDIST)" # colon-separated list of paths
emake install IPEPREFIX="/usr" IPEDOCDIR="/usr/share/doc/${PF}" \
INSTALL_ROOT="${D}" || die "emake install failed"
dodoc ../{news,readme}.txt || die
+
+ # Link style sheets
+ if [ -d $COMMONDIR/styles ]; then
+ einfo "Linking common style sheets from $COMMONDIR"
+ for f in $COMMONDIR/styles/*; do
+ einfo " Linking ${f##*/}"
+ dosym $f usr/share/ipe/${PV}/styles/${f##*/}
+ done
+
+ elog "Style sheets from $COMMONDIR/styles have been symlinked to"
+ elog "the style sheet directory of ${P}. If you add additional"
+ elog "style sheets later to $COMMONDIR/styles you may symlink"
+ elog "them by hand to '/usr/share/ipe/${PV}/styles/'."
+ fi
}
+