Fix the breakage regarding bsd.gnome.mk variables.

Submitted by:	Yasuhiro Fukuma <yasuf@bsdclub.org> (MAINTAINER)
This commit is contained in:
Akinori MUSHA 2000-10-15 15:45:59 +00:00
parent 7baf3e6af6
commit 9e8dc5d015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33865
4 changed files with 24 additions and 20 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gtk
PORTVERSION= 0.23
PORTVERSION= 0.23
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://www.ruby-lang.org/gtk/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -23,16 +23,18 @@ USE_XLIB= yes
USE_GTK= yes
WANT_IMLIB= yes
CONFIGURE_ARGS= ${CONFIG_CMD}
INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
.if defined(HAVE_IMLIB)
USE_IMLIB= yes
PLIST_SUB+= IMLIB:=""
CONFIG_CMD= ${IMLIB_CONFIG}
.else
PLIST= ${WRKDIR}/PLIST
pre-install:
@${SED} -e '/gdkimlib/d' ${PKGDIR}/pkg-plist > ${PLIST}
PLIST_SUB+= IMLIB:="@comment "
CONFIG_CMD= ${GTK_CONFIG}
.endif
post-configure:

View File

@ -11,12 +11,12 @@
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_rb.rb
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbdump.rb
@dirrm %%RUBY_EXAMPLESDIR%%/gtk/browser
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
%%IMLIB:%%@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
@dirrm %%RUBY_EXAMPLESDIR%%/gtk
%%RUBY_DOCDIR%%/gtk/Gdk.html
%%RUBY_DOCDIR%%/gtk/GdkImlib.html

View File

@ -6,7 +6,7 @@
#
PORTNAME= gtk
PORTVERSION= 0.23
PORTVERSION= 0.23
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://www.ruby-lang.org/gtk/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -23,16 +23,18 @@ USE_XLIB= yes
USE_GTK= yes
WANT_IMLIB= yes
CONFIGURE_ARGS= ${CONFIG_CMD}
INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
.if defined(HAVE_IMLIB)
USE_IMLIB= yes
PLIST_SUB+= IMLIB:=""
CONFIG_CMD= ${IMLIB_CONFIG}
.else
PLIST= ${WRKDIR}/PLIST
pre-install:
@${SED} -e '/gdkimlib/d' ${PKGDIR}/pkg-plist > ${PLIST}
PLIST_SUB+= IMLIB:="@comment "
CONFIG_CMD= ${GTK_CONFIG}
.endif
post-configure:

View File

@ -11,12 +11,12 @@
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_rb.rb
%%RUBY_EXAMPLESDIR%%/gtk/browser/rbdump.rb
@dirrm %%RUBY_EXAMPLESDIR%%/gtk/browser
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample1.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample2.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample3.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample4.rb
%%IMLIB:%%%%RUBY_EXAMPLESDIR%%/gtk/gdkimlib/sample5.rb
%%IMLIB:%%@dirrm %%RUBY_EXAMPLESDIR%%/gtk/gdkimlib
@dirrm %%RUBY_EXAMPLESDIR%%/gtk
%%RUBY_DOCDIR%%/gtk/Gdk.html
%%RUBY_DOCDIR%%/gtk/GdkImlib.html