1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/java/jasmin/Makefile
Pawel Pekala 845b4ef666 - Add staging support
- Convert to new options framework
2014-05-31 12:03:44 +00:00

33 lines
837 B
Makefile

# Created by: Volker Stolz <vs@FreeBSD.org>
# $FreeBSD$
PORTNAME= jasmin
PORTVERSION= 2.4
PORTEPOCH= 1
CATEGORIES= java lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java Assembler Interface
USES= dos2unix zip
USE_ANT= yes
ALL_TARGET= jasmin
USE_JAVA= yes
JAVA_VERSION= 1.6+
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)
SUB_FILES= jasmin.sh
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
${INSTALL_SCRIPT} ${WRKDIR}/jasmin.sh ${STAGEDIR}${PREFIX}/bin/jasmin
@${MKDIR} ${STAGEDIR}${DOCDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>