I found out about pdfedit this morning, although I have been looking for such a program for a long time. This is great.

To compile it under FreeBSD 6.2 (Qt 3.38, Xorg 7.2), I did the following:

tar zxvf pdfedit-0.3.1.tar.bz2
cd pdfedit-0.3.1
setenv QTDIR /usr/local
setenv QMAKESPEC /usr/local/share/qt/mkspecs/freebsd-g++
setenv LOCALBASE /usr/local
cd src/xpdf
./configure  --with-t1-library="${LOCALBASE}/lib"  --with-t1-includes="${LOCALBASE}/include"

#make sure you see this:
#checking for T1_InitLib in -lt1... yes
#using t1 library

cd ../..

Thanks for this great piece of software.