aboutsummaryrefslogtreecommitdiff
path: root/devel/libgii/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-16 03:55:57 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-16 03:55:57 +0000
commitcdc5952f5140c5c7a948fd5bcfd0c4d819746a89 (patch)
tree581fdc9e19fdc37ce55f6c2eaad4b74786419320 /devel/libgii/Makefile
parentac10bcd06274474938405445c34d9c00d13ba360 (diff)
- 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>
Notes
Notes: svn path=/head/; revision=81077
Diffstat (limited to 'devel/libgii/Makefile')
-rw-r--r--devel/libgii/Makefile18
1 files changed, 12 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 \