summaryrefslogtreecommitdiff
path: root/devel/jiic/Makefile
blob: 6591c07336a0b4308501c29fcd9b3277b5f9a575 (plain)
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
37
38
39
40
# Ports collection makefile for:	jiic
# Date created:			28 Jun 2010
# Whom:				Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	jiic
PORTVERSION=	20100629
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_ZIP=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.5+
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 ${JAVAJARDIR}/
	@${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>