aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnocl
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-18 12:39:51 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-18 12:39:51 +0000
commitf4b4b13d3d8217f5d7be6271fdfe0e2814887604 (patch)
treea9003ba1f0348faebad53005065be343d0503d9a /x11-toolkits/gnocl
parent91a31a2cc231e0b85ac08f3fa6aad5e4c71ba7ad (diff)
downloadports-f4b4b13d3d8217f5d7be6271fdfe0e2814887604.tar.gz
ports-f4b4b13d3d8217f5d7be6271fdfe0e2814887604.zip
Notes
Diffstat (limited to 'x11-toolkits/gnocl')
-rw-r--r--x11-toolkits/gnocl/Makefile17
-rw-r--r--x11-toolkits/gnocl/distinfo4
-rw-r--r--x11-toolkits/gnocl/pkg-plist1
3 files changed, 18 insertions, 4 deletions
diff --git a/x11-toolkits/gnocl/Makefile b/x11-toolkits/gnocl/Makefile
index bc662ca760ce..eeb61f7ca416 100644
--- a/x11-toolkits/gnocl/Makefile
+++ b/x11-toolkits/gnocl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnocl
-PORTVERSION= 0.5.17
-PORTREVISION= 1
+PORTVERSION= 0.5.18
CATEGORIES= x11-toolkits devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnocl
@@ -37,6 +36,7 @@ CFLAGS+= -fPIC
GNOCL_CANVAS_FILE="lib/libgnoclCanvas.so.1"
GNOCL_GCONF_FILE="lib/libgnoclGconf.so.1"
GNOCL_GNOME_FILE="lib/libgnoclGnome.so.1"
+GNOCL_VFS_FILE="lib/libgnoclVFS.so.1"
.if defined(WITHOUT_CANVAS)
GNOCL_CANVAS_FILE= "@comment "
@@ -56,9 +56,16 @@ GNOCL_GNOME_FILE= "@comment "
USE_GNOME+= libgnomeui gnomepanel
.endif
+.if defined(WITHOUT_GNOMEVFS2)
+GNOCL_VFS_FILE= "@comment "
+.else
+USE_GNOME+= gnomevfs2
+.endif
+
PLIST_SUB+= GNOCL_CANVAS_FILE=${GNOCL_CANVAS_FILE}
PLIST_SUB+= GNOCL_GCONF_FILE=${GNOCL_GCONF_FILE}
PLIST_SUB+= GNOCL_GNOME_FILE=${GNOCL_GNOME_FILE}
+PLIST_SUB+= GNOCL_VFS_FILE=${GNOCL_VFS_FILE}
post-patch:
.if defined(WITHOUT_CANVAS)
@@ -70,6 +77,9 @@ post-patch:
.if defined(WITHOUT_GNOME)
${REINPLACE_CMD} -e 's=^USE_GNOME=#USE_GNOME=' ${BUILD_WRKSRC}/Makefile
.endif
+.if defined(WITHOUT_GNOMEVFS2)
+ ${REINPLACE_CMD} -e 's=^USE_VFS=#USE_VFS=' ${BUILD_WRKSRC}/Makefile
+.endif
do-install:
${INSTALL_DATA} ${BUILD_WRKSRC}/gnocl.so ${PREFIX}/lib/libgnocl.so.1
@@ -82,5 +92,8 @@ do-install:
if ${TEST} -f ${BUILD_WRKSRC}/gnoclGnome.so; then \
${INSTALL_DATA} ${BUILD_WRKSRC}/gnoclGnome.so ${PREFIX}/lib/libgnoclGnome.so.1; \
fi; \
+ if ${TEST} -f ${BUILD_WRKSRC}/gnoclVFS.so; then \
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/gnoclVFS.so ${PREFIX}/lib/libgnoclVFS.so.1; \
+ fi; \
.include <bsd.port.post.mk>
diff --git a/x11-toolkits/gnocl/distinfo b/x11-toolkits/gnocl/distinfo
index d42f457810a5..ea53887b8438 100644
--- a/x11-toolkits/gnocl/distinfo
+++ b/x11-toolkits/gnocl/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnocl-0.5.17.tar.bz2) = 7bf93edbdd3a2de2e0f92a9aecb662ce
-SIZE (gnocl-0.5.17.tar.bz2) = 346878
+MD5 (gnocl-0.5.18.tar.bz2) = f50192add7a85f17b7d2402a104de291
+SIZE (gnocl-0.5.18.tar.bz2) = 366478
diff --git a/x11-toolkits/gnocl/pkg-plist b/x11-toolkits/gnocl/pkg-plist
index 16976eb287d2..31fd41460a92 100644
--- a/x11-toolkits/gnocl/pkg-plist
+++ b/x11-toolkits/gnocl/pkg-plist
@@ -2,3 +2,4 @@ lib/libgnocl.so.1
%%GNOCL_CANVAS_FILE%%
%%GNOCL_GCONF_FILE%%
%%GNOCL_GNOME_FILE%%
+%%GNOCL_VFS_FILE%%