JDraw is a pixel oriented graphics editor designed especially for small

to medium-sized pictures used to decorate web pages. It is completely
written in Java, simple to use and saves (animated) GIFs, ICOs and PNGs.

Author:	jdomain@users.sourceforge.net
WWW:	http://www.j-domain.de/homepage.php?page=20

PR:		ports/95895
Submitted by:	Nicola Vitale	<nivit at email.it>
This commit is contained in:
Ion-Mihai Tetcu 2006-07-06 17:47:02 +00:00
parent 26d33e9388
commit 2635344162
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167069
6 changed files with 69 additions and 0 deletions

View File

@ -272,6 +272,7 @@
SUBDIR += jalbum
SUBDIR += jasper
SUBDIR += jbigkit
SUBDIR += jdraw
SUBDIR += jgraph
SUBDIR += jgv
SUBDIR += jhead

46
graphics/jdraw/Makefile Normal file
View File

@ -0,0 +1,46 @@
# New ports collection makefile for: jdraw
# Date created: 2006-04-15
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= jdraw
PORTVERSION= 1.1.4
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=${JAVA} JAVAJARDIR=${JAVAJARDIR} 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>

3
graphics/jdraw/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (jdraw_v1.1.4.jar) = ad8942da9873ddea09094245cd820c02
SHA256 (jdraw_v1.1.4.jar) = c59d46942d25535d1581ee8d5091f8dd4679559bdc81aba7a078c4460859cd7e
SIZE (jdraw_v1.1.4.jar) = 672892

View File

@ -0,0 +1,9 @@
#!/bin/sh
# $FreeBSD$
if [ -z "$1" ]; then
LOOK_AND_FEEL="%%PLASTIC3D%%"
else
LOOK_AND_FEEL="$1"
fi
%%JAVA%% -cp %%JAVAJARDIR%% ${LOOK_AND_FEEL} -jar %%JDRAWJAR%%

6
graphics/jdraw/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
JDraw is a pixel oriented graphics editor designed especially for small
to medium-sized pictures used to decorate web pages. It is completely
written in Java, simple to use and saves (animated) GIFs, ICOs and PNGs.
Author: jdomain@users.sourceforge.net
WWW: http://www.j-domain.de/homepage.php?page=20

4
graphics/jdraw/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
@comment $FreeBSD$
bin/jdraw
%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.4.jar
@dirrm %%JAVASHAREDIR%%/jdraw