diff options
author | mezz <mezz@FreeBSD.org> | 2008-07-07 11:27:45 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-07-07 11:27:45 +0800 |
commit | e3cf19f9d23cc3a6e100d8e9e663e836a66badae (patch) | |
tree | fe0754ec6a6dfe655b036b679f7105a967b36a26 /devel/ruby-gnomevfs | |
parent | 82a4f33020bd51f6aecf5929d8b12e2864530b53 (diff) | |
download | freebsd-ports-gnome-e3cf19f9d23cc3a6e100d8e9e663e836a66badae.tar.gz freebsd-ports-gnome-e3cf19f9d23cc3a6e100d8e9e663e836a66badae.tar.zst freebsd-ports-gnome-e3cf19f9d23cc3a6e100d8e9e663e836a66badae.zip |
- Update to 0.16.0.20080706, it's more than 0.17 RC1.
- ${RUBY_SITEARCHLIBDIR} -> ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}
in the *_DEPENDS, that way it will finding correct file when I tweak the
PREFIX.
- NOPORTDOCS -> NOPORTEXAMPLES on example/demo/test files.
Diffstat (limited to 'devel/ruby-gnomevfs')
-rw-r--r-- | devel/ruby-gnomevfs/Makefile | 7 | ||||
-rw-r--r-- | devel/ruby-gnomevfs/pkg-plist | 10 |
2 files changed, 9 insertions, 8 deletions
diff --git a/devel/ruby-gnomevfs/Makefile b/devel/ruby-gnomevfs/Makefile index 72d96d1530dc..209d0f81c37f 100644 --- a/devel/ruby-gnomevfs/Makefile +++ b/devel/ruby-gnomevfs/Makefile @@ -8,7 +8,6 @@ PORTNAME= gnomevfs PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= devel ruby gnome MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -19,7 +18,7 @@ DIST_SUBDIR= ruby MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for GnomeVFS -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2 +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/glib2.so:${PORTSDIR}/devel/ruby-glib2 USE_RUBY= yes USE_GNOME= gnomevfs2 @@ -38,9 +37,11 @@ post-patch: general-patch @${FIND} ${WRKSRC} -name '*.bak' -delete post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${RUBY_MODEXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) @${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/devel/ruby-gnomevfs/pkg-plist b/devel/ruby-gnomevfs/pkg-plist index 8219e1efde27..0fd423b7e829 100644 --- a/devel/ruby-gnomevfs/pkg-plist +++ b/devel/ruby-gnomevfs/pkg-plist @@ -3,11 +3,11 @@ %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test3.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test1.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test2.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test3.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% %%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% @dirrmtry %%RUBY_SITEARCHLIBDIR%% |