Lines 2-34
Link Here
|
2 |
# $FreeBSD: head/devel/violet/Makefile 375029 2014-12-20 18:06:21Z bapt $ |
2 |
# $FreeBSD: head/devel/violet/Makefile 375029 2014-12-20 18:06:21Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= violet |
4 |
PORTNAME= violet |
5 |
PORTVERSION= 0.21.1 |
5 |
PORTVERSION= 2.1.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= devel editors java |
6 |
CATEGORIES= devel editors java |
8 |
MASTER_SITES= SF/${PORTNAME}/violetumleditor/${PORTVERSION} |
7 |
MASTER_SITES= SF/${PORTNAME}/violetumleditor/${PORTVERSION} |
9 |
DISTNAME= com.horstmann.violet-${PORTVERSION} |
8 |
DISTNAME= violetumleditor-${PORTVERSION} |
10 |
EXTRACT_SUFX= .jar |
9 |
EXTRACT_SUFX= .jar |
11 |
EXTRACT_ONLY= |
10 |
EXTRACT_ONLY= |
12 |
|
11 |
|
13 |
MAINTAINER= graudeejs@gmail.com |
12 |
MAINTAINER= graudeejs@gmail.com |
14 |
COMMENT= Violet is a easy to learn and use UML editor |
13 |
COMMENT= Violet is a easy to learn and use UML editor |
15 |
|
14 |
|
|
|
15 |
LICENSE= GPLv2 |
16 |
|
16 |
USE_JAVA= yes |
17 |
USE_JAVA= yes |
17 |
JAVA_VERSION= 1.6+ |
18 |
JAVA_VERSION= 1.6+ |
18 |
|
19 |
|
19 |
LICENSE= GPLv2 |
|
|
20 |
|
21 |
NO_BUILD= YES |
20 |
NO_BUILD= YES |
22 |
|
21 |
|
23 |
PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/com.horstmann.violet.jar bin/${PORTNAME} |
22 |
PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/violetumleditor.jar bin/${PORTNAME} |
24 |
|
23 |
|
25 |
pre-install: |
24 |
pre-install: |
26 |
${ECHO} "#!/bin/sh" > ${WRKDIR}/violet.sh |
25 |
${ECHO} "#!/bin/sh" > ${WRKDIR}/violet.sh |
27 |
${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/com.horstmann.violet.jar" >> ${WRKDIR}/violet.sh |
26 |
${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/violetumleditor.jar" >> ${WRKDIR}/violet.sh |
28 |
|
27 |
|
29 |
do-install: |
28 |
do-install: |
30 |
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} |
29 |
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} |
31 |
${INSTALL_DATA} ${DISTDIR}/com.horstmann.violet-${PORTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/com.horstmann.violet.jar |
30 |
${INSTALL_DATA} ${DISTDIR}/violetumleditor-${PORTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/violetumleditor.jar |
32 |
${INSTALL_SCRIPT} ${WRKDIR}/violet.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
31 |
${INSTALL_SCRIPT} ${WRKDIR}/violet.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
33 |
|
32 |
|
34 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |