1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/java/jcalendar/Makefile
Pawel Pekala c5bf39abc1 - Add staging support
- Convert to new options framework
2014-05-30 17:14:44 +00:00

40 lines
879 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= jcalendar
PORTVERSION= 1.3.3
CATEGORIES= java misc
MASTER_SITES= http://www.toedter.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Java Date Chooser
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
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
###
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-build:
cd ${WRKDIR}/build && \
${JAR} cmf ${WRKSRC}/${PORTNAME}.manifest \
${WRKDIR}/build/${PORTNAME}.jar *
do-install:
${INSTALL_DATA} ${WRKDIR}/build/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKDIR}/lib/looks-2.0.1.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>