pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update JabRef to 3.8.2



Module Name:	pkgsrc-wip
Committed By:	Frédéric Fauberteau <frederic%fauberteau.org@localhost>
Pushed By:	frederic
Date:		Mon Feb 6 15:39:58 2017 +0100
Changeset:	44151ac2d679fc3e71c83011f7664ff2c528d6f5

Modified Files:
	Makefile
Added Files:
	jabref3/DESCR
	jabref3/Makefile
	jabref3/PLIST
	jabref3/distinfo
	jabref3/files/jabref

Log Message:
Update JabRef to 3.8.2

Changelog: https://github.com/JabRef/jabref/blob/master/CHANGELOG.md

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=44151ac2d679fc3e71c83011f7664ff2c528d6f5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 jabref3/DESCR        |  4 ++++
 jabref3/Makefile     | 36 ++++++++++++++++++++++++++++++++++++
 jabref3/PLIST        |  3 +++
 jabref3/distinfo     |  6 ++++++
 jabref3/files/jabref |  3 +++
 6 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 65faec8cbc..6523d660f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1406,6 +1406,7 @@ SUBDIR+=	ja-ptex
 #SUBDIR+=	jabberd			# not a real package
 SUBDIR+=	jabberd-aim
 SUBDIR+=	jabref
+SUBDIR+=	jabref3
 SUBDIR+=	jacorb-lib
 SUBDIR+=	jad
 SUBDIR+=	jakarta-log4j
diff --git a/jabref3/DESCR b/jabref3/DESCR
new file mode 100644
index 0000000000..e2edae038f
--- /dev/null
+++ b/jabref3/DESCR
@@ -0,0 +1,4 @@
+JabRef is an open source bibliography reference manager. The native file format
+used by JabRef is BibTeX, the standard LaTeX bibliography format. JabRef runs
+on the Java VM (version 1.8 or newer), and works equally well on Windows, Linux,
+and Mac OS X.
diff --git a/jabref3/Makefile b/jabref3/Makefile
new file mode 100644
index 0000000000..657f00f74c
--- /dev/null
+++ b/jabref3/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+DISTNAME=	JabRef-3.8.2
+PKGNAME=	${DISTNAME:tl}
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=jabref/}
+EXTRACT_SUFX=	.jar
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.jabref.org/
+COMMENT=	Open source bibliography reference manager
+LICENSE=	mit
+
+NO_BUILD=		yes
+WRKSRC=			${WRKDIR}
+PKG_JVMS_ACCEPTED=	openjdk8 oracle-jdk8
+INSTALLATION_DIRS=	bin share/java
+
+SUBST_CLASSES+=		script
+SUBST_STAGE.script=	pre-install
+SUBST_MESSAGE.script=	Generating script file.
+SUBST_FILES.script=	jabref
+SUBST_SED.script+=	-e "s|@SH@|${SH}|g"
+SUBST_SED.script+=	-e "s|@JAVA_BINPREFIX@|${JAVA_BINPREFIX}|g"
+SUBST_SED.script+=	-e "s|@JABREF_PREFIX@|${PREFIX}/share/java/|g"
+SUBST_SED.script+=	-e "s|@JABREF_JAR@|${DISTNAME}.jar|g"
+
+do-configure:
+	${CP} ${FILESDIR}/jabref ${WRKSRC}/jabref
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/java
+	${INSTALL_SCRIPT} ${WRKSRC}/jabref ${DESTDIR}${PREFIX}/bin/jabref
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jabref3/PLIST b/jabref3/PLIST
new file mode 100644
index 0000000000..e54adc9ddb
--- /dev/null
+++ b/jabref3/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/jabref
+share/java/JabRef-${PKGVERSION}.jar
diff --git a/jabref3/distinfo b/jabref3/distinfo
new file mode 100644
index 0000000000..e8a3175975
--- /dev/null
+++ b/jabref3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (JabRef-3.8.2.jar) = 6c85ffb89ba132ee516f0bd82647ddfd40a66218
+RMD160 (JabRef-3.8.2.jar) = 4305e774fe34791ca9f4437ab0af4961af9c5af9
+SHA512 (JabRef-3.8.2.jar) = 84546987ffdef106643b3aba3216041809ac42464ff37fb63dbe806e282c19c25139d8532b695a4f5ca8ad638eb23860b32bd3806e82409e2d38425d5a42e830
+Size (JabRef-3.8.2.jar) = 37003442 bytes
diff --git a/jabref3/files/jabref b/jabref3/files/jabref
new file mode 100644
index 0000000000..3b24442d71
--- /dev/null
+++ b/jabref3/files/jabref
@@ -0,0 +1,3 @@
+#!@SH@
+
+@JAVA_BINPREFIX@-java -jar @JABREF_PREFIX@/@JABREF_JAR@ $@


Home | Main Index | Thread Index | Old Index