mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
9b2d57aa06
PR: ports/100105 Submitted by: maintainer
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: jdraw
|
|
# Date created: 2006-04-15
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jdraw
|
|
PORTVERSION= 1.1.5
|
|
CATEGORIES= graphics java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}_v${PORTVERSION}
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= nivit@email.it
|
|
COMMENT= A pixel oriented graphics editor
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA= yes
|
|
|
|
OPTIONS= PLASTIC3D "Use Plastic3DLook&Feel" on
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
SUB_FILES= ${PORTNAME}
|
|
SUB_LIST= JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
|
|
|
|
JDRAWJAR= ${DATADIR}/${DISTFILES}
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_PLASTIC3D)
|
|
PLASTIC3D= "-Dlf=\"com.jgoodies.looks.plastic.Plastic3DLookAndFeel\""
|
|
JAVA_VERSION= 1.5+
|
|
RUN_DEPENDS+= ${JAVAJARDIR}/looks.jar:${PORTSDIR}/devel/looks
|
|
.else
|
|
JAVA_VERSION= 1.4+
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|