summaryrefslogtreecommitdiff
path: root/emulators/compat11/files/configure
blob: 4763b627476a8b03e4e9355f88b81a15e052036e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# $NetBSD: configure,v 1.1.1.1 1998/03/17 21:31:39 tv 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 "${PREFIX}/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