aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rubygem-pygments.rb
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2017-09-15 15:12:44 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-09-15 15:12:44 +0800
commitab1f40794d9dbcc1388a9257d285362f52f74596 (patch)
tree2a6a7e2dc039c429914eaca76a443556bf403df2 /devel/rubygem-pygments.rb
parentfd6770ac21bfbaf4055314e3e44262e074d8043b (diff)
parent26f34f6d62441f81a8d0d43f1908a496c283ee05 (diff)
downloadfreebsd-ports-gnome-gnome-3.24.tar.gz
freebsd-ports-gnome-gnome-3.24.tar.zst
freebsd-ports-gnome-gnome-3.24.zip
Merge branch 'master' into gnome-3.24gnome-3.24
Diffstat (limited to 'devel/rubygem-pygments.rb')
-rw-r--r--devel/rubygem-pygments.rb/Makefile19
-rw-r--r--devel/rubygem-pygments.rb/distinfo6
2 files changed, 19 insertions, 6 deletions
diff --git a/devel/rubygem-pygments.rb/Makefile b/devel/rubygem-pygments.rb/Makefile
index 9af3977fc55d..0fe14ec29048 100644
--- a/devel/rubygem-pygments.rb/Makefile
+++ b/devel/rubygem-pygments.rb/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pygments.rb
-PORTVERSION= 1.1.2
+PORTVERSION= 1.2.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -16,8 +16,21 @@ RUN_DEPENDS= rubygem-multi_json>=1.0.0:devel/rubygem-multi_json
NO_ARCH= yes
USE_RUBY= yes
-USES= gem
+USES= gem shebangfix
-PLIST_FILES= %%GEM_LIB_DIR%%/vendor/pygments-main/scripts/find_error.py
+SHEBANG_FILES= vendor/pygments-main/external/autopygmentize
+
+post-patch:
+ @${REINPLACE_CMD} -e '1d' \
+ ${WRKSRC}/lib/pygments/mentos.py \
+ ${WRKSRC}/vendor/pygments-main/external/lasso-builtins-generator-9.lasso \
+ ${WRKSRC}/vendor/pygments-main/pygmentize \
+ ${WRKSRC}/vendor/pygments-main/pygments/util.py \
+ ${WRKSRC}/vendor/pygments-main/scripts/check_sources.py \
+ ${WRKSRC}/vendor/pygments-main/scripts/debug_lexer.py \
+ ${WRKSRC}/vendor/pygments-main/scripts/vim2pygments.py \
+ ${WRKSRC}/vendor/pygments-main/setup.py \
+ ${WRKSRC}/vendor/simplejson/scripts/make_docs.py \
+ ${WRKSRC}/vendor/simplejson/setup.py
.include <bsd.port.mk>
diff --git a/devel/rubygem-pygments.rb/distinfo b/devel/rubygem-pygments.rb/distinfo
index 3ddec0fc2739..7fb03716b81a 100644
--- a/devel/rubygem-pygments.rb/distinfo
+++ b/devel/rubygem-pygments.rb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491215657
-SHA256 (rubygem/pygments.rb-1.1.2.gem) = 55a5deed9ecba6037ac22bf27191e0073bd460f87291b2f384922e4b0d59511c
-SIZE (rubygem/pygments.rb-1.1.2.gem) = 1169920
+TIMESTAMP = 1505424341
+SHA256 (rubygem/pygments.rb-1.2.0.gem) = 8aa9f8c1254e340230413c0d9ed52efa6cd706adfc60e876a15d2e7a1d73080b
+SIZE (rubygem/pygments.rb-1.2.0.gem) = 1174016