File:  [Coherent Logic Development] / freem / mk-solaris-package
Revision 1.1: download - view: text, annotated - select for diffs
Sat Mar 8 02:12:22 2025 UTC (3 weeks, 5 days ago) by snw
Branches: MAIN
CVS tags: HEAD
Restructure package-making bits

#!/usr/bin/bash

PKGTMP="/tmp/CLDWfreem"

OLDDIR=$(pwd)
DISTROOT="../../../../"

rm -rf "${PKGTMP}"

cd "${DISTROOT}"
./configure --prefix=${PKGTMP}
make clean
make
make install
./configure --prefix=/usr/local
make clean
make
cp src/freem ${PKGTMP}/bin/
cp src/fmadm ${PKGTMP}/bin/
cd "${OLDDIR}"

cat <<EOF > "${PKGTMP}/pkginfo"
PKG=CLDWfreem
NAME=FreeM programming language and database.
ARCH=sparcv9
VERSION=$(cat ../../../../sem.ver)
CATEGORY=application
BASEDIR=/usr/local
EOF

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>