#!/bin/sh
# $NetBSD: configure,v 1.2 1998/05/08 21:33:21 tron Exp $
# Configure package and create its Makefile and PLIST

echo Configuring compat11 package

for file in lib*.so*; do
	echo >>Makefile "FILES+=$file"
	echo >>.PLIST "lib/$file"
done

cat >>Makefile <<EOF

install:
	@echo Installing...
	\${BSD_INSTALL_DATA} \${FILES} \${PREFIX}/lib
EOF

cat >>.PLIST <<EOF
@exec /sbin/ldconfig || /usr/bin/true
@unexec /sbin/ldconfig || /usr/bin/true
EOF
