aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2008-10-12 05:58:29 +0800
committerstas <stas@FreeBSD.org>2008-10-12 05:58:29 +0800
commit44eb2b8967799c6ed529a2d921c146a766a61937 (patch)
treec6a539d831158a10b08b7a657c6680185b804e28 /graphics
parent8024ad71b6f08e7bfe2e35d6eae000d70303601a (diff)
downloadfreebsd-ports-graphics-44eb2b8967799c6ed529a2d921c146a766a61937.tar.gz
freebsd-ports-graphics-44eb2b8967799c6ed529a2d921c146a766a61937.tar.zst
freebsd-ports-graphics-44eb2b8967799c6ed529a2d921c146a766a61937.zip
- Fix plist [1].
- Patching exifr isn't really needed, since gem provides a wrapper in ${PREFIX}/bin for convenience. Reported by: erwin [1]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/rubygem-exifr/Makefile4
-rw-r--r--graphics/rubygem-exifr/files/exifr.patch7
-rw-r--r--graphics/rubygem-exifr/pkg-plist1
3 files changed, 2 insertions, 10 deletions
diff --git a/graphics/rubygem-exifr/Makefile b/graphics/rubygem-exifr/Makefile
index fabe97f004a..0b1813702b5 100644
--- a/graphics/rubygem-exifr/Makefile
+++ b/graphics/rubygem-exifr/Makefile
@@ -6,6 +6,7 @@
PORTNAME= exifr
PORTVERSION= 0.10.6
+PORTREVISION= 1
CATEGORIES= graphics rubygems
MASTER_SITES= RF
@@ -16,9 +17,6 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
post-install:
- cd ${PREFIX}/${GEM_LIB_DIR}/bin && \
- ${PATCH} -p0 < ${FILESDIR}/exifr.patch && \
- ${RM} -f ${PREFIX}/${GEM_LIB_DIR}/bin/exifr.orig
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | \
${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | \
diff --git a/graphics/rubygem-exifr/files/exifr.patch b/graphics/rubygem-exifr/files/exifr.patch
deleted file mode 100644
index 17b7de26d58..00000000000
--- a/graphics/rubygem-exifr/files/exifr.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- exifr.orig 2008-10-05 03:17:11.000000000 +0400
-+++ exifr 2008-10-05 03:17:38.000000000 +0400
-@@ -1,3 +1,4 @@
-+require 'rubygems'
- require 'exifr'
- include EXIFR
-
diff --git a/graphics/rubygem-exifr/pkg-plist b/graphics/rubygem-exifr/pkg-plist
index 14417982ba2..f0715e43294 100644
--- a/graphics/rubygem-exifr/pkg-plist
+++ b/graphics/rubygem-exifr/pkg-plist
@@ -1,3 +1,4 @@
+bin/exifr
%%GEM_CACHE%%
%%GEM_LIB_DIR%%/CHANGELOG
%%GEM_LIB_DIR%%/README