aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jiic/Makefile
blob: ab82c0dff77037bd07a777e5717e7b2567b2408c (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
34
35
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jiic
PORTVERSION=    20120110
CATEGORIES= devel multimedia java
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale

MAINTAINER= ale@FreeBSD.org
COMMENT=    Streaming-based Java implementation of ISO 9660

LICENSE=    LGPL21

BUILD_DEPENDS=  ${JAVALIBDIR}/sabre.jar:${PORTSDIR}/devel/sabre
RUN_DEPENDS=    ${JAVALIBDIR}/sabre.jar:${PORTSDIR}/devel/sabre

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ANT=    yes
MAKE_ENV=   ANT_INCLUDE_SHARED_JARS=YES
ALL_TARGET= jar

PLIST_FILES=    %%JAVAJARDIR%%/iso9660.jar

post-extract:
    @${CP} ${FILESDIR}/build.xml ${WRKSRC}

do-install:
    @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/iso9660.jar..."
    @${INSTALL_DATA} ${WRKSRC}/dist/iso9660.jar ${STAGEDIR}${JAVAJARDIR}/
    @${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>