Diff for /freem/mk-solaris-package between versions 1.1 and 1.4

version 1.1, 2025/03/08 02:12:22 version 1.4, 2025/03/08 06:24:37
Line 1 Line 1
 #!/usr/bin/bash  #!/usr/bin/bash
   
 PKGTMP="/tmp/CLDWfreem"  PKG=CLDfreem
   ARCH=$1
   VERS=$(cat sem.ver)
   SOLVER=$(uname -a | cut -d' ' -f3)
   PKGFILE=${PKG}-${VERS}-solaris${SOLVER}-${ARCH}.pkg
   
 OLDDIR=$(pwd)  cat <<EOF > pkginfo
 DISTROOT="../../../../"  PKG=${PKG}
   NAME=Coherent Logic Development FreeM programming language and database.
 rm -rf "${PKGTMP}"  ARCH=${ARCH}
   VERSION=${VERS}
 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  CATEGORY=application
 BASEDIR=/usr/local  BASEDIR=/usr/local
 EOF  EOF
   
   pkgmk -o -d /tmp -a ${ARCH}
   touch ${PKGFILE}
   pkgtrans -s /tmp ${PKGFILE} ${PKG}
   rm -r /tmp/${PKG}

Removed from v.1.1  
changed lines
  Added in v.1.4


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