1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/yed/Makefile
William Grzybowski 2491c44c62 graphics/yed: update to 3.11.1
PR:		ports/183375
Submitted by:	Sergey Brunov <sergey.v.brunov gmail.com>
Approved by:	maintainer
2013-11-01 18:33:59 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Eugene Mychlo <myc@barev.net>
# $FreeBSD$
PORTNAME= yed
PORTVERSION= 3.11.1
CATEGORIES= graphics java
MASTER_SITES= #
DISTNAME= yEd-${PORTVERSION}
MAINTAINER= myc@barev.net
COMMENT= Editor for graphs and diagrams
LICENSE= YED_1_1
LICENSE_NAME= yEd Software License Agreement (Version 1.1)
LICENSE_TEXT= Description of the license can be obtained from the following URL: \
http://www.yworks.com/products/yed/license.html
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
RESTRICTED= Downloading requires acceptance of license agreement
DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "" "false"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= ${PORTNAME}
DOWNLOAD_URL?= http://www.yworks.com/en/products_download.php?file=${DISTNAME}${EXTRACT_SUFX}
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= you must manually obtain ${DISTNAME}${EXTRACT_SUFX} from\
'${DOWNLOAD_URL}', place it in ${DISTDIR} and then run make again
.endif
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/vectorgraphics.jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/license.html ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>