Bug 95895 - [NEW PORT] graphics/jdraw: A pixel oriented graphics editor
Summary: [NEW PORT] graphics/jdraw: A pixel oriented graphics editor
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-16 21:00 UTC by Nicola Vitale
Modified: 2006-07-06 18:46 UTC (History)
0 users

See Also:


Attachments
jdraw-1.1.4.shar (2.88 KB, text/plain)
2006-04-16 21:00 UTC, Nicola Vitale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Vitale 2006-04-16 21:00:33 UTC
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

Generated with FreeBSD Port Tools 0.63
Comment 1 Nicola Vitale 2006-04-28 15:43:54 UTC
New shar archive: use javawrapper

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jdraw
#	jdraw/pkg-descr
#	jdraw/Makefile
#	jdraw/pkg-plist
#	jdraw/distinfo
#	jdraw/files
#	jdraw/files/jdraw.in
#
echo c - jdraw
mkdir -p jdraw > /dev/null 2>&1
echo x - jdraw/pkg-descr
sed 's/^X//' >jdraw/pkg-descr << 'END-of-jdraw/pkg-descr'
XJDraw is a pixel oriented graphics editor designed especially for small
Xto medium-sized pictures used to decorate web pages. It is completely
Xwritten in Java, simple to use and saves (animated) GIFs, ICOs and PNGs.
X
XAuthor:	jdomain@users.sourceforge.net
XWWW:	http://www.j-domain.de/homepage.php?page=20
END-of-jdraw/pkg-descr
echo x - jdraw/Makefile
sed 's/^X//' >jdraw/Makefile << 'END-of-jdraw/Makefile'
X# New ports collection makefile for:	jdraw
X# Date created:		2006-04-15
X# Whom:			Nicola Vitale	<nivit@email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jdraw
XPORTVERSION=	1.1.4
XCATEGORIES=	graphics java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}_v${PORTVERSION}
XEXTRACT_SUFX=	.jar
XEXTRACT_ONLY=
X
XMAINTAINER=	nivit@email.it
XCOMMENT=	A pixel oriented graphics editor
X
XNO_BUILD=	yes
XUSE_JAVA=	yes
X
XOPTIONS=	PLASTIC3D "Use Plastic3DLook&Feel" on
X
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
XSUB_FILES=	${PORTNAME}
XSUB_LIST=	JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
X
XJDRAWJAR=	${DATADIR}/${DISTFILES}
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_PLASTIC3D)
XPLASTIC3D=	"-Dlf=\"com.jgoodies.looks.plastic.Plastic3DLookAndFeel\""
XJAVA_VERSION=	1.5+
XRUN_DEPENDS+=	${JAVAJARDIR}/looks.jar:${PORTSDIR}/devel/looks
X.else
XJAVA_VERSION=	1.4+
X.endif
X
X.include <bsd.port.post.mk>
END-of-jdraw/Makefile
echo x - jdraw/pkg-plist
sed 's/^X//' >jdraw/pkg-plist << 'END-of-jdraw/pkg-plist'
X@comment $FreeBSD$
Xbin/jdraw
X%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.4.jar
X@dirrm %%JAVASHAREDIR%%/jdraw
END-of-jdraw/pkg-plist
echo x - jdraw/distinfo
sed 's/^X//' >jdraw/distinfo << 'END-of-jdraw/distinfo'
XMD5 (jdraw_v1.1.4.jar) = ad8942da9873ddea09094245cd820c02
XSHA256 (jdraw_v1.1.4.jar) = c59d46942d25535d1581ee8d5091f8dd4679559bdc81aba7a078c4460859cd7e
XSIZE (jdraw_v1.1.4.jar) = 672892
END-of-jdraw/distinfo
echo c - jdraw/files
mkdir -p jdraw/files > /dev/null 2>&1
echo x - jdraw/files/jdraw.in
sed 's/^X//' >jdraw/files/jdraw.in << 'END-of-jdraw/files/jdraw.in'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ -z "${JAVA_VERSION}" ]; then
X	JAVA_VERSION="%%JAVA_VERSION%%"
Xfi
X
Xif [ "${JAVA_VERSION}" \> "1.4" ]; then
X	LOOK_AND_FEEL="%%PLASTIC3D%%"
Xelse
X	LOOK_AND_FEEL=
Xfi
X
Xexec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"
END-of-jdraw/files/jdraw.in
exit
Comment 2 Nicola Vitale 2006-05-03 21:41:42 UTC
- Update to 1.1.5

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jdraw
#	jdraw/pkg-descr
#	jdraw/Makefile
#	jdraw/pkg-plist
#	jdraw/distinfo
#	jdraw/files
#	jdraw/files/jdraw.in
#
echo c - jdraw
mkdir -p jdraw > /dev/null 2>&1
echo x - jdraw/pkg-descr
sed 's/^X//' >jdraw/pkg-descr << 'END-of-jdraw/pkg-descr'
XJDraw is a pixel oriented graphics editor designed especially for small
Xto medium-sized pictures used to decorate web pages. It is completely
Xwritten in Java, simple to use and saves (animated) GIFs, ICOs and PNGs.
X
XAuthor:	jdomain@users.sourceforge.net
XWWW:	http://www.j-domain.de/homepage.php?page=20
END-of-jdraw/pkg-descr
echo x - jdraw/Makefile
sed 's/^X//' >jdraw/Makefile << 'END-of-jdraw/Makefile'
X# New ports collection makefile for:	jdraw
X# Date created:		2006-04-15
X# Whom:			Nicola Vitale	<nivit@email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jdraw
XPORTVERSION=	1.1.5
XCATEGORIES=	graphics java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}_v${PORTVERSION}
XEXTRACT_SUFX=	.jar
XEXTRACT_ONLY=
X
XMAINTAINER=	nivit@email.it
XCOMMENT=	A pixel oriented graphics editor
X
XNO_BUILD=	yes
XUSE_JAVA=	yes
X
XOPTIONS=	PLASTIC3D "Use Plastic3DLook&Feel" on
X
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
XSUB_FILES=	${PORTNAME}
XSUB_LIST=	JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
X
XJDRAWJAR=	${DATADIR}/${DISTFILES}
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_PLASTIC3D)
XPLASTIC3D=	"-Dlf=\"com.jgoodies.looks.plastic.Plastic3DLookAndFeel\""
XJAVA_VERSION=	1.5+
XRUN_DEPENDS+=	${JAVAJARDIR}/looks.jar:${PORTSDIR}/devel/looks
X.else
XJAVA_VERSION=	1.4+
X.endif
X
X.include <bsd.port.post.mk>
END-of-jdraw/Makefile
echo x - jdraw/pkg-plist
sed 's/^X//' >jdraw/pkg-plist << 'END-of-jdraw/pkg-plist'
X@comment $FreeBSD$
Xbin/jdraw
X%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.5.jar
X@dirrm %%JAVASHAREDIR%%/jdraw
END-of-jdraw/pkg-plist
echo x - jdraw/distinfo
sed 's/^X//' >jdraw/distinfo << 'END-of-jdraw/distinfo'
XMD5 (jdraw_v1.1.5.jar) = 16282b9a7863cf5660451327334bde12
XSHA256 (jdraw_v1.1.5.jar) = 4bc17505ee86644789e6d93ee6ebdfb5de0e4e4f4b7f63e4c83ffcd49d78d284
XSIZE (jdraw_v1.1.5.jar) = 705527
END-of-jdraw/distinfo
echo c - jdraw/files
mkdir -p jdraw/files > /dev/null 2>&1
echo x - jdraw/files/jdraw.in
sed 's/^X//' >jdraw/files/jdraw.in << 'END-of-jdraw/files/jdraw.in'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ -z "${JAVA_VERSION}" ]; then
X	JAVA_VERSION="%%JAVA_VERSION%%"
Xfi
X
Xif [ "${JAVA_VERSION}" \> "1.4" ]; then
X	LOOK_AND_FEEL="%%PLASTIC3D%%"
Xelse
X	LOOK_AND_FEEL=
Xfi
X
Xexec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"
END-of-jdraw/files/jdraw.in
exit
Comment 3 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-01 09:49:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

I'll take it.
Comment 4 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-06 18:46:49 UTC
State Changed
From-To: open->closed

New port added. Thanks!