mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jabref
|
|
PORTVERSION= 4.3.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= print java editors
|
|
MASTER_SITES= https://builds.jabref.org/ \
|
|
https://github.com/JabRef/jabref/releases/download/v${PORTVERSION}/
|
|
DISTNAME= JabRef-${PORTVERSION}
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY= #
|
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
|
COMMENT= BibTeX native bibliographic reference manager
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
PORTSCOUT= limit:.*[0-9]$$
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.8
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
RUN_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
icon= ${DATADIR}/${PORTNAME}-icon48x48.png
|
|
|
|
SUB_FILES= ${PORTNAME}.sh ${PORTNAME}.desktop
|
|
SUB_LIST= JARNAME=${PORTNAME}.jar
|
|
|
|
USES= desktop-file-utils
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}/${PORTNAME}.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${FILESDIR}/JabRef-icon-48.png ${STAGEDIR}${icon}
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
|
|
.include <bsd.port.mk>
|