aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/dmachine/Makefile
blob: 6f37fb0d0b9068f6f9fca220c2c438122fb3ca9c (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   dmachine
PORTVERSION=    0.24
CATEGORIES= ftp java
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Non interactive, non graphical, batch download manager

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper

OPTIONS_DEFINE= DOCS

USE_JAVA=   yes
NO_BUILD=   yes
SUB_FILES=  dmachine.sh

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/dmachine.sh ${STAGEDIR}${PREFIX}/bin/dmachine
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/dmachine-${PORTVERSION}.jar ${STAGEDIR}${PREFIX}/share/java/classes/dmachine.jar
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/dmachine.cnf ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>