1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/print/jabref/Makefile

42 lines
1.0 KiB
Makefile

# 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>