NetBSD/external/mit/xorg/tools/getlibvers
mrg 5e9e14ff6e part two of excising Xprint support from native xorg:
- delete libXp, libXprintAppUtil and libXprinUtil
- delete printproto
- delete xphelloworld, xplsprinters, xprehashprinterlist,
  xpsimplehelloworld and xpxthelloworld


i'll be removing the sources shortly.
2009-04-20 03:07:13 +00:00

30 lines
839 B
Bash
Executable File

#! /bin/sh
list='expat fontconfig freetype libFS libICE libSM libX11 libXScrnSaver libXTrap libXau libXcomposite libXcursor libXdamage libXdmcp libXevie libXext libXfixes libXfont libXft libXi libXinerama libXmu libXp libXpm libXrandr libXrender libXres libXt libXtst libXv libXvMC libXxf86dga libXxf86misc libXxf86vm libdrm libfontenc libxkbfile libxkbui'
DISTFILES=${DISTFILES-/usr/pkgsrc/distfiles}
for dist in $list; do
updist=$(echo $dist | tr a-z A-Z)
tarball=$(cd ${DISTFILES}; echo ${dist}-*tar*)
tarver=${tarball#${dist}-}
ext=bz2
case $tarball in
*.tar.bz2)
ver=${tarver%.tar.bz2}
;;
*.tar.gz)
ext=gz
ver=${tarver%.tar.gz}
;;
*)
ver=x
echo "dunno what $dist is -- $tarball" 1>&2
;;
esac
if [ "$ver" != x ]; then
echo "${updist}_VERSION = ${ver}"
echo "${updist}_EXT = ${ext}"
fi
done