aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-02-08 22:47:58 +0800
committerdanilo <danilo@FreeBSD.org>2014-02-08 22:47:58 +0800
commit99c188a381aec97aa9e05ee01a0811a3ff6747c5 (patch)
tree2f58b44ebc8d2c3341a8b199d8487f92c4cd5e0c /ftp
parent90c9d83effa77e040cd25f27b94694cc2a9d7a92 (diff)
downloadfreebsd-ports-gnome-99c188a381aec97aa9e05ee01a0811a3ff6747c5.tar.gz
freebsd-ports-gnome-99c188a381aec97aa9e05ee01a0811a3ff6747c5.tar.zst
freebsd-ports-gnome-99c188a381aec97aa9e05ee01a0811a3ff6747c5.zip
- Remove the indefinite article from COMMENT
- Add DOCS option - Add stage support
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>