View Single Post
  #1   (View Single Post)  
Old 2nd November 2008
vermaden's Avatar
vermaden vermaden is offline
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053
Post HOWTO: Fluxbox from GIT

This script will rebuild your Fluxbox to newest version from GIT repository:

#! /bin/sh

# if you use WRKDIRPREFIX in /etc/make.conf
# then modify these to your settings

cd /tmp
git clone git:// \
 || ( echo "\ninstall /usr/ports/devel/git port\n" && exit )
cd fluxbox && ./
cd /usr/ports/x11-wm/fluxbox
make depends
make extract
if [ -z ${WRKDIRPREFIX} ]; then
  SOURCEDIR=$( ls /usr/ports/x11-wm/fluxbox/work )
  rm -rf /usr/ports/x11-wm/fluxbox/work/${SOURCEDIR}
  mv /tmp/fluxbox /usr/ports/x11-wm/fluxbox/work/${SOURCEDIR} \
  || ( echo "\ncheck WRKDIRPREFIX\n" && exit )
  SOURCEDIR=$( ls ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work )
  rm -rf ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work/${SOURCEDIR}
  mv /tmp/fluxbox ${WRKDIRPREFIX}/usr/ports/x11-wm/fluxbox/work/${SOURCEDIR} \
  || ( echo "\ncheck WRKDIRPREFIX\n" && exit )
make build deinstall install clean
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote