Bug 181009 - editors/jedit update and take maintainership
Summary: editors/jedit update and take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 03:30 UTC by Danilo Egêa Gondolfo
Modified: 2013-08-07 07:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.18 KB, patch)
2013-08-04 03:30 UTC, Danilo Egêa Gondolfo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Egêa Gondolfo 2013-08-04 03:30:00 UTC
Changes
- Updated from 5.0.0 to 5.1.0
- Added LICENSE entry
- Added DESKTOP_ENTRY
- pkg-descr updated
- Take maintainership

jEdit 5.1.0 changelog: http://jedit.sourceforge.net/CHANGES51.txt

Fix: Patch attached with submission follows:
Comment 1 Jason Helfman freebsd_committer 2013-08-04 07:42:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer 2013-08-07 07:31:55 UTC
Author: jgh
Date: Wed Aug  7 06:31:46 2013
New Revision: 324330
URL: http://svnweb.freebsd.org/changeset/ports/324330

Log:
  - update to 5.1.0, attach gplv2 license
  - pass maintainership to submitter
  - properly support DOCS (instscript no longer required)
  
  PR:		181009
  Submitted by:	danilogondolfo@gmail.com

Deleted:
  head/editors/jedit/files/instscript
Modified:
  head/editors/jedit/Makefile
  head/editors/jedit/distinfo
  head/editors/jedit/pkg-descr

Modified: head/editors/jedit/Makefile
==============================================================================
--- head/editors/jedit/Makefile	Wed Aug  7 03:35:18 2013	(r324329)
+++ head/editors/jedit/Makefile	Wed Aug  7 06:31:46 2013	(r324330)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jedit
-PORTVERSION=	5.0.0
+PORTVERSION=	5.1.0
 PORTEPOCH=	1
 CATEGORIES=	editors java
 MASTER_SITES=	SF
@@ -10,12 +10,31 @@ DISTNAME=	${PORTNAME}${PORTVERSION}insta
 EXTRACT_SUFX=	.jar
 EXTRACT_ONLY=
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	danilogondolfo@gmail.com
 COMMENT=	Powerful programmer\'s text editor written in Java
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
 
-CONFLICTS=	jedit-4.3.p*
+OPTIONS_DEFINE=	MACROS DOCS
+MACROS_DESC=	Install default set of macros (highly recommended)
+
+OPTIONS_DEFAULT=	MACROS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+DOCS=y
+.else
+DOCS=n
+.endif
+
+.if ${PORT_OPTIONS:MMACROS}
+MACROS=y
+.else
+MACROS=n
+.endif
 
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
@@ -27,12 +46,15 @@ DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 
 SUB_FILES=	jedit.sh
 
+DESKTOP_ENTRIES="jEdit" "${COMMENT}" "${PORTNAME}" \
+	"${PORTNAME}" "Development;" false
+
 MAN1=		jedit.1
 # The complete PLIST is generated in post-install
-PLIST_FILES=	bin/jedit
+PLIST_FILES=	bin/jedit share/pixmaps/${PORTNAME}.png
 
 do-install:
-	@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%DATADIR%%|${DATADIR}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
+	@${PRINTF} "${DATADIR}\n${WRKDIR}\n${PREFIX}/man/man1\nY\n${MACROS}\n${DOCS}" | \
 		${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
 		${JAVA} installer.Install text
 	@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
@@ -42,5 +64,7 @@ post-install:
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
 	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${INSTALL_DATA} ${DATADIR}/doc/jedit.png \
+		${PREFIX}/share/pixmaps/${PORTNAME}.png
 
 .include <bsd.port.mk>

Modified: head/editors/jedit/distinfo
==============================================================================
--- head/editors/jedit/distinfo	Wed Aug  7 03:35:18 2013	(r324329)
+++ head/editors/jedit/distinfo	Wed Aug  7 06:31:46 2013	(r324330)
@@ -1,2 +1,2 @@
-SHA256 (jedit5.0.0install.jar) = 24b7f10f012737d77fe4bfa6c7961fca978ad3dd410561efd1ca8ab796e0f6ad
-SIZE (jedit5.0.0install.jar) = 3136160
+SHA256 (jedit5.1.0install.jar) = 96f229d91a1effd6b0da1aee209390d8a131bd68e0cf4cd274dca14245ba30d7
+SIZE (jedit5.1.0install.jar) = 3196992

Modified: head/editors/jedit/pkg-descr
==============================================================================
--- head/editors/jedit/pkg-descr	Wed Aug  7 03:35:18 2013	(r324329)
+++ head/editors/jedit/pkg-descr	Wed Aug  7 06:31:46 2013	(r324330)
@@ -7,7 +7,7 @@ easy to use, intuitive interface, and en
 even the most hard-core programmer. A very incomplete list of jEdit's features
 follows.
 
-o Syntax highlighting for 30+ file types (including C, C++, Java, Perl, etc) 
+o Syntax highlighting for 200+ file types (including C, C++, Java, Perl, etc) 
 o Semi-intelligent auto indent in C, C++ and Java modes 
 o Bracket highlighting and matching 
 o Powerful macro system 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason Helfman freebsd_committer 2013-08-07 07:32:15 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!