4f87b1161c
Prodded by: kris, Jason Morgan <jwm-freebsd@sentinelchicken.net>
62 lines
1.8 KiB
Makefile
62 lines
1.8 KiB
Makefile
# New ports collection makefile for: grass
|
|
# Date created: 15 January 2000
|
|
# Whom: reg
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= grass
|
|
PORTVERSION= 5.0.0.p4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://grass.itc.it/grass5/source/ \
|
|
ftp://grass.baylor.edu/pub/grass/grass5/source/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.p/pre/}
|
|
DISTFILES= ${DISTNAME}_src${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= reg@FreeBSD.org
|
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
gd.2:${PORTSDIR}/graphics/gd \
|
|
fftw.2:${PORTSDIR}/math/fftw \
|
|
iconv.3:${PORTSDIR}/converters/libiconv \
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
gdbm.2:${PORTSDIR}/databases/gdbm \
|
|
pq.2:${PORTSDIR}/databases/postgresql7 \
|
|
odbc.1:${PORTSDIR}/databases/unixODBC \
|
|
lapack.3:${PORTSDIR}/math/lapack
|
|
BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83 \
|
|
wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
|
RUN_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83 \
|
|
wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
EXTRACT_AFTER_ARGS= | tar -xf - --exclude *CVS*
|
|
USE_XLIBS= yes
|
|
USE_MESA= yes
|
|
USE_BISON= yes
|
|
USE_GMAKE= yes
|
|
USE_PERL5= yes
|
|
USE_AUTOCONF= yes
|
|
CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \
|
|
--with-libs=${LOCALBASE}/lib \
|
|
--with-gd-includes=${LOCALBASE}/include/gd \
|
|
--with-tcltk-includes="${LOCALBASE}/include/tcl8.3 \
|
|
${LOCALBASE}/include/tk8.3" \
|
|
--with-postgres-includes=${LOCALBASE}/include/postgresql/internal/ \
|
|
--with-opengl-includes=${X11BASE}/include \
|
|
--with-opengl-libs=${X11BASE}/lib \
|
|
--with-freetype \
|
|
--with-freetype-includes=${LOCALBASE}/include/freetype2 \
|
|
--with-blas \
|
|
--with-lapack \
|
|
--with-nls \
|
|
--without-motif
|
|
|
|
post-install:
|
|
-(cd ${PREFIX} && ${GREP} -v "@" ${PLIST} | \
|
|
xargs ${STRIP_CMD} 2> /dev/null)
|
|
|
|
.include <bsd.port.mk>
|