1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/ftp/dmachine/Makefile
Herve Quiroz 08ea4d35a4 - Update to 0.22 [1]
- Add 'java' category

PR:		79303 [1]
Submitted by:	Radim Kolar <hsn@netmag.cz> [1]
2005-04-02 22:53:13 +00:00

39 lines
932 B
Makefile

# ex:ts=8
# Ports collection makefile for: dmachine
# Date Created: Dec 15, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= dmachine
PORTVERSION= 0.22
CATEGORIES= ftp java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= A non interactive, non graphical, batch download manager
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
ALL_TARGET= dmachine
MAKE_ARGS= JAVAC="${JAVAC}"
SUB_FILES= dmachine.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/dmachine.sh ${PREFIX}/bin/dmachine
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.class ${DATADIR}
.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>