Annotation of freem/mk-solaris-package, revision 1.1
1.1 ! snw 1: #!/usr/bin/bash
! 2:
! 3: PKGTMP="/tmp/CLDWfreem"
! 4:
! 5: OLDDIR=$(pwd)
! 6: DISTROOT="../../../../"
! 7:
! 8: rm -rf "${PKGTMP}"
! 9:
! 10: cd "${DISTROOT}"
! 11: ./configure --prefix=${PKGTMP}
! 12: make clean
! 13: make
! 14: make install
! 15: ./configure --prefix=/usr/local
! 16: make clean
! 17: make
! 18: cp src/freem ${PKGTMP}/bin/
! 19: cp src/fmadm ${PKGTMP}/bin/
! 20: cd "${OLDDIR}"
! 21:
! 22: cat <<EOF > "${PKGTMP}/pkginfo"
! 23: PKG=CLDWfreem
! 24: NAME=FreeM programming language and database.
! 25: ARCH=sparcv9
! 26: VERSION=$(cat ../../../../sem.ver)
! 27: CATEGORY=application
! 28: BASEDIR=/usr/local
! 29: EOF
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>