diff options
Diffstat (limited to 'x11-toolkits/ruby-gtk')
-rw-r--r-- | x11-toolkits/ruby-gtk/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk/distinfo | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/x11-toolkits/ruby-gtk/Makefile b/x11-toolkits/ruby-gtk/Makefile index abcae59f57f5..c1dcad46f86c 100644 --- a/x11-toolkits/ruby-gtk/Makefile +++ b/x11-toolkits/ruby-gtk/Makefile @@ -23,7 +23,22 @@ USE_RUBY_EXTCONF= yes USE_XLIB= yes USE_GNOME= gtk12 -.include "${.CURDIR}/../../x11/ruby-gnome/Makefile.common" +RUBY_GNOME_VERSION= 0.34 +#RUBY_GNOME_SNAPSHOTDATE= 20010224 +.if defined(RUBY_GNOME_SNAPSHOTDATE) +RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE} +.else +RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION} +.endif +RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome +RUBY_GNOME_DISTNAME= ruby-gnome-all-${RUBY_GNOME_VERSION} + +.if defined(RUBY_GNOME_SNAPSHOTDATE) +RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome-snapshot-${RUBY_GNOME_SNAPSHOTDATE} +.else +RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} +.endif WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG} @@ -38,6 +53,7 @@ DOCS_EN= BUGS \ DOCS_JA= README.EXT.ja post-extract: + ${FIND} ${WRKSRC} -name CVS -type d -print0 | ${XARGS} -0 ${RM} -rf ${MKDIR} ${WRKSRC}/sample/browser ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser/ diff --git a/x11-toolkits/ruby-gtk/distinfo b/x11-toolkits/ruby-gtk/distinfo new file mode 100644 index 000000000000..2a38a0a3638a --- /dev/null +++ b/x11-toolkits/ruby-gtk/distinfo @@ -0,0 +1,2 @@ +MD5 (ruby/ruby-gnome-all-0.34.tar.gz) = 62785a2099cf53d9cb9b0d34a4dd2b72 +SIZE (ruby/ruby-gnome-all-0.34.tar.gz) = 463339 |