diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
commit | fb3520254ab73be0aad04c3a63b781750cf26b5b (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /graphics/jdraw | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) |
- Convert to OptionsNG
- Trim header
Reviewed by: beat, bapt, kwm
Notes
Notes:
svn path=/head/; revision=313460
Diffstat (limited to 'graphics/jdraw')
-rw-r--r-- | graphics/jdraw/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/jdraw/Makefile b/graphics/jdraw/Makefile index fc71d4142bf1..deaad307b137 100644 --- a/graphics/jdraw/Makefile +++ b/graphics/jdraw/Makefile @@ -16,7 +16,9 @@ COMMENT= A pixel oriented graphics editor NO_BUILD= yes USE_JAVA= yes -OPTIONS= PLASTIC3D "Use Plastic3DLook&Feel" on +OPTIONS_DEFINE= PLASTIC3D +OPTIONS_DEFAULT= PLASTIC3D +PLASTIC3D_DESC= Use Plastic3DLook&Feel DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= ${PORTNAME} @@ -29,12 +31,12 @@ do-install: ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_PLASTIC3D) +.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.post.mk> +.include <bsd.port.mk> |