View | Details | Raw Unified | Return to bug 268104
Collapse All | Expand All

(-)b/graphics/ditaa/Makefile (-12 / +19 lines)
Lines 1-31 Link Here
1
PORTNAME=      ditaa
1
PORTNAME=      ditaa
2
DISTVERSION=   0_9
2
DISTVERSION=   0.11.0
3
CATEGORIES=    graphics java
3
CATEGORIES=    graphics java
4
MASTER_SITES=  SF
4
MASTER_SITES=  https://github.com/stathissideris/${PORTNAME}/releases/download/v${DISTVERSION}/
5
DISTNAME=      ${PORTNAME}${DISTVERSION}
5
DISTNAME=      ${PORTNAME}-${DISTVERSION}-standalone.jar
6
EXTRACT_SUFX=
6
7
7
MAINTAINER=    ports@FreeBSD.org
8
MAINTAINER=    ports@FreeBSD.org
8
COMMENT=       Convert ASCII art diagrams into proper bitmap graphics
9
COMMENT=       Convert ASCII art diagrams into proper bitmap graphics
9
WWW=           http://ditaa.sourceforge.net/
10
WWW=           https://github.com/stathissideris/ditaa
10
11
11
LICENSE=       GPLv2
12
LICENSE=       LGPL3
12
LICENSE_FILE=  ${WRKDIR}/COPYING
13
13
14
USES=          zip
15
USE_JAVA=      yes
14
USE_JAVA=      yes
16
15
17
NO_BUILD=      yes
16
NO_BUILD=      yes
18
NO_ARCH=       yes
17
NO_ARCH=       yes
19
18
20
PLIST_FILES=   %%JAVASHAREDIR%%/${PORTNAME}/${PORTNAME}.jar bin/${PORTNAME}
19
DATADIR=       ${JAVASHAREDIR}/${PORTNAME}
20
PLIST_FILES=   ${DATADIR}/${PORTNAME}-${DISTVERSION}-standalone.jar \
21
               ${DATADIR}/${PORTNAME}.jar \
22
               bin/${PORTNAME}
23
24
EXTRACT_CMD=   ${CP}
25
EXTRACT_BEFORE_ARGS=
26
EXTRACT_AFTER_ARGS=    ${WRKSRC}
21
27
22
pre-install:
28
pre-install:
23
       ${ECHO} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}.sh
29
       ${ECHO} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}
24
       ${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar \$$*" >> ${WRKDIR}/${PORTNAME}.sh
30
       ${ECHO} "exec ${PREFIX}/bin/java -jar ${DATADIR}/${PORTNAME}.jar \"\$$@\"" >> ${WRKDIR}/${PORTNAME}
25
31
26
do-install:
32
do-install:
27
       ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
33
       ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
28
       ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${DISTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
34
       ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${DISTVERSION}-standalone.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}-${DISTVERSION}-standalone.jar
29
       ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
35
       ${LN} -sf ${PORTNAME}-${DISTVERSION}-standalone.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
36
       ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
30
37
31
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)b/graphics/ditaa/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ditaa0_9.zip) = d689e933b80b065cd7c349e489cfb8feea69dd3e91ca78931edc6fa6e098e689
1
SHA256 (ditaa-0.11.0-standalone.jar) = 9418aa63ff6d89c5d2318396f59836e120e75bea7a5930c4d34aa10fe7a196a9
2
SIZE (ditaa0_9.zip) = 179547
2
SIZE (ditaa-0.11.0-standalone.jar) = 12621318

Return to bug 268104