Install examples and new site config.
Submitted by: Don Yuniskis <dgy@rtd.com>
This commit is contained in:
parent
6a5910b60a
commit
66d0618346
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3600
11
cad/acs/scripts/configure
vendored
11
cad/acs/scripts/configure
vendored
@ -6,15 +6,20 @@ sed -e "$sedpgm" <${WRKSRC}/src/md_unix.h >/tmp/sed$$
|
||||
cp /tmp/sed$$ ${WRKSRC}/src/md_unix.h
|
||||
rm /tmp/sed$$
|
||||
|
||||
echo ${WRKSRC}
|
||||
# copy sample acs.rc
|
||||
cp ${FILESDIR}/acs.rc ${WRKSRC}
|
||||
|
||||
# write a simple Makefile to $WRKSRC
|
||||
cat >${WRKSRC}/Makefile <<EOF
|
||||
all:
|
||||
(cd src; make freebsd)
|
||||
|
||||
install:
|
||||
@mkdir -p ${PREFIX}/share/misc
|
||||
@mkdir -p ${PREFIX}/bin
|
||||
@mkdir -p ${PREFIX}/share/acs/examples
|
||||
(cd src/FreeBSD; install -c -s -m 755 -g bin -o bin acs ${PREFIX}/bin)
|
||||
(cd doc; install -c -m 644 -g bin -o bin acs.hlp ${PREFIX}/share/misc)
|
||||
(cd doc; install -c -m 644 -g bin -o bin acs.hlp ${PREFIX}/share/acs)
|
||||
install -c -m 644 -g bin -o bin acs.rc ${PREFIX}/share/acs
|
||||
(cd examples; install -c -m 644 -g bin -o bin *.ckt *.doc ${PREFIX}/share/acs/examples)
|
||||
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user