diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2008-07-07 03:27:45 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2008-07-07 03:27:45 +0000 |
commit | 453bf8ce7a9a41a7b88a682a6c093bb243d1e404 (patch) | |
tree | ad46b6ca88a3bfcf98ddb7f78ffa103e0cc8baa3 /graphics/ruby-rsvg2 | |
parent | adff482a33a8297df32f79793367001abd7561ed (diff) | |
download | ports-453bf8ce7a9a41a7b88a682a6c093bb243d1e404.tar.gz ports-453bf8ce7a9a41a7b88a682a6c093bb243d1e404.zip |
Notes
Diffstat (limited to 'graphics/ruby-rsvg2')
-rw-r--r-- | graphics/ruby-rsvg2/Makefile | 9 | ||||
-rw-r--r-- | graphics/ruby-rsvg2/pkg-plist | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/ruby-rsvg2/Makefile b/graphics/ruby-rsvg2/Makefile index 66ac6d66cda3..68064fd8a844 100644 --- a/graphics/ruby-rsvg2/Makefile +++ b/graphics/ruby-rsvg2/Makefile @@ -8,7 +8,6 @@ PORTNAME= rsvg2 PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= graphics ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} @@ -19,8 +18,8 @@ DIST_SUBDIR= ruby MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for librsvg2 -BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/cairo.so:${PORTSDIR}/graphics/ruby-cairo -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 +BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/cairo.so:${PORTSDIR}/graphics/ruby-cairo +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR:S/${PREFIX}/${LOCALBASE}/}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 USE_RUBY= yes USE_GNOME= librsvg2 @@ -36,9 +35,11 @@ DOCS= COPYING.LIB ChangeLog README post-patch: general-patch post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${RUBY_MODEXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) @${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/graphics/ruby-rsvg2/pkg-plist b/graphics/ruby-rsvg2/pkg-plist index fb35b5155f17..e312c19bfdaa 100644 --- a/graphics/ruby-rsvg2/pkg-plist +++ b/graphics/ruby-rsvg2/pkg-plist @@ -3,10 +3,10 @@ %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/svg-viewer.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/svg2.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/svg-viewer.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/svg2.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% %%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% @dirrmtry %%RUBY_SITEARCHLIBDIR%% |