aboutsummaryrefslogtreecommitdiff
path: root/devel/libgii
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-26 23:12:20 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-26 23:12:20 +0000
commitdca635a8c454845b2dbd1cd94ee0dc0d401f6aac (patch)
treea5996b3ebaa4e8c50ad25eafa2f9aea38307d954 /devel/libgii
parent5671ee65599a97a0288a1de94508ec9f49ad1973 (diff)
downloadports-dca635a8c454845b2dbd1cd94ee0dc0d401f6aac.tar.gz
ports-dca635a8c454845b2dbd1cd94ee0dc0d401f6aac.zip
Notes
Diffstat (limited to 'devel/libgii')
-rw-r--r--devel/libgii/Makefile12
-rw-r--r--devel/libgii/pkg-plist26
2 files changed, 21 insertions, 17 deletions
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile
index 7fc9a4959d89..9cc6af5f4269 100644
--- a/devel/libgii/Makefile
+++ b/devel/libgii/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgii
PORTVERSION= 0.8.4
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.0/ \
${MASTER_SITE_SOURCEFORGE}
@@ -23,6 +24,13 @@ USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+.if !exists(/usr/include/vgl.h)
+CONFIGURE_ARGS+= --disable-vgl
+PLIST_SUB+= VGL="@comment "
+.else
+PLIST_SUB+= VGL=""
+.endif
+
.if exists(/usr/include/kii/kii.h)
CONFIGURE_ARGS+= --enable-kii
PLIST_SUB+= KII=""
@@ -62,10 +70,6 @@ EXAMPLES= demos/demo.c demos/filter.c \
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Broken pkg-plist on !i386"
-.endif
-
post-configure:
@${REINPLACE_CMD} -e 's/\(deplibs\) -lc/\1/;' ${WRKSRC}/libtool
diff --git a/devel/libgii/pkg-plist b/devel/libgii/pkg-plist
index 2f8768f77f70..5b0961b29fb2 100644
--- a/devel/libgii/pkg-plist
+++ b/devel/libgii/pkg-plist
@@ -44,8 +44,8 @@ lib/ggi/input/stdin.la
lib/ggi/input/stdin.so
lib/ggi/input/tcp.la
lib/ggi/input/tcp.so
-lib/ggi/input/vgl.la
-lib/ggi/input/vgl.so
+%%VGL%%lib/ggi/input/vgl.la
+%%VGL%%lib/ggi/input/vgl.so
lib/ggi/input/x.la
lib/ggi/input/x.so
lib/ggi/input/xwin.la
@@ -56,17 +56,17 @@ lib/libgg.so.0
lib/libgii.la
lib/libgii.so
lib/libgii.so.0
-share/doc/libgii/ChangeLog
-share/doc/libgii/NEWS
-share/doc/libgii/README
-share/doc/libgii/env.txt
-share/doc/libgii/inputs.txt
-share/examples/libgii/demo.c
-share/examples/libgii/filter.c
-share/examples/libgii/mhub.c
-share/examples/libgii/xsendbut.c
-@dirrm share/examples/libgii
-@dirrm share/doc/libgii
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/env.txt
+%%PORTDOCS%%%%DOCSDIR%%/inputs.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/filter.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/mhub.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/xsendbut.c
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/ggi/input
@dirrm lib/ggi/filter
@dirrm lib/ggi