mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
5a52a08234
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D22342
37 lines
981 B
Makefile
37 lines
981 B
Makefile
# Created by: jon@witchspace.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jdiskreport
|
|
DISTVERSION= 1_4_1
|
|
CATEGORIES= sysutils java
|
|
MASTER_SITES= http://www.jGoodies.com/download/${PORTNAME}/
|
|
|
|
MAINTAINER= jon@witchspace.com
|
|
COMMENT= Java program to graphically display disk usage statistics
|
|
|
|
USES= zip
|
|
USE_JAVA= YES
|
|
|
|
PLIST_SUB= JDISKDIR=${JDISKDIR:S,${PREFIX}/,,g}
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
JAVAVM?= ${LOCALBASE}/bin/java
|
|
JDISKDIR?= ${PREFIX}/lib/jdiskreport
|
|
|
|
DESKTOP_ENTRIES="JDiskReport" "${COMMENT}" "" "jdiskreport" \
|
|
"System;Filesystem;" false
|
|
|
|
do-build:
|
|
@cd ${WRKDIR}
|
|
@${SED} -e 's,%%JDISKDIR%%,${JDISKDIR},g' \
|
|
-e 's,%%PORTVERSION%%,${PORTVERSION},g' \
|
|
-e 's,%%JAVAVM%%,${JAVAVM},g' ${FILESDIR}/jdiskreport.sh \
|
|
> ${WRKDIR}/jdiskreport
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/jdiskreport ${STAGEDIR}${PREFIX}/bin
|
|
-@${MKDIR} ${STAGEDIR}${JDISKDIR}
|
|
@${INSTALL_DATA} ${WRKSRC:S|_|.|g}/jdiskreport-${PORTVERSION}.jar \
|
|
${STAGEDIR}${JDISKDIR}
|
|
|
|
.include <bsd.port.mk>
|