Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -1965,6 +1965,7 @@ SUBDIR += rubygem-httpi SUBDIR += rubygem-innate SUBDIR += rubygem-jekyll + SUBDIR += rubygem-jekyll-redirect-from SUBDIR += rubygem-jekyll-watch SUBDIR += rubygem-jekyll2 SUBDIR += rubygem-journey Index: www/rubygem-jekyll-redirect-from/Makefile =================================================================== --- /dev/null +++ www/rubygem-jekyll-redirect-from/Makefile @@ -0,0 +1,21 @@ +# Created by: Dominic Fandrey +# $FreeBSD$ + +PORTNAME= jekyll-redirect-from +PORTVERSION= 0.11.0 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Give your Jekyll posts and pages multiple URLs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-jekyll>=3.0.0:www/rubygem-jekyll + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include Index: www/rubygem-jekyll-redirect-from/distinfo =================================================================== --- /dev/null +++ www/rubygem-jekyll-redirect-from/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1483010364 +SHA256 (rubygem/jekyll-redirect-from-0.11.0.gem) = 57bad2818953df482194f5d0ec0cfaac324c10dea37d1ee340a7c943a5ce05e9 +SIZE (rubygem/jekyll-redirect-from-0.11.0.gem) = 13824 Index: www/rubygem-jekyll-redirect-from/pkg-descr =================================================================== --- /dev/null +++ www/rubygem-jekyll-redirect-from/pkg-descr @@ -0,0 +1,11 @@ +When importing your posts and pages from, say, Tumblr, it's annoying +and impractical to create new pages in the proper subdirectories +so they, e.g. /post/123456789/my-slug-that-is-often-incompl, redirect +to the new post URL. + +Instead of dealing with maintaining those pages for redirection, +let jekyll-redirect-from handle it for you. + +This is one of the few Jekyll plugins available on GitHub Pages. + +WWW: https://github.com/jekyll/jekyll-redirect-from