1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/graphics/jdraw/Makefile

44 lines
1.0 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= jdraw
PORTVERSION= 1.1.5
PORTREVISION= 2
CATEGORIES= graphics java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME= ${PORTNAME}_v${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= nivit@FreeBSD.org
COMMENT= A pixel oriented graphics editor
NO_BUILD= yes
USE_JAVA= yes
OPTIONS_DEFINE= PLASTIC3D
OPTIONS_DEFAULT= PLASTIC3D
PLASTIC3D_DESC= Use Plastic3DLook&Feel
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}
SUB_LIST= JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
JDRAWJAR= ${DATADIR}/${DISTFILES}
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPLASTIC3D}
PLASTIC3D= "-Dlf=\"com.jgoodies.looks.plastic.Plastic3DLookAndFeel\""
RUN_DEPENDS+= ${JAVAJARDIR}/looks.jar:${PORTSDIR}/devel/looks
.endif
JAVA_VERSION= 1.6+
.include <bsd.port.mk>