aboutsummaryrefslogtreecommitdiffstats
path: root/devel/flexdock/Makefile
blob: 8c91be2c10e3b039b6eb7baf40ff35bdb015ab2b (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
# Created by: Otacilio de Araujo Ramos Neto <otacilio.neto@bsd.com.br>
# $FreeBSD$

PORTNAME=   flexdock
PORTVERSION=    1.2.4
CATEGORIES= devel java
MASTER_SITES=   http://forge.scilab.org/index.php/p/${PORTNAME}/downloads/get/

MAINTAINER= makc@FreeBSD.org
COMMENT=    Swing windowing and docking framework

USE_ANT=    yes
USE_JAVA=   yes

ALL_TARGET= dist

PLIST_FILES=    ${JAVAJARDIR:C^${PREFIX}/^^}/${PORTNAME}.jar
PORTDOCS=   "User Guide.pdf" api

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/build/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>