aboutsummaryrefslogtreecommitdiffstats
path: root/databases/grass/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-01-29 15:18:55 +0800
committerreg <reg@FreeBSD.org>2000-01-29 15:18:55 +0800
commitbeecc44b9a2ff9cbd3e6e1c1fd996065910c1bf2 (patch)
tree1512db842f4d4e790f600cd55a5c168fdf7b58fd /databases/grass/Makefile
parent06dd5c1a282db9ce1349f126aa63e9c439e37756 (diff)
downloadfreebsd-ports-gnome-beecc44b9a2ff9cbd3e6e1c1fd996065910c1bf2.tar.gz
freebsd-ports-gnome-beecc44b9a2ff9cbd3e6e1c1fd996065910c1bf2.tar.zst
freebsd-ports-gnome-beecc44b9a2ff9cbd3e6e1c1fd996065910c1bf2.zip
Initial import of GRASS 5.0beta5.
GRASS is a fully featured open-source GIS.
Diffstat (limited to 'databases/grass/Makefile')
-rw-r--r--databases/grass/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/databases/grass/Makefile b/databases/grass/Makefile
new file mode 100644
index 000000000000..e682b9b1d4ba
--- /dev/null
+++ b/databases/grass/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: grass
+# Version required: 5.0beta5
+# Date created: 15 January 2000
+# Whom: reg
+#
+# $FreeBSD$
+#
+
+DISTNAME= grass5.0beta5
+PKGNAME= grass-5.0b5
+CATEGORIES= databases
+MASTER_SITES= ftp://grass.baylor.edu/pub/grass/
+
+MAINTAINER= reg@freebsd.org
+
+LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-tiff-includes=${LOCALBASE}/include \
+ --with-tiff-libs=${LOCALBASE}/lib \
+ --prefix=${WRKDIR}/grass5 \
+ --with-bindir=${WRKDIR}/grass5/bin
+
+WRKSRC= ${WRKDIR}/grass5.0beta
+
+ALL_TARGET= install
+
+SED_FILES= \
+ bin/gmake5 \
+ bin/gmakelinks5 \
+ bin/grass5.0beta5 \
+ dev/create_fifos.sh \
+ etc/paint/driver.rsh \
+ etc/monitorcap \
+ scripts/create_fifos.sh
+
+pre-configure:
+ @${MKDIR} -p ${WRKDIR}/grass5/bin
+
+do-install:
+ ${MKDIR} ${PREFIX}/grass5
+ ${CHMOD} 755 ${PREFIX}/grass5
+ cd ${WRKDIR}/grass5 && ${TAR} -cf - * | \
+ ${TAR} -xpf - -C ${PREFIX}/grass5
+.for F in ${SED_FILES}
+ @${SED} -e "s^${WRKDIR}^${PREFIX}^g" \
+ ${WRKDIR}/grass5/$F > ${PREFIX}/grass5/$F
+.endfor
+
+.include <bsd.port.mk>
+