1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/sysutils/jdiskreport/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: jdiskreport
# Date created: 26th May 2003
# Whom: jon@witchspace.com
#
# $FreeBSD$
#
PORTNAME= jdiskreport
PORTVERSION= 1.3.0
PORTREVISION= 2
CATEGORIES= sysutils java
MASTER_SITES= http://www.jGoodies.com/download/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION:S,.,_,g}
MAINTAINER= jon@witchspace.com
COMMENT= Java program to graphically display disk usage statistics
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.5
PLIST_SUB= JDISKDIR=${JDISKDIR:S,${PREFIX}/,,g}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
JAVAVM?= ${LOCALBASE}/bin/java
JDISKDIR?= ${PREFIX}/lib/jdiskreport
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 ${PREFIX}/bin
-@${MKDIR} ${JDISKDIR}
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/jdiskreport-${PORTVERSION}.jar ${JDISKDIR}
.include <bsd.port.mk>