svn commit: r430366 - head/textproc/rubygem-docdiff

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jan 2 15:10:17 UTC 2017


Author: sunpoet
Date: Mon Jan  2 15:10:16 2017
New Revision: 430366
URL: https://svnweb.freebsd.org/changeset/ports/430366

Log:
  Update to 0.5.0
  
  - Clean up Makefile
  - Add NO_ARCH
  - Update WWW
  
  Changes:	https://github.com/hisashim/docdiff/commits/master

Deleted:
  head/textproc/rubygem-docdiff/pkg-plist
Modified:
  head/textproc/rubygem-docdiff/Makefile
  head/textproc/rubygem-docdiff/distinfo
  head/textproc/rubygem-docdiff/pkg-descr

Modified: head/textproc/rubygem-docdiff/Makefile
==============================================================================
--- head/textproc/rubygem-docdiff/Makefile	Mon Jan  2 15:07:34 2017	(r430365)
+++ head/textproc/rubygem-docdiff/Makefile	Mon Jan  2 15:10:16 2017	(r430366)
@@ -2,36 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	docdiff
-PORTVERSION=	0.4.0
-CATEGORIES=	textproc
-MASTER_SITES=	SF
+PORTVERSION=	0.5.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
 
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Compares two text files by word, by character, or by line
 
 LICENSE=	BSD3CLAUSE
 
-OPTIONS_DEFINE=	DOCS
-
-NO_BUILD=	yes
+NO_ARCH=	yes
 USE_RUBY=	yes
-USES=		shebangfix
-
-PORTDOCS=	readme.html readme.en.html readme.ja.html
-
-SHEBANG_FILES=	${PORTNAME}.rb
+USES=		gem
 
-post-patch:
-	@${REINPLACE_CMD} -e '/ :format/ s|html|tty|' \
-		-e '/SystemConfigFileName =/ s|etc.*conf|${PREFIX}/etc/${PORTNAME}.conf|' \
-		-e 's|/etc/${PORTNAME}/${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|' \
-			${WRKSRC}/${PORTNAME}.rb
-
-do-install:
-	cd ${WRKSRC}/${PORTNAME}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME}/
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.example ${STAGEDIR}${PREFIX}/etc/
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+PLIST_FILES=	bin/docdiff
 
 .include <bsd.port.mk>

Modified: head/textproc/rubygem-docdiff/distinfo
==============================================================================
--- head/textproc/rubygem-docdiff/distinfo	Mon Jan  2 15:07:34 2017	(r430365)
+++ head/textproc/rubygem-docdiff/distinfo	Mon Jan  2 15:10:16 2017	(r430366)
@@ -1,2 +1,3 @@
-SHA256 (docdiff-0.4.0.tar.gz) = 38f1e7d7e02c1bab801aab32c8e366a73a228b40516c71e1c1d3888d3ae2a935
-SIZE (docdiff-0.4.0.tar.gz) = 212317
+TIMESTAMP = 1483308291
+SHA256 (rubygem/docdiff-0.5.0.gem) = 44510176e2bd635789975cde94cf822f2ddfad64cc76348ceaab9e8386633bb9
+SIZE (rubygem/docdiff-0.5.0.gem) = 203264

Modified: head/textproc/rubygem-docdiff/pkg-descr
==============================================================================
--- head/textproc/rubygem-docdiff/pkg-descr	Mon Jan  2 15:07:34 2017	(r430365)
+++ head/textproc/rubygem-docdiff/pkg-descr	Mon Jan  2 15:10:16 2017	(r430366)
@@ -6,4 +6,4 @@ It supports several encodings and end-of
 other single byte encodings such as ISO-8859-*), UTF-8, EUC-JP, Shift_JIS, CR,
 LF, and CRLF.
 
-WWW: http://docdiff.sourceforge.net/
+WWW: https://github.com/hisashim/docdiff


More information about the svn-ports-head mailing list