aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/tintfu/Makefile
blob: 6606b8964e0d74d47ec88f5d023c008f3948eb56 (plain) (blame)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   tintfu
PORTVERSION=    0.0.4
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/./_/g}
EXTRACT_SUFX=   .jar

MAINTAINER= ports@FreeBSD.org
COMMENT=    GraphViz .dot file editor

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= .
NO_BUILD=   yes
USE_JAVA=   yes
JAVA_VERSION=   1.6+

PLIST_FILES=    %%JAVAJARDIR%%/${DISTNAME}.jar \
        bin/tintfu

SUB_FILES=  tintfu.sh
SUB_LIST=   DISTNAME=${DISTNAME}

do-install:
    ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/tintfu.sh ${STAGEDIR}${PREFIX}/bin/tintfu

.include <bsd.port.mk>