Path to this page:
./
pkgtools/xpkgwedge,
Allows X11 pkgs to be built and used outside of
Branch: pkgsrc-2011Q1,
Version: 1.17,
Package name: xpkgwedge-1.17,
Maintainer: pkgsrc-usersXpkgwedge, not a "real" program in the traditional sense, is a hack that
allows users to compile X11 pkgs from pkgsrc and install them outside of
the X11 tree - even if they use imake - by using pkgxmkmf.
Pkgxmkmf is a slightly modified xmkmf from the X11R6.3 release and supports
finding config files in ${LOCALBASE}/lib/X11/config, if it exists, and in
${X11BASE}/lib/X11/config. In all other respects, it is identical to xmkmf.
Please refer to xmkmf(1) for more information.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.9 2004/04/30 19:44:21 tv Exp $
FONT_PROGS="@FONT_PROGS@"
X11BASE=@X11BASE@
X11_HOSTDEF=${X11BASE}/lib/X11/config/host.def
HOSTDEF=${PKG_PREFIX}/lib/X11/config/host.def
SITEDEF=${PKG_PREFIX}/lib/X11/config/site.def
SV4LIB=${PKG_PREFIX}/lib/X11/config/sv4Lib.tmpl
case ${STAGE} in
VIEW-DEINSTALL)
${ECHO_N} "Removing font program symlinks from view..."
for prog in ${FONT_PROGS}; do
if [ -f ${PKG_PREFIX}/bin/$prog -a \
${PKG_PREFIX} != ${X11BASE} ]; then
${RM} -f ${PKG_PREFIX}/bin/$prog
fi
done
${ECHO} "done."
${ECHO_N} "Updating ${HOSTDEF}..."
${CP} -f ${HOSTDEF} ${HOSTDEF}.bak
( ${GREP} -v xpkgwedge ${HOSTDEF}.bak || ${TRUE} ) > ${HOSTDEF}
${RM} -f ${HOSTDEF}.bak
if [ ${PKG_PREFIX} != ${X11BASE} -a -f ${X11_HOSTDEF} ] && \
${CMP} -s ${X11_HOSTDEF} ${HOSTDEF}; then
${RM} -f ${HOSTDEF}
fi
case `uname`:${X11BASE} in
*:*openwin)
${RM} -f ${SITEDEF} ${SV4LIB}
;;
Interix:/usr/X11R6)
${RM} -f ${SITEDEF}
;;
esac
${ECHO} "done."
;;
DEINSTALL)
${ECHO_N} "Removing font program symlinks..."
for prog in ${FONT_PROGS}; do
if [ -f ${PKG_PREFIX}/bin/$prog -a \
${PKG_PREFIX} != ${X11BASE} ]; then
${RM} -f ${PKG_PREFIX}/bin/$prog
fi
done
${ECHO} "done."
;;
POST-DEINSTALL)
${RMDIR} -p ${PKG_PREFIX}/lib/X11/config 2>/dev/null || ${TRUE}
;;
esac
Version history: (Expand)
- (2011-04-04) Package added to pkgsrc.se, version xpkgwedge-1.17 (created)