aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-11 01:19:26 +0800
committerknu <knu@FreeBSD.org>2002-10-11 01:19:26 +0800
commit054c4920093e8c6d8a62eba7140b5eaff053bb67 (patch)
tree3e23daf6933b8109789dce0fcb20e6f449c3c1d1 /graphics
parentc42704a7abe79c2f8994ae43cd3791d27ae7fa41 (diff)
downloadfreebsd-ports-gnome-054c4920093e8c6d8a62eba7140b5eaff053bb67.tar.gz
freebsd-ports-gnome-054c4920093e8c6d8a62eba7140b5eaff053bb67.tar.zst
freebsd-ports-gnome-054c4920093e8c6d8a62eba7140b5eaff053bb67.zip
Add ruby-libexif, a Ruby extension library for libexif.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ruby-libexif/Makefile48
-rw-r--r--graphics/ruby-libexif/distinfo1
-rw-r--r--graphics/ruby-libexif/pkg-comment1
-rw-r--r--graphics/ruby-libexif/pkg-descr4
-rw-r--r--graphics/ruby-libexif/pkg-plist8
6 files changed, 63 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 4763458243fd..bab226ad4ee7 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -333,6 +333,7 @@
SUBDIR += ruby-image_size
SUBDIR += ruby-imlib2
SUBDIR += ruby-libart
+ SUBDIR += ruby-libexif
SUBDIR += ruby-libpng
SUBDIR += ruby-ming
SUBDIR += ruby-opengl
diff --git a/graphics/ruby-libexif/Makefile b/graphics/ruby-libexif/Makefile
new file mode 100644
index 000000000000..395254d29154
--- /dev/null
+++ b/graphics/ruby-libexif/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: ruby-libexif
+# Date created: 6 October 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libexif
+PORTVERSION= 0.1
+CATEGORIES= graphics ruby
+MASTER_SITES= http://tam.0xfa.com/ruby-libexif/pkg/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= exif.8:${PORTSDIR}/graphics/libexif
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+USE_RUBY_RDTOOL= yes
+
+WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
+INSTALL_TARGET= site-install
+
+DOCS_EN= README exif.rd.en exif.en.html
+DOCS_JA= exif.rd.ja exif.ja.html
+
+.if !defined(NOPORTDOCS)
+post-build:
+.for lang in en ja
+ cd ${WRKSRC}; ${RUBY_RD2} exif.rd.${lang} > exif.${lang}.html
+.endfor
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-libexif/distinfo b/graphics/ruby-libexif/distinfo
new file mode 100644
index 000000000000..a564da269244
--- /dev/null
+++ b/graphics/ruby-libexif/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-libexif-0.1.tar.gz) = 97315e14452a74a05e3360c69df8ad5e
diff --git a/graphics/ruby-libexif/pkg-comment b/graphics/ruby-libexif/pkg-comment
new file mode 100644
index 000000000000..aec37ac7dfcb
--- /dev/null
+++ b/graphics/ruby-libexif/pkg-comment
@@ -0,0 +1 @@
+A Ruby extension library for libexif
diff --git a/graphics/ruby-libexif/pkg-descr b/graphics/ruby-libexif/pkg-descr
new file mode 100644
index 000000000000..dc5ed4a1d63c
--- /dev/null
+++ b/graphics/ruby-libexif/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby extension library for libexif.
+
+Author: Ryuichi Tamura <r-tam@fsinet.or.jp>
+WWW: http://tam.0xfa.com/ruby-libexif/
diff --git a/graphics/ruby-libexif/pkg-plist b/graphics/ruby-libexif/pkg-plist
new file mode 100644
index 000000000000..beee2511e4e1
--- /dev/null
+++ b/graphics/ruby-libexif/pkg-plist
@@ -0,0 +1,8 @@
+%%RUBY_SITEARCHLIBDIR%%/exif.so
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/exif.ja.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/exif.rd.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/exif.en.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/exif.rd.en
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%