aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jiic/Makefile
blob: 7b3bf40a9739fe7d5b6664e474418bc53ecfcee8 (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
36
# 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=    A streaming-based Java implementation of ISO 9660

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

LICENSE=    LGPL21

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

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

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

.include <bsd.port.mk>