diff options
Diffstat (limited to 'devel/ruby-glib2')
-rw-r--r-- | devel/ruby-glib2/Makefile | 3 | ||||
-rw-r--r-- | devel/ruby-glib2/files/patch-mkmf-gnome2.rb | 15 | ||||
-rw-r--r-- | devel/ruby-glib2/pkg-plist | 2 |
3 files changed, 4 insertions, 16 deletions
diff --git a/devel/ruby-glib2/Makefile b/devel/ruby-glib2/Makefile index d6dd123ddffb..8ab8d8090751 100644 --- a/devel/ruby-glib2/Makefile +++ b/devel/ruby-glib2/Makefile @@ -7,7 +7,6 @@ PORTNAME= glib2 PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= devel ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -33,6 +32,8 @@ DOCS= ChangeLog \ post-install: .if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODEXAMPLESDIR} + ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/devel/ruby-glib2/files/patch-mkmf-gnome2.rb b/devel/ruby-glib2/files/patch-mkmf-gnome2.rb deleted file mode 100644 index b3541c1f364d..000000000000 --- a/devel/ruby-glib2/files/patch-mkmf-gnome2.rb +++ /dev/null @@ -1,15 +0,0 @@ ---- src/lib/mkmf-gnome2.rb.orig Sun Sep 7 21:00:32 2003 -+++ src/lib/mkmf-gnome2.rb Sat Oct 18 19:41:58 2003 -@@ -137,11 +137,7 @@ - end - end - --alias :old_create_makefile :create_makefile --def create_makefile(lib, src_prefix = nil) -- $CFLAGS << " -I$(sitearchdir) " -- old_create_makefile(lib, src_prefix) --end -+$CPPFLAGS << " -I$(sitearchdir) " - - def create_top_makefile(sub_dirs = ["src"]) - mfile = File.open("Makefile", "w") diff --git a/devel/ruby-glib2/pkg-plist b/devel/ruby-glib2/pkg-plist index 79815fb856bd..f3bf02f999f4 100644 --- a/devel/ruby-glib2/pkg-plist +++ b/devel/ruby-glib2/pkg-plist @@ -1,6 +1,8 @@ %%RUBY_SITEARCHLIBDIR%%/glib2.so %%RUBY_SITELIBDIR%%/glib2.rb %%RUBY_SITELIBDIR%%/mkmf-gnome2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/type-register.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |