diff --git a/srcpkgs/lesstif-mwm b/srcpkgs/lesstif-mwm new file mode 120000 index 00000000000..850b8392255 --- /dev/null +++ b/srcpkgs/lesstif-mwm @@ -0,0 +1 @@ +lesstif \ No newline at end of file diff --git a/srcpkgs/lesstif-xmbind b/srcpkgs/lesstif-xmbind new file mode 120000 index 00000000000..850b8392255 --- /dev/null +++ b/srcpkgs/lesstif-xmbind @@ -0,0 +1 @@ +lesstif \ No newline at end of file diff --git a/srcpkgs/lesstif/template b/srcpkgs/lesstif/template index 08fc58dc890..8b19262589e 100644 --- a/srcpkgs/lesstif/template +++ b/srcpkgs/lesstif/template @@ -1,7 +1,7 @@ # Template build file for 'lesstif' pkgname=lesstif version=0.95.2 -revision=1 +revision=2 build_style=gnu-configure short_desc="LGPL'd re-implementation of Motif" maintainer="Enno Boland" @@ -24,12 +24,43 @@ configure_args="--prefix=/usr \ --x-includes=/usr/include \ --x-libraries=/usr/lib" +post_install() { + rm -rf $DESTDIR/usr/LessTif +} + +lesstif-mwm_package() { + short_desc="LessTif clone of the Motif Window Manager" + pkg_install() { + vmove usr/bin/mwm + vmove usr/lib/X11/mwm + vmove usr/share/man/man1/mwm.1 + vmove usr/share/man/man5/mwmrc.5 + vmove usr/lib/X11/app-defaults/Mwm + } +} + +lesstif-xmbind_package() { + short_desc="configures the virtual key bindings of LessTif applications" + pkg_install() { + vmove usr/bin/xmbind + vmove usr/share/man/man1/xmbind.1 + } +} + lesstif-devel_package() { depends="lesstif>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" - vmove usr/share + vmove usr/share/man/man3 + vmove usr/share/man/man1/ltversion.1 + vmove usr/share/man/man1/uil.1 + vmove usr/share/man/man1/lesstif.1 + vmove usr/share/man/man5/VirtualBindings.5 + vmove usr/lib/LessTif + vmove usr/bin/uil + vmove usr/bin/mxmkmf + vmove usr/bin/motif-config } }