DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 2nd November 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Post HOWTO: Fluxbox from GIT

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

Code:
#! /bin/sh

# if you use WRKDIRPREFIX in /etc/make.conf
# then modify these to your settings
PORTSDIR=/usr/ports
WRKDIRPREFIX=${PORTSDIR}/obj

cd /tmp
git clone git://git.fluxbox.org/fluxbox.git \
 || ( echo "\ninstall /usr/ports/devel/git port\n" && exit )
cd fluxbox && ./autogen.sh
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 )
else
  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 )
fi
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
 

Tags
freebsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox don't start Artur FreeBSD General 4 3rd September 2009 01:04 PM
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
Fluxbox fbsetbg problem rex FreeBSD General 6 12th September 2008 05:18 PM
OpenBSD 4.3, XDM + FluxBox WeakSauceIII General software and network 2 19th May 2008 08:34 PM
gtk themes for fluxbox rex FreeBSD General 0 18th May 2008 03:24 AM


All times are GMT. The time now is 11:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick