Path to this page:
./
x11/lesstif,
API compatible clone of the OSF/Motif toolkit
Branch: pkgsrc-2020Q4,
Version: 0.95.2nb8,
Package name: lesstif-0.95.2nb8,
Maintainer: pkgsrc-usersLessTif is a API compatible clone of the OSF/Motif toolkit. Currently
LessTif is partially implemented with most of the API in place.
Saying this a lot of the internal functionality is still missing.
DEINSTALL [+/-]#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.3 2006/02/16 18:09:27 wiz Exp $
PKGNAME=$1
STAGE=$2
LOCALBASE="@LOCALBASE@"
CP="@CP@"
CMP="@CMP@"
ECHO="@ECHO@"
GREP="@GREP@"
RM="@RM@"
RMDIR="@RMDIR@"
TRUE="@TRUE@"
LOCALBASE=@LOCALBASE@
X11BASE=@X11BASE@
X11_HOSTDEF=${X11BASE}/lib/X11/config/host.def
HOSTDEF=${PKG_PREFIX}/lib/X11/config/host.def
case ${STAGE} in
POST-DEINSTALL)
${ECHO} -n "Updating ${HOSTDEF}..."
${CP} -f ${HOSTDEF} ${HOSTDEF}.bak
( ${GREP} -v LessTif ${HOSTDEF}.bak || ${TRUE} ) > ${HOSTDEF}
${RM} -f ${HOSTDEF}.bak
if [ ${PKG_PREFIX} != ${X11BASE} ] && \
[ -f ${X11_HOSTDEF} ] && \
${CMP} -s ${X11_HOSTDEF} ${HOSTDEF}
then
${RM} -f ${HOSTDEF}
fi
${ECHO} "done."
if [ ${PKG_PREFIX} != ${LOCALBASE} ]
then
${RM} -f ${LOCALBASE}/share/aclocal/ac_find_motif.m4
fi
${RMDIR} -p ${PKG_PREFIX}/lib/X11/config 2>/dev/null || ${TRUE}
;;
esac
exit 0
Master sites:
SHA1: b894e544d529a235a6a665d48ca94a465f44a4e5
RMD160: 643fd81b70b6e8617803ddc4350272ca89b4a71f
Filesize: 2422.923 KB
Version history: (Expand)
- (2021-01-04) Package added to pkgsrc.se, version lesstif-0.95.2nb8 (created)