d8e3e1715e
Noticed by: bento via kris
37 lines
906 B
Makefile
37 lines
906 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: dmachine
|
|
# Date Created: Dec 15, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dmachine
|
|
PORTVERSION= 0.19
|
|
PORTREVISION= 1
|
|
CATEGORIES= ftp
|
|
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
|
|
|
|
USE_JAVA= 1.1+
|
|
NEED_JAVAC= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
ALL_TARGET= dmachine
|
|
MAKE_ARGS= JAVAC=${JAVAC}
|
|
|
|
do-install:
|
|
@${SED} 's|%%DATADIR%%|${DATADIR}|' ${FILESDIR}/dmachine > ${WRKSRC}/dmachine
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dmachine ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.class ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/../dmachine.cnf ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|