aboutsummaryrefslogtreecommitdiffstats
path: root/print/jabref/Makefile
blob: fd751d9cade483ca71775156ca39652ae23a81ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$

PORTNAME=   jabref
PORTVERSION=    2.10
PORTEPOCH=  1
CATEGORIES= print java editors
MASTER_SITES=   SF
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.6+
NO_BUILD=   yes

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}
    ${MKDIR} ${STAGEDIR}${DESKTOPDIR}
    ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}

.include <bsd.port.mk>