mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
2ab047d154
PR: ports/73014 Submitted by: Peter Hofer
36 lines
809 B
Makefile
36 lines
809 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ganttproject
|
|
# Date created: Jul 6, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ganttproject
|
|
PORTVERSION= 1.10.1
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= -src.zip
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Plan projects using a Gantt chart
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
USE_ANT= yes
|
|
JAVA_RUN= yes
|
|
|
|
PLIST_FILES= bin/ganttproject %%JAVAJARDIR%%/ganttproject.jar
|
|
|
|
post-patch:
|
|
@${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},; \
|
|
s,%%JAVA%%,${JAVA},' ${FILESDIR}/${PORTNAME} > ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|