aboutsummaryrefslogtreecommitdiffstats
path: root/java/jasmin/Makefile
blob: 19ec224c06ab5d14bddab647458f3908abda0c47 (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
# Created by: Volker Stolz <vs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jasmin
PORTVERSION=    2.4
PORTEPOCH=  1
CATEGORIES= java lang
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Java Assembler Interface

USES=       dos2unix zip
USE_ANT=    yes
ALL_TARGET= jasmin
USE_JAVA=   yes
JAVA_VERSION=   1.6+
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)

SUB_FILES=  jasmin.sh

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    ${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${STAGEDIR}${JAVAJARDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
    ${INSTALL_SCRIPT} ${WRKDIR}/jasmin.sh ${STAGEDIR}${PREFIX}/bin/jasmin
    @${MKDIR} ${STAGEDIR}${DOCDIR}
    (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>