Muhammad Moinur Rahman ac7a7d6fe1
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.

Thanks to vvd for carefully going through this.

Reported by:	vvd
Approved by:	portmgr (blanket)
2024-12-31 15:39:30 +01:00

25 lines
642 B
Makefile

PORTNAME= jbidwatcher
PORTVERSION= 2.5.6
PORTREVISION= 2
CATEGORIES= misc java
MASTER_SITES= http://www.jbidwatcher.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Java-based application allowing you to monitor eBay auctions
WWW= https://www.jbidwatcher.com/
USES= java:ant,run tar:bzip2
ALL_TARGET= jar
SUB_FILES= jbidwatcher
SUB_LIST+= PORTVERSION=${PORTVERSION}
PLIST_FILES= %%JAVAJARDIR%%/JBidwatcher-${PORTVERSION}.jar \
bin/${PORTNAME}
do-install:
@${INSTALL_DATA} ${WRKSRC}/JBidwatcher-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>