Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 14:50:28 GMT
From:      nivit@email.it (Nicola Vitale)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/95895: [NEW PORT] graphics/jdraw: A pixel oriented graphics editor
Message-ID:  <200604281450.k3SEoS1R055921@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/95895; it has been noted by GNATS.

From: nivit@email.it (Nicola Vitale)
To: bug-followup@FreeBSD.org
Cc: Nicola Vitale <nivit@email.it>
Subject: Re: ports/95895: [NEW PORT] graphics/jdraw: A pixel oriented graphics editor
Date: Fri, 28 Apr 2006 16:43:54 +0200

 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604281450.k3SEoS1R055921>