1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/graphics/yed/Makefile
Fernando Apesteguía 610a3c55dc Update graphics/yed to 3.17.2
PR:	226882
Submitted by:	sergey.v.brunov@gmail.com
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14834
2018-03-27 15:03:19 +00:00

69 lines
1.9 KiB
Makefile

# Created by: Eugene Mychlo <myc@barev.net>
# $FreeBSD$
PORTNAME= yed
DISTVERSION= 3.17.2
CATEGORIES= graphics java
MASTER_SITES= #
DISTNAME= yEd-${DISTVERSION}
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
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.8+
NO_BUILD= yes
NO_ARCH= yes
RESTRICTED= Downloading requires acceptance of license agreement
DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "Graphics;" false
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
SUB_FILES= ${PORTNAME}
DOWNLOAD_URL?= http://www.yworks.com/downloads\#yEd
.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} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/license.html ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/thirdpartylicenses.html ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
. for lib in common-image.jar \
common-io.jar \
common-lang.jar \
imageio-bmp.jar \
imageio-core.jar \
imageio-hdr.jar \
imageio-icns.jar \
imageio-iff.jar \
imageio-jpeg.jar \
imageio-metadata.jar \
imageio-pcx.jar \
imageio-pict.jar \
imageio-psd.jar \
imageio-sgi.jar \
imageio-tga.jar \
imageio-thumbsdb.jar \
imageio-tiff.jar \
vectorgraphics.jar
${INSTALL_DATA} ${WRKSRC}/lib/${lib} ${STAGEDIR}${DATADIR}/lib
. endfor
.include <bsd.port.post.mk>