blob: 99318cf49f4137c33ed1239b582677e6930bc220 (
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
39
40
41
42
43
44
45
46
47
48
|
# ex:ts=8
# Ports collection makefile for: jcalendar
# Date created: Apr 2, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jcalendar
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= java misc
MASTER_SITES= http://www.toedter.com/download/
MAINTAINER= araujo@bsdmail.org
COMMENT= Java Date Chooser
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
WRKSRC= ${WRKDIR}/src
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
%%JAVAJARDIR%%/looks-2.0.1.jar
###
# has a potential conflict with devel/looks, both install a looksXXX.jar
###
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-build:
cd ${WRKDIR}/build && \
${JAR} cmf ${WRKSRC}/${PORTNAME}.manifest \
${WRKDIR}/build/${PORTNAME}.jar *
do-install:
${INSTALL_DATA} ${WRKDIR}/build/${PORTNAME}.jar ${JAVAJARDIR}
${INSTALL_DATA} ${WRKDIR}/lib/looks-2.0.1.jar ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKDIR}/doc && ${FIND} . \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|