blob: 10fbd434f493e93be0f074558e66cab1962bd7e5 (
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
37
38
|
# ex:ts=8
# Ports collection makefile for: jzip.org
# Date created: Dec 24, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jzip.org
PORTVERSION= 0.2.0
CATEGORIES= archivers java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jzipdotorg
DISTNAME= ${PORTNAME}${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= A WinZip like program written in java
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
PLIST_FILES= %%JAVAJARDIR%%/jzip.org.jar bin/${PORTNAME}
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.2+
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src
SUB_FILES= ${PORTNAME}.sh
do-build:
@cd ${WRKSRC} && ${JAVAC} -d bin src/*.java && \
cd bin && ${JAR} cvfm jzip.org.jar manifest/MANIFEST.MF \
i18n/*.properties jzipdotorg/*.class images/*.png
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.jar ${JAVAJARDIR}
.include <bsd.port.mk>
|