aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgii
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-16 11:55:57 +0800
committerpetef <petef@FreeBSD.org>2003-05-16 11:55:57 +0800
commit9ee1ebaef83c4a44b773a41424ba2200711f544f (patch)
tree83000354395ef21960684f2c79574e1785ceafe6 /devel/libgii
parent8bea0d05f9adae9ddd29b10caff5d6f8555afece (diff)
downloadfreebsd-ports-gnome-9ee1ebaef83c4a44b773a41424ba2200711f544f.tar.gz
freebsd-ports-gnome-9ee1ebaef83c4a44b773a41424ba2200711f544f.tar.zst
freebsd-ports-gnome-9ee1ebaef83c4a44b773a41424ba2200711f544f.zip
- add sourceforge as a master site
- remove some stale comments - add support for KGI4BSD While I'm here, () -> {}. PR: 52091 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
Diffstat (limited to 'devel/libgii')
-rw-r--r--devel/libgii/Makefile18
-rw-r--r--devel/libgii/pkg-plist2
2 files changed, 14 insertions, 6 deletions
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile
index 5c01f1223ec3..6e9727c26e1b 100644
--- a/devel/libgii/Makefile
+++ b/devel/libgii/Makefile
@@ -8,20 +8,26 @@
PORTNAME= libgii
PORTVERSION= 0.8.3
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
-DISTNAME= $(PORTNAME)-$(PORTVERSION).src
+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
-COMMENT= API for input sources
+COMMENT= GGI API for input sources
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_XLIB= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-# NOTE: We can not define USE_LIBTOOL for this port to build.
-#USE_LIBTOOL= yes
-CFLAGS+= ${PTHREAD_LIBS}
+
+.if exists(/usr/include/kii/kii.h)
+CONFIGURE_ARGS+= --enable-kii
+PLIST_SUB+= KII=""
+.else
+PLIST_SUB+= KII="@comment "
+.endif
MAN1= mhub.1
MAN3= giiEventPoll.3 giiEventSend.3 giiInit.3 \
diff --git a/devel/libgii/pkg-plist b/devel/libgii/pkg-plist
index 41b6013877a2..2f8768f77f70 100644
--- a/devel/libgii/pkg-plist
+++ b/devel/libgii/pkg-plist
@@ -30,6 +30,8 @@ lib/ggi/filter/tcp.la
lib/ggi/filter/tcp.so
lib/ggi/input/file.la
lib/ggi/input/file.so
+%%KII%%lib/ggi/input/kii.la
+%%KII%%lib/ggi/input/kii.so
lib/ggi/input/linux_mouse.la
lib/ggi/input/linux_mouse.so
lib/ggi/input/mouse.la