diff options
author | Steve Wills <swills@FreeBSD.org> | 2010-11-27 03:32:41 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2010-11-27 03:32:41 +0000 |
commit | 132e1e4550c1452bb2f20429bb6b9a8712b11b19 (patch) | |
tree | 9fff9947bc6591c5bd2480f0f58ec4d0b0b99b9a /x11-toolkits/ruby-poppler | |
parent | 78d32293a961a432bc346ccc71ef955fc4f27768 (diff) | |
download | ports-132e1e4550c1452bb2f20429bb6b9a8712b11b19.tar.gz ports-132e1e4550c1452bb2f20429bb6b9a8712b11b19.zip |
- Update to 0.90.5
- create ports for vte, gstreamer, gtksourceview2, poppler and goocanvas modules
- sort depends in meta port
- remove patch to ruby-gtk2 that's merged upstream
- remove old gtksourceview module which seems broken
Submitted by: swills (myself)
Approved by: wxs (mentor)
Notes
Notes:
svn path=/head/; revision=265240
Diffstat (limited to 'x11-toolkits/ruby-poppler')
-rw-r--r-- | x11-toolkits/ruby-poppler/Makefile | 50 | ||||
-rw-r--r-- | x11-toolkits/ruby-poppler/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/ruby-poppler/pkg-plist | 19 |
3 files changed, 72 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-poppler/Makefile b/x11-toolkits/ruby-poppler/Makefile new file mode 100644 index 000000000000..3619592bfcac --- /dev/null +++ b/x11-toolkits/ruby-poppler/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: ruby-poppler +# Date created: 2010-11-19 +# Whom: Steve Wills <swills@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= poppler +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby binding for Poppler + +LIB_DEPENDS= poppler-glib.5:${PORTSDIR}/graphics/poppler-gtk +BUILD_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config +RUN_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.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}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-poppler/pkg-descr b/x11-toolkits/ruby-poppler/pkg-descr new file mode 100644 index 000000000000..1b0ecb3fe3cc --- /dev/null +++ b/x11-toolkits/ruby-poppler/pkg-descr @@ -0,0 +1,3 @@ +Ruby/Poppler is a Ruby binding for Poppler. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-poppler/pkg-plist b/x11-toolkits/ruby-poppler/pkg-plist new file mode 100644 index 000000000000..8cbaebd56a5a --- /dev/null +++ b/x11-toolkits/ruby-poppler/pkg-plist @@ -0,0 +1,19 @@ +libdata/pkgconfig/ruby-poppler.pc +%%RUBY_SITEARCHLIBDIR%%/poppler.so +%%RUBY_SITELIBDIR%%/poppler.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/number-pdf.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2svg.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdf2text.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pdfdiv.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby |