aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/dmachine/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/ftp/dmachine/Makefile b/ftp/dmachine/Makefile
index bdb32681916a..6f37fb0d0b90 100644
--- a/ftp/dmachine/Makefile
+++ b/ftp/dmachine/Makefile
@@ -7,24 +7,23 @@ CATEGORIES= ftp java
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
-COMMENT= A non interactive, non graphical, batch download manager
+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
-NO_STAGE= yes
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
+ ${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>