aboutsummaryrefslogtreecommitdiffstats
path: root/java/jasmin/Makefile
blob: ed70823bca56a951eb5630dd4506665addbdcfc9 (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
# New ports collection makefile for:    jasmin
# Date created:         May 26, 2004
# Whom:             Volker Stolz <vs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jasmin
PORTVERSION=    1.1
PORTEPOCH=  1
CATEGORIES= java lang
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Java Assembler Interface

USE_ZIP=    yes
USE_ANT=    yes
ALL_TARGET= jasmin
USE_JAVA=   1.2+

do-install:
    ${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${JAVAJARDIR}
    ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/examples ; \
      ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; ;\
      ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCDIR}
    cd ${WRKSRC}/docs ; \
      ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\
      ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif

post-install:
    ${ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>