2000-01-29 07:18:55 +00:00
|
|
|
# New ports collection makefile for: grass
|
|
|
|
# Date created: 15 January 2000
|
|
|
|
# Whom: reg
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= grass
|
2000-09-07 15:58:31 +00:00
|
|
|
PORTVERSION= 5.0b8
|
2000-01-29 07:18:55 +00:00
|
|
|
CATEGORIES= databases
|
2000-01-29 21:28:02 +00:00
|
|
|
MASTER_SITES= ftp://grass.baylor.edu/pub/grass/grass5.0beta/source/ \
|
|
|
|
http://www.geog.uni-hannover.de/grass/grass5/source/
|
2000-09-07 15:58:31 +00:00
|
|
|
DISTNAME= grass5.0beta8_src
|
2000-01-29 07:18:55 +00:00
|
|
|
|
2000-01-29 22:11:15 +00:00
|
|
|
MAINTAINER= reg@FreeBSD.org
|
2000-01-29 07:18:55 +00:00
|
|
|
|
2000-09-28 07:01:53 +00:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
png.4:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
2000-01-29 21:28:02 +00:00
|
|
|
BUILD_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
|
|
|
|
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
|
2000-01-29 07:18:55 +00:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2000-09-07 15:58:31 +00:00
|
|
|
CONFIGURE_ARGS+=--with-tiff-includes=${LOCALBASE}/include \
|
2000-01-29 07:18:55 +00:00
|
|
|
--with-tiff-libs=${LOCALBASE}/lib \
|
|
|
|
--prefix=${WRKDIR}/grass5 \
|
|
|
|
--with-bindir=${WRKDIR}/grass5/bin
|
|
|
|
|
2000-09-07 15:58:31 +00:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-01-29 07:18:55 +00:00
|
|
|
|
|
|
|
ALL_TARGET= install
|
|
|
|
|
|
|
|
SED_FILES= \
|
|
|
|
bin/gmake5 \
|
|
|
|
bin/gmakelinks5 \
|
2000-09-07 15:58:31 +00:00
|
|
|
bin/grass5 \
|
2000-01-29 07:18:55 +00:00
|
|
|
dev/create_fifos.sh \
|
|
|
|
etc/paint/driver.rsh \
|
|
|
|
etc/monitorcap \
|
|
|
|
scripts/create_fifos.sh
|
|
|
|
|
|
|
|
pre-configure:
|
2000-01-29 21:28:02 +00:00
|
|
|
@${MKDIR} ${WRKDIR}/grass5/bin
|
2000-01-29 07:18:55 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/grass5
|
|
|
|
${CHMOD} 755 ${PREFIX}/grass5
|
|
|
|
cd ${WRKDIR}/grass5 && ${TAR} -cf - * | \
|
|
|
|
${TAR} -xpf - -C ${PREFIX}/grass5
|
|
|
|
.for F in ${SED_FILES}
|
2000-01-29 21:28:02 +00:00
|
|
|
${SED} -e "s^${WRKDIR}^${PREFIX}^g" \
|
2000-01-29 07:18:55 +00:00
|
|
|
${WRKDIR}/grass5/$F > ${PREFIX}/grass5/$F
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|