aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/dmachine/Makefile
blob: bf21f9983e5ec6d6b3e97cdbffd879d88377311a (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
# ex:ts=8
# Ports collection makefile for:    dmachine
# Date Created:         Dec 15, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

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

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

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

USE_JAVA=   yes
NO_BUILD=   yes
SUB_FILES=  dmachine.sh

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/dmachine.sh ${PREFIX}/bin/dmachine
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/dmachine-${PORTVERSION}.jar ${PREFIX}/share/java/classes/dmachine.jar
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/dmachine.cnf ${DOCSDIR}
.endif

.include <bsd.port.mk>