- Remove the indefinite article from COMMENT
- Add DOCS option - Add stage support
This commit is contained in:
parent
852451d54e
commit
8bd9efa5cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343346
1 changed files with 10 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue