1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/java/jasmin/Makefile
Ion-Mihai Tetcu fbacd72097 - respect NOPORTDOCS and NOPORTEXAMPLES
- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QA Tindy run
Approved by:	maintainer timeout on BotMail
2008-06-28 11:52:27 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: jasmin
# Date created: May 26, 2004
# Whom: Volker Stolz <vs@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jasmin
PORTVERSION= 2.3
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= java lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= Java Assembler Interface
USE_ZIP= yes
USE_ANT= yes
ALL_TARGET= jasmin
USE_JAVA= yes
JAVA_VERSION= 1.2+
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)
SUB_FILES= jasmin.sh
do-install:
${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${JAVAJARDIR}
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples ; \
${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; ;\
${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
.endif
${INSTALL_SCRIPT} ${WRKDIR}/jasmin.sh ${PREFIX}/bin/jasmin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
cd ${WRKSRC}/docs ; \
${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\
${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif
.include <bsd.port.mk>