diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2008-04-27 06:17:46 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2008-04-27 06:17:46 +0000 |
commit | fa8d31bce3af133733eaf5327a029cbc61fc46e5 (patch) | |
tree | a9c49da7cc7cbc9378abc16f3e8df746c98416cb /x11-toolkits | |
parent | c3710720546a5724d1f1086c78110766d2e46641 (diff) | |
download | ports-fa8d31bce3af133733eaf5327a029cbc61fc46e5.tar.gz ports-fa8d31bce3af133733eaf5327a029cbc61fc46e5.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtkdatabox2/Makefile | 52 | ||||
-rw-r--r-- | x11-toolkits/gtkdatabox2/distinfo | 6 | ||||
-rw-r--r-- | x11-toolkits/gtkdatabox2/files/patch-examples::colors.c | 14 | ||||
-rw-r--r-- | x11-toolkits/gtkdatabox2/pkg-plist | 28 |
4 files changed, 73 insertions, 27 deletions
diff --git a/x11-toolkits/gtkdatabox2/Makefile b/x11-toolkits/gtkdatabox2/Makefile index 8e3c04ad14c0..c88270643929 100644 --- a/x11-toolkits/gtkdatabox2/Makefile +++ b/x11-toolkits/gtkdatabox2/Makefile @@ -6,20 +6,60 @@ # PORTNAME= gtkdatabox2 -PORTVERSION= 0.2.4.5 -PORTREVISION= 5 +PORTVERSION= 0.8.2.2 CATEGORIES= x11-toolkits MASTER_SITES= http://www.eudoxos.de/gtk/gtkdatabox/download/ -DISTNAME= gtkdatabox-${PORTVERSION} +DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= leoz.2005@gmail.com COMMENT= A GTK+2 widget to display large amounts of numerical data -USE_GNOME= gtk20 -USE_AUTOTOOLS= libtool:15 +CONFLICTS= gtkdatabox-0.1.* USE_LDCONFIG= yes +USE_GNOME= gnomehack gtk20 +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ARGS+= --includedir="${PREFIX}/include/${PORTNAME:S/2//}" CONFLICTS= gtkdatabox-0.1.* -.include <bsd.port.mk> +OPTIONS= GLADE "Enable libglade2 support" off \ + GLADEUI "Enable glade3 support" off + +.include <bsd.port.pre.mk> + +.if !defined(NOPORTEXAMPLES) +PORTEXAMPLES= *.c +.endif + +.if !defined(WITHOUT_GLADE) +USE_GNOME+= libglade2 +CONFIGURE_ARGS+= --enable-libglade +PLIST_SUB+= GLADE="" +.else +CONFIGURE_ARGS+= --disable-libglade +PLIST_SUB+= GLADE="@comment " +.endif + +.if !defined(WITHOUT_GLADEUI) +LIB_DEPENDS+= gladeui-1.7:${PORTSDIR}/devel/glade3 +CONFIGURE_ARGS+= --enable-glade +PLIST_SUB+= GLADEUI="" +.else +CONFIGURE_ARGS+= --disable-glade +PLIST_SUB+= GLADEUI="@comment " +.endif + +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|@libglade_moduledir@|@prefix@/lib/libglade/2.0|g ; \ + s|@glade_moduledir@|@prefix@/lib/glade3/modules|g ; \ + s|@glade_catalogdir@|@prefix@/share/glade3/catalogs|g' + +post-install: +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/${PORTEXAMPLES} ${EXAMPLESDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/gtkdatabox2/distinfo b/x11-toolkits/gtkdatabox2/distinfo index 95b02a0c568c..1ef45f83e438 100644 --- a/x11-toolkits/gtkdatabox2/distinfo +++ b/x11-toolkits/gtkdatabox2/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gtkdatabox-0.2.4.5.tar.gz) = f26cf3e51845dbb6d41e683dd407d887 -SHA256 (gnome2/gtkdatabox-0.2.4.5.tar.gz) = b09830e3b3c5c4a52fbcb6d294e0e407090260c64cf82e47e56f9fc7034e3778 -SIZE (gnome2/gtkdatabox-0.2.4.5.tar.gz) = 212005 +MD5 (gnome2/gtkdatabox-0.8.2.2.tar.gz) = 582c1618410fc53c0586c542cca20285 +SHA256 (gnome2/gtkdatabox-0.8.2.2.tar.gz) = 5a024b5e711ba147af462a6f38248a867035f40b5653b562b6bef9d28342a151 +SIZE (gnome2/gtkdatabox-0.8.2.2.tar.gz) = 384455 diff --git a/x11-toolkits/gtkdatabox2/files/patch-examples::colors.c b/x11-toolkits/gtkdatabox2/files/patch-examples::colors.c deleted file mode 100644 index 3d5265ca5c2a..000000000000 --- a/x11-toolkits/gtkdatabox2/files/patch-examples::colors.c +++ /dev/null @@ -1,14 +0,0 @@ -*** examples/colors.c.orig Mon Jul 5 22:42:37 2004 ---- examples/colors.c Mon Jul 5 22:37:05 2004 -*************** -*** 16,21 **** ---- 16,24 ---- - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ -+ #ifdef GTK_DISABLE_DEPRECATED -+ #undef GTK_DISABLE_DEPRECATED -+ #endif /* GTK_DISABLE_DEPRECATED */ - #include <stdio.h> - #include <gtk/gtk.h> - #include <gtk/gtkcolorsel.h> diff --git a/x11-toolkits/gtkdatabox2/pkg-plist b/x11-toolkits/gtkdatabox2/pkg-plist index 8cb2a0ef79b1..02dc92aab113 100644 --- a/x11-toolkits/gtkdatabox2/pkg-plist +++ b/x11-toolkits/gtkdatabox2/pkg-plist @@ -1,7 +1,27 @@ -include/gtkdatabox.h -include/gtkdataboxmarshal.h -lib/libgtkdatabox-0.2.4.so -lib/libgtkdatabox-0.2.4.so.5 +include/gtkdatabox/gtkdatabox.h +include/gtkdatabox/gtkdatabox_bars.h +include/gtkdatabox/gtkdatabox_canvas.h +include/gtkdatabox/gtkdatabox_cross_simple.h +include/gtkdatabox/gtkdatabox_graph.h +include/gtkdatabox/gtkdatabox_grid.h +include/gtkdatabox/gtkdatabox_lines.h +include/gtkdatabox/gtkdatabox_marker.h +include/gtkdatabox/gtkdatabox_marshal.h +include/gtkdatabox/gtkdatabox_points.h +include/gtkdatabox/gtkdatabox_ruler.h +include/gtkdatabox/gtkdatabox_scale.h +include/gtkdatabox/gtkdatabox_xyc_graph.h +%%GLADEUI%%lib/glade3/modules/libgladedatabox.a +%%GLADEUI%%lib/glade3/modules/libgladedatabox.la +%%GLADEUI%%lib/glade3/modules/libgladedatabox.so +%%GLADE%%lib/libglade/2.0/libdatabox.a +%%GLADE%%lib/libglade/2.0/libdatabox.la +%%GLADE%%lib/libglade/2.0/libdatabox.so +lib/libgtkdatabox-0.8.2.so +lib/libgtkdatabox-0.8.2.so.2 lib/libgtkdatabox.a lib/libgtkdatabox.la lib/libgtkdatabox.so +libdata/pkgconfig/gtkdatabox.pc +%%GLADEUI%%share/glade3/catalogs/gtkdatabox.xml +@dirrm include/gtkdatabox |