aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-libexif
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-libexif')
-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
5 files changed, 62 insertions, 0 deletions
diff --git a/graphics/ruby-libexif/Makefile b/graphics/ruby-libexif/Makefile
new file mode 100644
index 00000000000..395254d2915
--- /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 00000000000..a564da26924
--- /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 00000000000..aec37ac7dfc
--- /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 00000000000..dc5ed4a1d63
--- /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 00000000000..beee2511e4e
--- /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%%