1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/java/jasmin/Makefile
2021-04-06 16:31:07 +02:00

33 lines
838 B
Makefile

# Created by: Volker Stolz <vs@FreeBSD.org>
PORTNAME= jasmin
PORTVERSION= 2.4
PORTREVISION= 1
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= 8
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>