aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-16 12:14:11 +0800
committerpetef <petef@FreeBSD.org>2003-05-16 12:14:11 +0800
commit3a6ef34aef6a2191cb5ff3654787ebff6a195536 (patch)
treeacaaeef22a5e76219108c02dd8e60ce0e845b4e6
parent9ee1ebaef83c4a44b773a41424ba2200711f544f (diff)
downloadfreebsd-ports-gnome-3a6ef34aef6a2191cb5ff3654787ebff6a195536.tar.gz
freebsd-ports-gnome-3a6ef34aef6a2191cb5ff3654787ebff6a195536.tar.zst
freebsd-ports-gnome-3a6ef34aef6a2191cb5ff3654787ebff6a195536.zip
- add sourceforge as a master site
- add support for KGI4BSD While I'm here, spaces -> ^I. PR: 52091 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
-rw-r--r--graphics/libggi/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index 1b06916bc107..da317d703475 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -8,7 +8,9 @@
PORTNAME= libggi
PORTVERSION= 2.0.3
CATEGORIES= graphics devel
-MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
+MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ggi
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
@@ -22,7 +24,11 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gii=${PREFIX}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.if exists(/usr/include/kgi/kgi.h)
+CONFIGURE_ARGS+= --enable-kgi
+.endif
MAN1= cube3d.1 ggiteleserver.1 monitest.1
MAN3= ggiCopyBox.3 ggiCrossBlit.3 ggiDBGetBuffer.3 \