FreeBSD5.4のportsから、php5をインストールしようとしているのですが・・・

cd /usr/ports/www/mod_php5
make CONFIGURE_ARGS="--with-apxs=/usr/local/sbin/apxs \
--with-pgsql --with-mysql --enable-mbstring --with-dom --with-xml \
--enable-xsl --with-zlib --enable-mbregex --enable-zend-multibyte --enable-ftp\
--with-mcrypt --with-openssl \
--with-gd --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib"

とすると、

configure: error: libjpeg.(a|so) not found.
と言われてしまいます。どうすれば、これに対応できるのでしょうか?

よろしくお願いします。