2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2006-07-06 19:47:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jdraw
|
2006-07-11 22:23:11 +02:00
|
|
|
PORTVERSION= 1.1.5
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2006-07-06 19:47:02 +02:00
|
|
|
CATEGORIES= graphics java
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
|
2006-07-06 19:47:02 +02:00
|
|
|
DISTNAME= ${PORTNAME}_v${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .jar
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Pixel oriented graphics editor
|
2006-07-06 19:47:02 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= PLASTIC3D
|
|
|
|
OPTIONS_DEFAULT= PLASTIC3D
|
|
|
|
PLASTIC3D_DESC= Use Plastic3DLook&Feel
|
2006-07-06 19:47:02 +02:00
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= ${PORTNAME}
|
2006-07-11 22:23:11 +02:00
|
|
|
SUB_LIST= JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
|
2006-07-06 19:47:02 +02:00
|
|
|
|
|
|
|
JDRAWJAR= ${DATADIR}/${DISTFILES}
|
|
|
|
|
|
|
|
do-install:
|
2014-06-16 11:38:47 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2006-07-06 19:47:02 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-07-06 19:47:02 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MPLASTIC3D}
|
2006-07-06 19:47:02 +02:00
|
|
|
PLASTIC3D= "-Dlf=\"com.jgoodies.looks.plastic.Plastic3DLookAndFeel\""
|
|
|
|
RUN_DEPENDS+= ${JAVAJARDIR}/looks.jar:${PORTSDIR}/devel/looks
|
|
|
|
.endif
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2006-07-06 19:47:02 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.mk>
|