blob: 53c1c7cf491f8825429318468984d75d65a6e932 (
plain)
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
|
# $NetBSD: Makefile,v 1.1.1.1 2015/07/03 09:56:55 abs Exp $
DISTNAME= yEd-3.14.2
PKGNAME= ${DISTNAME:C:E:e:}
CATEGORIES= editors
MASTER_SITES= http://www.yworks.com/products/yed/demo/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.yworks.com/en/
COMMENT= Graph editor (UML, Flowcharts, BPMN and more)
LICENSE= yed-license
RESTRICTED= Redistribution prohibited
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S:E:e:}
USE_JAVA= run
USE_JAVA2= 6
YEDDIR= ${PREFIX}/lib/java/yed
INSTALLATION_DIRS=bin lib/java/yed/lib lib/java/yed/icons share/doc/java/yed
do-build:
${SED} -e "s,@YEDDIR@,${YEDDIR}," ${FILESDIR}/yed.sh > ${WRKSRC}/yed
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/yed ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/yed.jar ${DESTDIR}${PREFIX}/lib/java/yed
${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib/java/yed/lib
${INSTALL_DATA} ${WRKSRC}/icons/* ${DESTDIR}${PREFIX}/lib/java/yed/icons
${INSTALL_DATA} ${WRKSRC}/license.html ${DESTDIR}${PREFIX}/share/doc/java/yed
# url2pkg-marker (please do not remove this line.)
.include "../../mk/bsd.pkg.mk"
|